Meilleures configurations pour accélérer le discours autonome

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?

2 « J'aime »

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! :sweat_smile:

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

2 « J'aime »

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 message a été fusionné dans un sujet existant : Plugin de notifications Telegram (discourse-telegram-notifications)

Quelle est la source des 502 ? Pas assez de workers unicorn ? Nous venons de changer de serveur et les utilisateurs signalent des 502 occasionnels après le changement. Nous avons un serveur 6C/16Go, et nous avons réglé unicorn_workers à 16 (avant le changement de serveur, il était à 12), db_shared_buffer à 4Go, db_work_mem à 60Mo.

Est-ce qu’avoir trop de workers unicorn pourrait causer des 502 ? (spéculation car nous en avions 4 de moins avant la migration du serveur)

J’essaie de voir si c’est la configuration que nous devons ajuster ou autre chose à régler.

Merci.

Oui, cela semble élevé. Réglez vos workers unicorn entre 1 et 2 par cœur.
Pour 6 cœurs, cela ne devrait pas dépasser 12. Compte tenu de votre buffer partagé assez important et de mon intuition, je le réglerais à environ 10 avec de telles spécifications de serveur.

2 « J'aime »