Default commit message, part of an automated flow.

This commit is contained in:
2021-08-14 15:31:31 +02:00
parent af6c7c36ca
commit b3e286dcc8
+6
View File
@@ -3,4 +3,10 @@
- search currently happens in every node, and it's full text search. this is very costly, I knew when adding it but it was just too convenient. - search currently happens in every node, and it's full text search. this is very costly, I knew when adding it but it was just too convenient.
- today on [[2021-08-14]] I'll try to fix this by making search be an async action: search only triggers when users reach the bottom of the page or request searching explicitly. - today on [[2021-08-14]] I'll try to fix this by making search be an async action: search only triggers when users reach the bottom of the page or request searching explicitly.
- this will have the nice side effect of making the agora cheap by default when servicing bot requests, which probably won't run the javascript that is needed to retrieve search. - this will have the nice side effect of making the agora cheap by default when servicing bot requests, which probably won't run the javascript that is needed to retrieve search.
- initial testing with `ab` (I know, old school)
- `ab -n 100 -c 10 https://1.anagora.org/index`
- ~10 seconds overall, 50% ~0.6 seconds, 99% ~2 seconds
- on localhost (dev instance) the 99% goes up to 50-60 seconds, there are clear hangs.
- testing after disabling full text search:
- on localhost (dev instance) the 99% goes down to 3-6s (!). as expected, but nice to see.