* 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...@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.bo...@tavant.com > mobile : +91 99867 95727 > > > ------------------------------ > *From:* Praveen Kumar <praveen.python.pl...@gmail.com> > *To:* hussainbohra...@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> >
_______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers