You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For smaller RDS instances, we see CPU spikes when many provider-sql objects are reconciled at the same time. This can affect applications using the same database
How could Crossplane help solve your problem?
Avoid reconciling all objects in a burst. For example:
Connection reuse/pooling
Max N objects per hostname reconciled at the same time
The returned DB is safe for concurrent use by multiple goroutines and maintains its own pool of idle connections. Thus, the Open function should be called just once. It is rarely necessary to close a DB.
What problem are you facing?
For smaller RDS instances, we see CPU spikes when many provider-sql objects are reconciled at the same time. This can affect applications using the same database
How could Crossplane help solve your problem?
Avoid reconciling all objects in a burst. For example:
https://pkg.go.dev/database/sql#Open
There's also:
https://pkg.go.dev/database/sql#DB.SetMaxOpenConns
The text was updated successfully, but these errors were encountered: