arut / nginx-python-module

Nginx Python Module
BSD 2-Clause "Simplified" License
137 stars 36 forks source link

Is this module multi-core ? #5

Closed mohammadhzp closed 5 years ago

mohammadhzp commented 6 years ago

Hello

I couldn't understand how this module work when I start nginx, I also don't know how nginx work internally.

Does this module uses all available cores or it just uses one core ?

I don't think It uses one core since I tried to log pid of running python(I used python_include directive) and I received two pids, but it didn't make any sense to me because it's neither one process(so there is a chance it's not limited to one core) nor processes are as much as the number of worker processes

Thank you