From bbbbfd257b8f4ac7a4cc98ab92054e9fb1997f16 Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Sat, 9 Apr 2022 18:26:32 +0200 Subject: [PATCH] Auto saved by Logseq --- agora speed.md | 3 ++- journal/2022_04_09.md | 12 +++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/agora speed.md b/agora speed.md index d1a911f46..bd9028c82 100644 --- a/agora speed.md +++ b/agora speed.md @@ -3,4 +3,5 @@ - As of right now, very often the Agora takes almost 10s (!) to load some pages, particularly when under load. There's a variety of reasons this happens -- I could write about them here but right now I'd rather just go ahead and try to fix them ;) - Doing pomodoros today, [[2022-03-20]], to try to address this issue. - When starting benchmarking, dev.anagora.org/do is regularly taking 3.7s to load (measured with [[time curl]]). In production this is often longer, but this seems like a good test node (because of the amount of pushes it has, which I think is related to the slowdown). - - The *first* load after restarting the dev server is often 10s, which is closer to what we'd see in prod (because it needs to load+process the whole Agora graph). \ No newline at end of file + - The *first* load after restarting the dev server is often 10s, which is closer to what we'd see in prod (because it needs to load+process the whole Agora graph). + - \ No newline at end of file diff --git a/journal/2022_04_09.md b/journal/2022_04_09.md index cb6f1d193..ffa707335 100644 --- a/journal/2022_04_09.md +++ b/journal/2022_04_09.md @@ -28,11 +28,13 @@ - When it's light, it's the next day for her; she might not understand that [[dawn]] shifts from season to season? - [[twitter dall-e]] - [[doing laundry]] -- [[scaling]] must happen - - NOW hmm, but there is [[low hanging fruit]]: the per-worker cache should not all expire in unison (!) - :LOGBOOK: - CLOCK: [2022-04-09 Sat 17:52:37] - :END: +- #push [[agora speed]] + - [[scaling]] must happen + - NOW hmm, but there is [[low hanging fruit]]: the per-worker cache should not all expire in unison (!) + :LOGBOOK: + CLOCK: [2022-04-09 Sat 17:52:37] + :END: + - also I wasn't caching calls to G.node() (?). - [[daniel dennett]] - ethical [[almanac]] - #push [[agora server]]