Hi list,
I am running a site with django + uwsgi, I have few questions about how
WSGI works.
1. Is db connection open/close handled by Django? If it's open/closed per
request, can we make a connection pool in wsgi level, then multiple django
views can share it?
2. As a general design considerati
These uwsgi features are pretty neat! Thank you! I'll try this.
On Sat, Jul 14, 2012 at 1:52 PM, Roberto De Ioris wrote:
>
> > Hi list,
> >
> > I am running a site with django + uwsgi, I have few questions about how
> > WSGI works.
> >
> > 1. Is db connection open/close handled by Django? If it'
Hi,
Newbie opinion here.
Since we are talking about Tulip and PEP 3156, I think it's high time we
address some of the design flaws in WSGI 1.0
One major problem with WSGI is that it can not handle true post-response
hooks.
The closest hack I found is this:
https://modwsgi.readthedocs.org/en/lat
Recently I've been playing with Nodejs and websockets, looks like their
community has advanced far ahead of us. For example
http://nodejs.org/api/cluster.html
The best we've got is something like Celery, or Telegraphy for Django, We
have multiprocessing module but it's often recommended to use
ze
r 17, 2014 at 8:24 PM, anatoly techtonik wrote:
> On Mon, Mar 17, 2014 at 3:53 AM, est wrote:
> > The best we've got is something like Celery, or Telegraphy for Django
>
> Does IPython suits pattern better?
> http://ipython.org/ipython-doc/stable/parallel/parallel_intro.html
a running cluster, yes. But Nodejs has its cluster batteries included
so it's easier to bootstrap a cluster in that way than say, build with
multiprocessing/billiard from scratch
On Tue, Mar 18, 2014 at 3:12 PM, anatoly techtonik wrote:
> On Tue, Mar 18, 2014 at 5:16 AM, est wrote:
>
&g
Yes, I am aware of Tornado and Twisted Web has WSGI container capabilities.
The only missing piece is the cluster capability which is that the thread
is about. :D
On Tue, Mar 18, 2014 at 8:37 PM, wrote:
> From: est
>>
>>
>> Thank you guys for all the info.
>>
> nodejs cluster looks no more than a simple master + workers
model
Yes, NodeJS cluster is simple, But IMHO it's the gravity which unifies the
Nodejs ecosystem. While in Python world we only have WSGI and everyone else
has its own cluster model. (Please correct me if I am wrong!)
btw uWSGI is awe
> sharing structures and data between nodes comes first
Must agree with this. How many people out there use Redis as de facto
semaphores and event synchronizing mechanism? (Think of Resque and all its
glorious spin-offs)
On Wed, Mar 19, 2014 at 2:31 PM, Roberto De Ioris wrote:
>
> >> nodejs c
I am writing a small 'comet'-like app using flup, something like
this:
def myapp(environ, start_response):
start_response('200 OK', [('Content-Type', 'text/plain')])
return ['Flup works!\n']<-Could this be part
of response output? Could I time.sleep() for a while then w
10 matches
Mail list logo