Created
November 5, 2014 21:12
-
-
Save jfrost/e36a4fdd2812b64c3ac9 to your computer and use it in GitHub Desktop.
pgbouncer simple benchmark results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
So, I did a quick test with pgbouncer running on the local host and talking to a remote postgresql backend. I had the script open a connection, run a quick almost instantaneous query (SELECT now() ), collect the results and close the connection. It looped over this 50,000 times. | |
Connecting to the bouncer over local unix socket, it took 31s to perform all the queries. | |
Connecting to the bouncer over localhost, it took 45s to perform all the queries. | |
Connecting to the bouncer running on the remote server, it took 1m6s | |
Without using pgbouncer, it took 3m34s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment