Thanks for the good info. Let me explain why I would want to develop
my own web server... I've got a real time, asynchronous server that
uses a proprietary binary protocol to monitor remote systems using a
push model, and I'd like to expose the incoming data over HTTP using a
web app, also using a push model. The existing server is multi-
threaded and already uses embedded python so I thought I'd look into
implementing a limited web server and run the web server in the same
process as the real-time server. The server is a windows based server
that is built with WIN32 IO completion ports.
So I'm concerned about the multi-threading issues you've brought up
here and I'm worried that I don't fully understand all of the pitfalls
involved in integrating Django using WSGI. If I use standard
synchronization methods such as mutexes, critical sections and
reentrant code, are there any fundamental reasons why I can't make
this work?
Also, I *am* looking at using an available web server to accomplish
this task, but I wanted to look into this first.
On Dec 13, 3:40 pm, Graham Dumpleton <
Graham.Dumple...@gmail.com>