News for hackers. Stuff that matters.
Re:10 000 concurrent real-time connections to Django by obviouslygreen on Tuesday March 26, 2013 @08:42PM (#5447026)
Forgive my ignorance, but isn't this the point of something like pgpool? I didn't think connecting to a connection pool would be as expensive as connecting to the database itself (if it is, then my next question would be: What's the point of a connection pool? Because clearly I've missed something one way or the other).
Re:10 000 concurrent real-time connections to Django by jaytaylor on Tuesday March 26, 2013 @09:59PM (#5447310)
Yes, but pgpool isn't always an option. If you use Heroku's Postgres service, you do not have sufficient privileges to run the commands to attach to software like pgpool.

The only way we were able to get connection pooling working in django 1.3/1.4 was to use django-dbpool[0]. It works okay, but is still pretty sketchy compared to the connection pooling libraries available for the JVM like BoneCP or C3P0.

[0] https://github.com/gmcguire/django-db-pool

Re:10 000 concurrent real-time connections to Django by obviouslygreen on Wednesday March 27, 2013 @01:03AM (#5447896)
Understood, thank you for the clarification.
Re:10 000 concurrent real-time connections to Django by talmirza on Tuesday March 26, 2013 @11:47PM (#5447687)
You can still us pg_pool with heroku.
Re:10 000 concurrent real-time connections to Django by stefantalpalaru on Wednesday March 27, 2013 @07:51AM (#5448818)
Yes, connecting repeatedly to pgpool is less expensive than doing it directly to postgres. Not having to connect repeatedly to anything is even better.