influxdb/cmd/influxd/run
Jason Wilder 5abdb42a7d Use a bounded pool for remote writes
Under highly conncurrent write load, the coordinating node would
create a connection to any other node that is part of the replica
group.  Since each connection can be expensive, OOM sitations could
occur because there was no bounds on the number of new connections
that would be created.  If writes on a remote node were slow, connections
could pile up an exacerbate the problem.

This switches the pool to be bounded and has a checkout that is blocking
with a timeout.  If a connection is available, it's returned immediately.
If the pool still has room for more connections, it will create one if needed.
Otherwise, the call will block until a connection becomes available or
the timeout expires.  In the case of a timeout, it is propogated back up
to the PointsWriter that determine what do return to the client.
2016-01-26 17:08:36 -07:00
..
backup_restore_test.go Update backup/restore to use MetaClient 2016-01-21 15:32:35 -05:00
command.go Update Server to work with new metaservice/client 2016-01-21 15:28:33 -05:00
config.go Fixup default hostname and config 2016-01-22 17:05:25 -07:00
config_command.go Update Server to work with new metaservice/client 2016-01-21 15:28:33 -05:00
config_test.go some misc refactoring on influxd startup 2016-01-21 15:28:32 -05:00
server.go Use a bounded pool for remote writes 2016-01-26 17:08:36 -07:00
server_cluster_test.go Update Server to work with new metaservice/client 2016-01-21 15:28:33 -05:00
server_helpers_test.go Close idle MetaClient http connections 2016-01-21 15:30:09 -05:00
server_suite_test.go Fix meta-service for server integration tests 2016-01-21 15:28:33 -05:00
server_test.go Close idle MetaClient http connections 2016-01-21 15:30:09 -05:00
server_test.md Fix typos. 2015-10-17 07:50:45 -07:00