Add zk-epoll to create thousands of ZK sessions with only a few procs

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Add options processing

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Create an ephemeral znode (asynchronously) upon reaching ZOO_CONNECTED_STATE

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Create a new session upon expiry and some other fixes

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Only issue a create when reaching CONNECTED for the first time

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Read-only test prog

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Add compile-command

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Link against zookeeper_st, not mt

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Add prog to test read-only clients (that set a CHILD watch)

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Deal with the absence of EPOLLRDHUP & explicit casts for ctxts

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Save the post along with the context

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Check interests on a separate thread

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Add TODO items

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Hold a lock before using a zhandle_t *

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Add .gitignore

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Add --sleep-after-clients and --sleep-in-between to allow ramping up slowly

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Add missing newlines

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Clean-up logging so that it is more useful

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Update comments plus remove unnecesary else

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>
Fix error method

Signed-off-by: Raul Gutierrez S <rsegales@twitter.com>