Seth Falcon
|
2c542412b9
Remove members that timeout in starting state
|
12 years ago |
Seth Falcon
|
2f7f4c7f40
Initial pool with parallel start of init_count members
|
12 years ago |
Seth Falcon
|
9bf8d6044b
Add a batch of new members on take when all in-use
|
12 years ago |
Seth Falcon
|
b2cd30a72f
start members asynchronously using pooler_starter
|
12 years ago |
Seth Falcon
|
08211e5324
Use monitors instead of links to track members and consumers
|
12 years ago |
Seth Falcon
|
3ad56bb1ce
Use metrics_mod stored in pool record in send_metric
|
12 years ago |
Seth Falcon
|
703b054eff
Update metrics to be pool specific
|
12 years ago |
Seth Falcon
|
52648c15ab
Remove unused start and stop functions from pooler module
|
12 years ago |
Seth Falcon
|
dc1d9b115f
Remove unreachable fun head for pool_add_retries
|
12 years ago |
Seth Falcon
|
ddfddae91a
Remove now unused functions max_free_pool and fold_max_free_count
|
12 years ago |
Seth Falcon
|
670d5eb764
Add load balancing support using pg2 and an ets table
|
12 years ago |
Seth Falcon
|
48ab776d06
Remove unused props_to_pool function
|
12 years ago |
Seth Falcon
|
0e5802349e
multi-pool refactor part 1
|
12 years ago |
Seth Falcon
|
f7829d7b89
Fix do_return_member to properly handle an unknown pid
|
12 years ago |
Seth Falcon
|
613aebe608
Fix unused variable warning
|
12 years ago |
Kevin Smith
|
927e9d47f4
Adding backpressure & timeout protection
|
12 years ago |
Seth Falcon
|
5fa967d06e
Add scheduled culling of stale pool members above init_count
|
13 years ago |
Seth Falcon
|
55c3e8ad46
Improve type specs for pool metrics and send_metric/3
|
13 years ago |
Seth Falcon
|
d620e8f2df
Add time_as_millis/1 and time_as_micros/1 helper functions
|
13 years ago |
seth
|
02f3023c72
Merge branch 'add_member_retry'
|
13 years ago |
seth
|
7c61e90e18
Fix bug in handling unexpected gen_server calls
|
13 years ago |
seth
|
396a800af4
Limit attempts to add members while serving take_member request
|
13 years ago |
Seth Falcon
|
7c502ac964
Tighten specs for send_metric and pool_metric
|
13 years ago |
Seth Falcon
|
ae924e6010
Remove spec for handle_call for dialyzer
|
13 years ago |
Seth Falcon
|
ddabf8ba56
Improve specs on take_member and internal take_member functions
|
13 years ago |
Seth Falcon
|
178a547107
Fix some dialyzer warnings
|
13 years ago |
Seth Falcon
|
c83d9f8831
Fix cull_members, more robustness against bad pool names, test metrics
|
13 years ago |
Seth Falcon
|
6f6a0f012e
Don't crash if given wrong pool name
|
13 years ago |
Seth Falcon
|
615b69142c
Add return_member/1 for the default ok status
|
13 years ago |
Seth Falcon
|
65e5a79c74
Add metrics instrumentation
|
13 years ago |