etcd-cluster-operator icon indicating copy to clipboard operation
etcd-cluster-operator copied to clipboard

Implement etcd connection pooling

Open JamesLaverack opened this issue 6 years ago • 2 comments

Currently when we connect to etcd from the cluster controller we create a new connection every time. We could save resources by keeping a pool of them available.

JamesLaverack avatar Oct 31 '19 23:10 JamesLaverack

Be careful when doing this as you'll need a reconciler of some description to detect when clients should no longer exist or need updating to include new peers, else you could leave dangling sockets/goroutines/resources 😄

munnerz avatar Nov 06 '19 14:11 munnerz

Yeah with #76 this might get interesting.

JamesLaverack avatar Nov 07 '19 16:11 JamesLaverack