The queuing means you can do with more web workers
Additionally your median times look pretty high, can you get this on a faster CPU?
The queuing means you can do with more web workers
Additionally your median times look pretty high, can you get this on a faster CPU?
Unfortunately, even if the reason for the slowness is this plugin, I must say that this plugin is one of the main plugins of our community and can not be removed from us in any way, and users become heavily depended on it! ![]()
We currently use 24 web workers. Our Discourse is installed on a VM with 24 CPU cores with 2 GHz processing power and 24 GB of RAM. Unfortunately, it is not possible to change the main server now, unless we have no other way to improve performance.
Do you think that in the current situation, increasing the number of web workers can help to improve performance?
More web workers may reduce the queueing
You are trying to eliminate the orange lines from the active web request graph
Performance though will not get any better for your typical median request
Thanks, I understand now. So by looking at the graphs we can see if the number of web workers is enough or not enough for the system.
But according to you, to improve the speed and performance, we now need higher processing power and changing the parameters will not help more.
Be sure to test this at the earliest opportunity and inform the result.
Un post è stato unito a un argomento esistente: Telegram Notifications Plugin (discourse-telegram-notifications)
Qual è la causa dei 502? Non ci sono abbastanza unicorn workers? Abbiamo appena spostato i server e gli utenti hanno segnalato occasionali 502 dopo lo spostamento. Abbiamo un server 6C/16GB e abbiamo impostato unicorn_workers a 16 (prima dello spostamento del server era a 12), db_shared_buffer a 4GB, db_work_mem a 60MB.
Avere troppi unicorn workers potrebbe causare 502? (ipotizzando dato che ne avevamo 4 in meno prima della migrazione del server)
Sto cercando di capire se è la configurazione che dobbiamo modificare o qualcos’altro a cui dobbiamo prestare attenzione.
Grazie.
Sì, sembra alto. Imposta i tuoi unicorn workers tra 1 e 2 per core.
Per 6 core, non dovrebbe essere più di 12. Considerando il tuo buffer condiviso piuttosto grande e la mia sensazione istintiva, lo imposterei a circa 10 con tali specifiche del server.