All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Hyperdrive, Workers - Hyperdrive exposes database connection pool size metrics

1mo ago

Source

CloudflareHyperdrive, Workers - Hyperdrive exposes database connection pool size metricscloudflare.com
Snippet from the RSS feed
You can now view the size of your Hyperdrive database connection pools, giving you the ability to self-diagnose connection issues. Using the Cloudflare dashboard or the hyperdrivePoolSizesAdaptiveGroups dataset in the GraphQL Analytics API , you can see waitingClients , currentPoolSize , availablePoolSlots , and maxPoolSize for each of your configurations. A new Pool connections chart has been added to the Metrics tab of each Hyperdrive configuration in the Cloudflare dashboard . You can use the location selector to drill down into specific locations hosting your connection pool by airport code. The chart shows: Waiting clients : Client requests waiting for an available connection. Open connections : Active connections to your database. Pool size maximum : Your configured origin connection limit. Connection contention appears as a spike in waiting clients, or when open connections consistently approach the pool size maximum. If your open connections regularly approach this limit, consider contacting Cloudflare to increase your Hyperdrive connection limit . Pool size metrics The hyperdrivePoolSizesAdaptiveGroups dataset in the GraphQL Analytics API exposes the following key connection pool metrics for each Hyperdrive configuration: Under avg : currentPoolSize โ€” Average number of connections currently open in the pool. availablePoolSlots โ€” Average number of pool connections available for checkout. waitingClients โ€” Average number of clients waiting for a connection from the pool. Under max : maxPoolSize โ€” Configured maximum size of the connection pool. currentPoolSize โ€” Peak number of connections open in the pool. waitingClients โ€” Peak number of clients waiting for a connection from the pool. For more information, refer to Metrics and analytics and Connection pooling .

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.