<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Connection Pooling on Support Tools</title><link>https://support.tools/tags/connection-pooling/</link><description>Recent content in Connection Pooling on Support Tools</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 23 Oct 2026 00:00:00 -0500</lastBuildDate><atom:link href="https://support.tools/tags/connection-pooling/index.xml" rel="self" type="application/rss+xml"/><item><title>Golang and PostgreSQL: Advanced Patterns for Production Applications</title><link>https://support.tools/post/golang-postgres-advanced-patterns/</link><pubDate>Thu, 06 Aug 2026 09:00:00 -0500</pubDate><guid>https://support.tools/post/golang-postgres-advanced-patterns/</guid><description>&lt;p&gt;Go and PostgreSQL form a powerful foundation for building robust, high-performance applications. This combination delivers exceptional concurrency, reliability, and developer productivity when implemented correctly. However, building production-ready applications requires a deeper understanding of how these technologies interact, particularly around connection management, transaction handling, and performance tuning.&lt;/p&gt;&#10;&lt;p&gt;This comprehensive guide explores advanced patterns for working with PostgreSQL in Go applications, with a focus on real-world scenarios and production-ready implementations.&lt;/p&gt;&#10;&lt;h2 id="table-of-contents"&gt;Table of Contents&lt;/h2&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;a href="#understanding-the-go-postgresql-relationship"&gt;Understanding the Go-PostgreSQL Relationship&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#connection-pool-management"&gt;Connection Pool Management&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#transaction-patterns"&gt;Transaction Patterns&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#advanced-query-techniques"&gt;Advanced Query Techniques&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#concurrency-and-race-conditions"&gt;Concurrency and Race Conditions&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#error-handling-and-retries"&gt;Error Handling and Retries&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#performance-monitoring-and-optimization"&gt;Performance Monitoring and Optimization&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#migration-and-schema-management"&gt;Migration and Schema Management&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#testing-database-code"&gt;Testing Database Code&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#production-checklist"&gt;Production Checklist&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;h2 id="understanding-the-go-postgresql-relationship"&gt;Understanding the Go-PostgreSQL Relationship&lt;/h2&gt;&#10;&lt;p&gt;Go and PostgreSQL complement each other remarkably well. Go&amp;rsquo;s concurrency model and efficient resource utilization align with PostgreSQL&amp;rsquo;s robust multi-version concurrency control (MVCC) system.&lt;/p&gt;</description></item><item><title>ElastiCache Redis Replication Group and RDS Proxy Limits</title><link>https://support.tools/post/aws-database-services-architecture-guide/</link><pubDate>Thu, 04 Sep 2025 09:00:00 -0500</pubDate><guid>https://support.tools/post/aws-database-services-architecture-guide/</guid><description>&lt;h1 id="elasticache-redis-replication-group-and-rds-proxy-limits"&gt;ElastiCache Redis Replication Group and RDS Proxy Limits&lt;/h1&gt;&#10;&lt;p&gt;Two settings cause most of the confusion when you put ElastiCache in front of RDS and RDS Proxy between the application and the database: &lt;code&gt;num_cache_clusters&lt;/code&gt; on the ElastiCache replication group, and the connection ceiling RDS Proxy reports as &lt;code&gt;MaxDatabaseConnectionsAllowed&lt;/code&gt;. This page answers both, then shows the full RDS, RDS Proxy and ElastiCache architecture in Terraform.&lt;/p&gt;&#10;&lt;h2 id="quick-answer"&gt;Quick answer&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;&lt;code&gt;num_cache_clusters&lt;/code&gt; in &lt;code&gt;aws_elasticache_replication_group&lt;/code&gt;&lt;/strong&gt; is the total number of nodes (one primary plus read replicas) in a replication group with cluster mode disabled. &lt;code&gt;num_cache_clusters = 3&lt;/code&gt; means one primary and two replicas. It must be at least 2 when &lt;code&gt;automatic_failover_enabled&lt;/code&gt; or &lt;code&gt;multi_az_enabled&lt;/code&gt; is true, defaults to 1, and conflicts with &lt;code&gt;num_node_groups&lt;/code&gt; and &lt;code&gt;replicas_per_node_group&lt;/code&gt;, which you use instead for cluster mode enabled (sharded) groups.&lt;/p&gt;</description></item></channel></rss>