Skip to content
Snippets Groups Projects
Commit 04ef4cd2 authored by Ernst van Nierop's avatar Ernst van Nierop
Browse files

Clarify connections processes

parent 051f1fd9
No related branches found
No related tags found
1 merge request!6436Add notes about database performance generics
Pipeline #
Loading
Loading
@@ -168,7 +168,9 @@ crude level.
- From whitebox monitoring,
- Of time spent on/by Rails controllers, this much is spent in the database: https://performance.gitlab.net/dashboard/db/rails-controllers?orgId=1&panelId=5&fullscreen (for a specific Rails controller / page)
- _Global_ SQL timings: https://performance.gitlab.net/dashboard/db/transaction-overview?panelId=9&fullscreen&orgId=1&from=now-2d&to=now
- 1 controller = 1 URL = 1 process a.k.a. connection.
- A single HTTP request will execute a single controller. A controller in turn
will usually only use one available database connection, though it may use 2 if
first a read was performed, followed by a write.
- pgbouncer allows up to 150 concurrent PostgreSQL connections. If this limit
is reached it will block pgbouncer connections until a PostgreSQL
connection becomes available.
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment