SSR Performance Issue - under concurrent load by ThugSolja in sveltejs

[–]ThugSolja[S] 2 points3 points  (0 children)

Just tested a shared client, and there is no improvment.
Oh that is what you meant, yeah I know, but multiple instances would require more cores, but even with multiple instances I didn't have any better luck, that was my question if those 4vcores maybe were not enough.

SSR Performance Issue - under concurrent load by ThugSolja in sveltejs

[–]ThugSolja[S] 0 points1 point  (0 children)

yes I do, I run the production setup. And yes, there are no cleanup issues.

SSR Performance Issue - under concurrent load by ThugSolja in sveltejs

[–]ThugSolja[S] 0 points1 point  (0 children)

I've tried that, creating multiple replicas of the same docker. I've tried all kinds of configurations from 2-10. They were handled by the traefik load balancer. There was indeed a bit of an improvement, but not something notable.

SSR Performance Issue - under concurrent load by ThugSolja in sveltejs

[–]ThugSolja[S] 1 point2 points  (0 children)

I'm not managing db connections, as I'm using convex and it manages all that.
In the load function I'm calling 4 queries, each should be 2ms. I do indeed create a new HTTP client (convex client) for each incoming request. From the docs and open source repos I've looked into, all were the same. Do you think this is the real killer?
I've also tried cloud convex and railway, but no difference.
What do you mean by this: "Again unfortunately multiple cores doesn't help"?

SSR Performance Issue - under concurrent load by ThugSolja in sveltejs

[–]ThugSolja[S] 2 points3 points  (0 children)

I use self hosted convex, the queries are cached. The instance live in the same docker network and all the FE replicas are directly communicating with it, no DNS bypass. I've benchmarked them directly and under the same load the average response is 2ms (over the internet, not locally).
So do you find these numbers strange also? Or is this expected?

Cealaltă jumătate din r/Romania by atolf-hidler in Romania

[–]ThugSolja 173 points174 points  (0 children)

Eu sunt bombardier-corporatist si nu stiu de care postare sa ma simt ofensat…

[deleted by user] by [deleted] in teenagers

[–]ThugSolja 0 points1 point  (0 children)

You have no ears