Yep, I see...
just we can use shared dictionary using its methods and it will be atomic and thread safe for all of workers...
thanks a lot...
Best,
Hadi
On Wednesday, August 28, 2019 at 3:14:57 PM UTC+4:30, Kostya Y wrote:
just make sure you use the helper functions and not work with it like a regular table.
On Tuesday, August 27, 2019 at 1:57:22 PM UTC+3, Hadi Abbasi wrote:
yeah,it's OK!!!
nginx shared_Dict is atomic between all workers!
On Sunday, April 28, 2019 at 12:20:36 PM UTC+4:30, Hadi Abbasi wrote:
Hey friends...
I wanna set:
worker_processes = the number of server cpu cores!
and also :
worker_rlimit_nofile = worker_connections = 65536
but I don't know if setting worker_processes can really help my cdn to be faster than worker_processes=1?
and if nginx shared_dictionary and all shared and concurrent tools and Processes are auto-managed by worker_processes more than 1?
just I want two yes answers to set it!
thanks a lot...
good luck...