Shared web host good citizenship question

C

Carl Banks

Not specifically Python related but thought I'd ask.

If you have a low-bandwidth website running on a shared web hosting
service as a WSGI server (or FastCGI, or any other interface with its
own process), is it considered a responsible thing for the process to
exit on its own after a period of non-activity, or is that something
best left for the host to manage?

I'd guess that modern web hosts would prefer that processes stay
running, even if they go long periods without use, rather than having
to periodically restart processes.

Carl Banks
 
G

Gnarlodious

I would say like this: If your processes are serving up straight
pages, let them timeout after a while. If your processes are handling
eCommerce or persistent data, keep the connection open as long as
possible.

-- Gnarlie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,056
Messages
2,570,443
Members
47,089
Latest member
Bobby2025b

Latest Threads

Top