June 2024
Intermediate to advanced
456 pages
11h 34m
English
Your Ruby on Rails application is a client application that connects to PostgreSQL, sending TCP requests over the IP network (TCP/IP).[254]
psql is the command-line client application you’ve been using so far. pg_repack and pg_dump are other client programs. When these programs connect to PostgreSQL, they all require a database connection to connect. This is an object that’s created on PostgreSQL and is observable. When you connect from Rideshare or when you connect to your database from your Rails application, you’re using a database connection.
The total number of concurrent connections possible is limited by your server resources. Connections create new back-end processes, and the connection establishment ...
Read now
Unlock full access