osstech-jp / nginx-mod-am

OpenAM Policy Agent for NGINX
16 stars 11 forks source link

Only one worker process supported because multi process mode does not work notification from OpenAM. #3

Open sharma-manish opened 9 years ago

sharma-manish commented 9 years ago

Is there any plan to fix this issue in near future? This issue prevents usage of this agent in production scenarios.

sharma-manish commented 9 years ago

@hamano , is this project dead?

hamano commented 9 years ago

Sorry. I had overlooked the issue. Originally I had planned a multi-process support. However, NGINX to work pretty quickly with one process, so It was enough in a production environment. I'm feeling no need to implement multiprocess now stand. Thank you.

hamano commented 9 years ago

And also multiprocess will work reasonably well using shared memory. It is not perfect, but It will work with same of apache agent quality level. Please try it.

dj-thd commented 8 years ago

NGINX works well with one process, but for high performance environments is not enough, multiprocess is mandatory for these kind of environments. What kind of issue prevents the use of multiprocess nginx? I could try to help if neccessary.

hamano commented 8 years ago

Probablly, multiprocess will works, but I have not tested. The main prevents is that testing is troblesome.

  1. Login with process1
  2. Single Logout with process2
  3. Confirm logout state on process1 Please test the senario. Thank you.