mirror https://github.com/ninenines/ranch

Loïc Hoguin caeadc8261 Update Erlang.mk 7 лет назад
doc e381ccccdf Add a function to wait for number of connections 7 лет назад
ebin 8eaae552ec Ranch 1.5.0 7 лет назад
examples 301f582b97 Replace gen_server with gen_statem in examples 7 лет назад
src e381ccccdf Add a function to wait for number of connections 7 лет назад
test ca26ed23ba Fix intermittent test failure of misc_wait_for_connections 7 лет назад
.gitignore 98908c894a Update .gitignore 8 лет назад
CHANGELOG.asciidoc 8eaae552ec Ranch 1.5.0 7 лет назад
LICENSE 8eaae552ec Ranch 1.5.0 7 лет назад
Makefile 8eaae552ec Ranch 1.5.0 7 лет назад
README.asciidoc 67db4c0143 Tweak the README 7 лет назад
erlang.mk caeadc8261 Update Erlang.mk 7 лет назад

README.asciidoc

= Ranch

Ranch is a socket acceptor pool for TCP protocols.

== Goals

Ranch aims to provide everything you need to accept TCP connections with
a *small* code base and *low latency* while being easy to use directly
as an application or to *embed* into your own.

Ranch provides a *modular* design, letting you choose which transport
and protocol are going to be used for a particular listener. Listeners
accept and manage connections on one port, and include facilities to
limit the number of *concurrent* connections. Connections are sorted
into *pools*, each pool having a different configurable limit.

Ranch also allows you to *upgrade* the acceptor pool without having
to close any of the currently opened sockets.

== Online documentation

* https://ninenines.eu/docs/en/ranch/1.4/guide[User guide]
* https://ninenines.eu/docs/en/ranch/1.4/manual[Function reference]

== Offline documentation

* While still online, run `make docs`
* User guide available in `doc/` in PDF and HTML formats
* Function reference man pages available in `doc/man3/` and `doc/man7/`
* Run `make install-docs` to install man pages on your system
* Full documentation in Asciidoc available in `doc/src/`
* Examples available in `examples/`

== Getting help

* Official IRC Channel: #ninenines on irc.freenode.net
* https://github.com/ninenines/ranch/issues[Issues tracker]
* https://ninenines.eu/services[Commercial Support]