MongoDB Documentation, Release 3.0.4 Drivers 5.4.3 Additional Resources • Make use of connection pooling. Most MongoDB drivers support connection pooling. Adjust the connection pool size to suit your use case, beginning at 110-115% of the typical number of concurrent database requests. • Ensure that your applications handle transient write and read errors during replica set elections. • Ensure that your applications handle failed requests and retry them if applicable. Drivers do not automatically retry failed requests. • Use exponential backoff logic for database request retries. • Use cursor.maxTimeMS() for reads and wtimeout (page 131) for writes if you need to cap execution time for database operations. • MongoDB Production Readiness Consulting Package 123 • MongoDB Ops Optimization Consulting Package 124 $^{123}$https://www.mongodb.com/products/consulting?jmp=docs#s_production_readiness $^{124}$https://www.mongodb.com/products/consulting?jmp=docs#ops_optimization 315 5.4. Production Checklist