Post AIqiIJGr5IIIOq599M by trumpet@mas.to
(DIR) More posts by trumpet@mas.to
(DIR) Post #AIouSEbi5ZC7xuPqGu by stux@mstdn.social
2022-04-25T21:28:34Z
0 likes, 0 repeats
Added 5 more worker processes with 15 threads each extra for web UI 🧅
(DIR) Post #AIox11t9ZHsGYxIHmy by stux@mstdn.social
2022-04-25T21:57:14Z
0 likes, 0 repeats
@oklomsy @jonas Oh sorry guys! :catblush: Well, that was/is still a difficult process.. there are some guidelines on what to scale but most is guessing work! There's not really a good math formular unfort.. I wish! But for example, I scale the amount of "workers" for the web UI so more ppl can connect, upscale DB connections and add more sidekiq workers to process more stuff
(DIR) Post #AIoxw9HMlMF5zSr7dw by jonas@social.evilcyberhacker.net
2022-04-25T22:06:10Z
0 likes, 0 repeats
@stux does mstdn.social use multiple hosts you actually manually configure, is it still just one, or do you use some sort of cloud service?
(DIR) Post #AIoy5fvUkauRqmAV6W by stux@mstdn.social
2022-04-25T22:09:20Z
0 likes, 0 repeats
@jonas I did try multiple servers but eventually I came back to one bigger :blobcatgiggle: Multiple smaller nodes would also do the trick!
(DIR) Post #AIqiIJGr5IIIOq599M by trumpet@mas.to
2022-04-26T18:21:43Z
0 likes, 0 repeats
@stux What's your total service/process/thread count now? My streaming server has absolutely died, getting 502 errors now. Bringing the number of processes up but not really helping.
(DIR) Post #AIqiyrHn0WUk3eo8qu by stux@mstdn.social
2022-04-26T18:29:27Z
0 likes, 1 repeats
@trumpet Don't forget yo increase the database connection amount via Pgbouncer! :ablobwink:​Also, we have various workers see screenshot:
(DIR) Post #AIqjAHRA7OfoLkdcky by trumpet@mas.to
2022-04-26T18:31:17Z
0 likes, 0 repeats
@stux I've not had to install pgBouncer yet and maybe I've reached that point!
(DIR) Post #AIqjNzta8OSg02TK40 by mew@arcane.town
2022-04-26T18:32:50.756Z
0 likes, 0 repeats
@trumpet@mas.to @stux@mstdn.social pgBouncer will help a lot !
(DIR) Post #AIqjO0aTYuly94XZvE by stux@mstdn.social
2022-04-26T18:34:00Z
0 likes, 0 repeats
@mew @trumpet Please do indeed! :blobcathearts:​ Also better for serverload, it disables prepared statements with queries! :blobcatgiggle:​https://docs.joinmastodon.org/admin/scaling/