summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2011-12-19 13:39:49 -0600
committerRobert Newson <robert.newson@cloudant.com>2012-11-14 17:27:34 +0000
commitc15440cd74b04ba88f9af0a59f9505478d314d38 (patch)
treed7c87e25efc5f85fc1a7b4b6375cff8a79e43d62 /.gitignore
parent017ba1c626e565d3b70c90ca92496d2602e4a909 (diff)
Avoid scanning the entire table of procs
For large numbers of os processes its possible that we have a slowdown when requesting a new process. The old code matches all possible processes out of the table to find an appropriate candidate. We avoid the issue by using ets:select_reverse to also prefer keeping newer processes and releasing longer lived processes. Length of life is based on the implicit sorting of pids having newer pids sorting larger.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions