Re: Async client for PostgreSQL?

Discussion in 'Python' started by Laszlo Nagy, Sep 2, 2012.

  1. Laszlo Nagy

    Laszlo Nagy Guest


    > Hmm, I was suggesting that you could replace the whole DB driver with
    > a webservice implemented with twisted, if you rule out threads then
    > with ampoule doing it with a process pool and consume this webservice
    > with the tornado side asynchronously.

    I see. I'm sorry, I misunderstood. So this would be a wrapper around
    PostgreSQL. Very interesting idea. (In this case, I'm not sure how to
    safely manage transactions.)
    >
    > production level example thread pool based DB API:
    > Just to give you some ballpark figures, I'm running a game server with
    > a daily peak of about 1500 parallel permanent connections and 50k
    > games played every day (avg game duration 13min, peak request
    > frequency close to 100req/sec) with a lot of statistics going into a
    > MySQL DB on US$2k worth of hardware. Twisted as basis sitting atop
    > FreeBSD, started the latest version in March, its running since then,
    > no restarts, no reboots, no problems.

    Thank you.
     
    Laszlo Nagy, Sep 2, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steven
    Replies:
    0
    Views:
    406
    Steven
    Nov 30, 2005
  2. Laszlo Nagy

    Async client for PostgreSQL?

    Laszlo Nagy, Sep 1, 2012, in forum: Python
    Replies:
    2
    Views:
    322
  3. Werner Thie

    Re: Async client for PostgreSQL?

    Werner Thie, Sep 1, 2012, in forum: Python
    Replies:
    0
    Views:
    248
    Werner Thie
    Sep 1, 2012
  4. Laszlo Nagy

    Re: Async client for PostgreSQL?

    Laszlo Nagy, Sep 1, 2012, in forum: Python
    Replies:
    2
    Views:
    321
  5. Werner Thie

    Re: Async client for PostgreSQL?

    Werner Thie, Sep 1, 2012, in forum: Python
    Replies:
    0
    Views:
    298
    Werner Thie
    Sep 1, 2012
Loading...

Share This Page