Hello,
I am running a Rails app on server1 that connects to dbserver where
the database is. There is another server, server2, that connects to
dbserver quickly and returns quickly no matter how high dbserver's
load is. Doing "psql -h dbserver.domain.com database username" from
server1 times out every time. The same command from server2 returns
quickly. dbserver is located in a remote location but server1 and
server2 are in the same building using the same internet connection.
Requests directly to server1 return quickly as well. What do I need to
look at to make it move quickly? Thanks!