Re: Write web apps in Python?



On Wed, 2010-04-21 at 10:28 +0200, Bruno Desthuilliers wrote:
Bryan a écrit :

I think I see what you mean

Err...

-- correct me if I'm wrong:

You are, sorry !-)

You want to
keep complex application data structures around between requests.

Nope. I want to keep all my settings parsed,

Store them in the session.
my librairies loaded,

Enable APC

all my connections opened etc.

If you are talking about RDBMS connections, use persistent connections.

Then you have everything you've asked for.

Now I'm sorry to say that for quite a few "sophisticated" PHP apps I've
seen (and eventually had to work on), the "startup" part - parsing the
include files, configuration, establishing connections etc - took a good
part of the total processing time.


.



Relevant Pages

  • Re: Do I want an ACK in my high-level protocol when using TCP?
    ...   for { ... have those 2 connections to B at once. ... application A will hold back sending requests ... other network I/O in the application. ...
    (comp.unix.programmer)
  • Re: Socket Programming
    ... * Single threaded application that multiplexes concurrent connections ... Some requests may be served within millisecond time scale. ... On a single cpu system, ... do is keep some rolling counter of number of connections accepted in ...
    (comp.lang.lisp)
  • Re: IOCP Across Threads - Error 995
    ... The problem is that when a thread exits with outstanding overlapped ... send requests in progress all of those requests are cancelled - See: ... I have created an additional thread that initiates connections to the ... I placed a Sleepat the end of the outgoing connection ...
    (microsoft.public.win32.programmer.networks)
  • Re: Network Firewall/Routing Solution
    ... >> firewall combo boxes that linksys sells, and I really don't want to run ... >> not working properly at all with multiple network cards. ... >> like Unicode and header information for http requests, ... >> non-pasv connections. ...
    (comp.security.firewalls)
  • zombies with AMD64 and 32 bit userspace with 2.6
    ... the test is a simple forking proxy that receives connections from one ... machine (running apache benchmark) and forwards them to anothr machine ... to do a test with more then about 30,000 requests in it the box starts to ... the smaller tests leave no zombies at all and can be run multiple times ...
    (Linux-Kernel)