esockd_connection_sup should be redesinged
emqplus opened this issue · comments
Feng Lee commented
esockd_connectoin_sup should not use supervisor with 'simple_one_for_one' mode..
esockd_connection_sup should be responsible for:
- link or monitor all children
- max connections controll
- deny/allow access control
the most important issue is how to store pids of children?
dict? set? map? proccess dictionary?
Feng Lee commented
fixed in 2.2.x. use process_dictionary to store children pids