I don't really see what point such an option would serve. This is *not a
connection pool*. Currently Django uses one open connection per thread,
this simple keeps them open between requests. That means before: you needed
O(concurrent threads) connections, now you need O(total active threads)
connections. If your database can't handle that many connections, why do
you have that many threads running, peak load would already be making it
fall over.

Alex


On Tue, Feb 19, 2013 at 9:52 PM, Eric Florenzano <flo...@gmail.com> wrote:

> One question: does this proposal include some way of specifying a maxiumum
> number of outstanding connections to the database from a single process?
>  Looked but didn't see it in the pull request.  In my experience, most
> PostgreSQL instances don't have a whole lot of breathing room in terms of
> the number of total outstanding connections they can handle due to low
> shared memory defaults etc. This is something that django-postgrespool does
> by way of SQLAlchemy's pool_size and max_overflow settings.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to django-developers@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-developers?hl=en
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to