[BangPypers] Django +lightpd

Praveen Kumar praveen.python.plone at gmail.com
Thu Feb 5 05:05:45 CET 2009


* yeah that won't really work, for it to work you would only be able to
handle 1 request at a time**
**  I guess using a DB cache would be acceptable, you could always set up a
simple model that just stores key value pairs.**
*

*  that should be fine.*

*Thanks*

Praveen Kumar

Mahit Infotech Pvt. Ltd.

Bangalore.
On Wed, Feb 4, 2009 at 8:07 PM, Hussain Bohra <hussainbohra_30 at yahoo.com>wrote:

> Hi,
>
> Thanks for your valuable advice.
> This can be done using caching. But can be work out only with DB or File
> Caching ... Local Memory Caching will not work out ... as again it will face
> a same problem.
>
> Thanks and Regards,
> Hussain Bohra
> Tavant Technologies,
> Bangalore-95
> mail-to:hussain.bohra at tavant.com
> mobile : +91 99867 95727
>
>
> ------------------------------
> *From:* Praveen Kumar <praveen.python.plone at gmail.com>
> *To:* hussainbohra_30 at yahoo.com
> *Sent:* Wednesday, 4 February, 2009 3:25:33 PM
> *Subject:* Django +lightpd
>
> *you should not assume your application server will never re-instantiate,
> cycling process is just the natural.. i guess you can always limit your
> web-server to one process but thats bad*
>
> as you wrote
>
> >>I was facing the same problem in Django Development server also, but I am
> able to come across the same using '--noreload' option, python manage.py
> runserver --noreload, and updation of my variable is working properly
>
> *tha**ts because it's one process serving one application to one person,
> in production, thats no feasible*
>
> *you don't resolve it, to be in that situation you must be doing something
> wrong. If you wana store state, store it in cache.*
>
> *Thanks*
>
> *Praveen kumar*
>
> *Bangalore*
>
> *+91 9739854134*
>
> *+91 9343297314*
>
> ------------------------------
> Get perfect Email ID for your Resume. Get before others grab.<http://in.rd.yahoo.com/tagline_dbid_13/*http://in.promos.yahoo.com/address>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20090205/34188de7/attachment.htm>


More information about the BangPypers mailing list