Seth Falcon
|
3ad56bb1ce
Use metrics_mod stored in pool record in send_metric
|
12 лет назад |
Seth Falcon
|
703b054eff
Update metrics to be pool specific
|
12 лет назад |
Seth Falcon
|
52648c15ab
Remove unused start and stop functions from pooler module
|
12 лет назад |
Seth Falcon
|
dc1d9b115f
Remove unreachable fun head for pool_add_retries
|
12 лет назад |
Seth Falcon
|
ddfddae91a
Remove now unused functions max_free_pool and fold_max_free_count
|
12 лет назад |
Seth Falcon
|
670d5eb764
Add load balancing support using pg2 and an ets table
|
12 лет назад |
Seth Falcon
|
48ab776d06
Remove unused props_to_pool function
|
12 лет назад |
Seth Falcon
|
0e5802349e
multi-pool refactor part 1
|
12 лет назад |
Seth Falcon
|
f7829d7b89
Fix do_return_member to properly handle an unknown pid
|
12 лет назад |
Seth Falcon
|
613aebe608
Fix unused variable warning
|
12 лет назад |
Kevin Smith
|
927e9d47f4
Adding backpressure & timeout protection
|
12 лет назад |
Seth Falcon
|
5fa967d06e
Add scheduled culling of stale pool members above init_count
|
13 лет назад |
Seth Falcon
|
55c3e8ad46
Improve type specs for pool metrics and send_metric/3
|
13 лет назад |
Seth Falcon
|
d620e8f2df
Add time_as_millis/1 and time_as_micros/1 helper functions
|
13 лет назад |
seth
|
02f3023c72
Merge branch 'add_member_retry'
|
13 лет назад |
seth
|
7c61e90e18
Fix bug in handling unexpected gen_server calls
|
13 лет назад |
seth
|
396a800af4
Limit attempts to add members while serving take_member request
|
13 лет назад |
Seth Falcon
|
7c502ac964
Tighten specs for send_metric and pool_metric
|
13 лет назад |
Seth Falcon
|
ae924e6010
Remove spec for handle_call for dialyzer
|
13 лет назад |
Seth Falcon
|
ddabf8ba56
Improve specs on take_member and internal take_member functions
|
13 лет назад |
Seth Falcon
|
178a547107
Fix some dialyzer warnings
|
13 лет назад |
Seth Falcon
|
c83d9f8831
Fix cull_members, more robustness against bad pool names, test metrics
|
13 лет назад |
Seth Falcon
|
6f6a0f012e
Don't crash if given wrong pool name
|
13 лет назад |
Seth Falcon
|
615b69142c
Add return_member/1 for the default ok status
|
13 лет назад |
Seth Falcon
|
65e5a79c74
Add metrics instrumentation
|
13 лет назад |
Seth Falcon
|
f1397b44f8
Add take_member/2 if you know the pool you want, ask for it
|
13 лет назад |
Seth Falcon
|
34ff5b6c45
Handle inability to start new members more gracefully
|
13 лет назад |
Seth Falcon
|
495a43261b
Add strict gaurds to return_member; handle error_no_members gracefully
|
13 лет назад |
Seth Falcon
|
17969e7d4d
Some code formatting cleanups
|
13 лет назад |
Seth Falcon
|
7482a9ac74
Set trap_exit early in init.
|
13 лет назад |