[wsgi] Python interpreter initialization

Manlio Perillo manlio_perillo at libero.it
Mon Aug 20 17:36:13 MSD 2007


Igor Sysoev ha scritto:
>
 > [...]
 >
>> However I'm interested in the reconfiguration problem. Can you give me 
>> more details?
> 
> While reconfiguration in perl module nginx creates new interpreter and
> evalutes all code in its. If configuration will fail, then nginx continues
> to run with old interpreter. If new configureation is right, then
> old interpreter is destroyed.
> 

Ok, thanks.
I have tried to read the code for the perl module, but I find it hard to 
  understand (and I do not know perl or its C API).

> [...]
 >
> I still do not understand WSGI protocol. Is there graphic presentation
> of this protocol ?
>

The first time I have read it (about a few years ago) I too have found 
it hard to understand.

However it is very simple to implement.

As for graphic presentations, I'm sorry for not being able to help you.

There are some papers at http://wsgi.org/wsgi/Presentations, but they 
are for the Python programmer and not for the wsgi implementator.

If you are interested, you can ask on the comp.lang.python newsgroup or 
on the mailing list at the web-sig (web - special interest group):
http://www.python.org/community/sigs/current/web-sig/.




Regards  Manlio Perillo





More information about the nginx mailing list