postalserver / docs

📚 Documentation for the Postal mail server!
https://docs.postalserver.io
135 stars 59 forks source link

Web container performance about #56

Closed brkcnbz closed 6 months ago

brkcnbz commented 6 months ago

I’m testing Postal on a 16-core, 16GB memory Ubuntu 22.04 Docker host. I can reduce the queue side by increasing the number of workers, but during this time the web container can’t handle the load and tracking URLs and such become inoperable. I’ve also made performance improvements on the MySQL side. Additionally, I’ve tried with webhook both open and closed, but the CPU on the web side becomes 100% and it becomes unresponsive. Is there a way to distribute the load here or increase performance on the web side?

Additionally, I receive mail requests via the API.

willpower232 commented 6 months ago

This isn't a docs issue but you could juggle some ports to have a plural of web containers probably presuming you haven't added too many workers and still have some resources available.

Do open a discussion in the main Postal repo with whatever you find out next.