原文連接 https://ninenines.eu/docs/en/ranch/1.4/guide/introduction/編程
Ranch is a socket acceptor pool for TCP protocols.app
Ranch 是一個TCP協議的套接字接收器池。socket
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.ide
Ranch 旨在經過較少的基礎代碼實現你須要的擁有較低延遲且能接受TCP鏈接的一切,同時它也易於直接做爲應用程序使用或者嵌入到本身的項目中使用。測試
It is assumed the developer already knows Erlang and has some experience with socket programming and TCP protocols.ui
假設開發人員已經知道Erlang,並對socket編程和TCP協議有一些經驗。spa
Ranch is tested and supported on Linux, FreeBSD, OSX and Windows.code
Ranch在Linux,FreeBSD,OSX和Windows上都測試過並獲得支持。orm
Ranch is developed for Erlang/OTP R16B+.開發
Ranch 是爲Erlan/OTP R16B+開發的。
There are known issues with the SSL application found in Erlang/OTP 18.3.2 and 18.3.3. These versions are therefore not supported.
Erlang/OTP 18.3.2和18.3.3中的SSL應用程序存在已知的問題,所以,這些版本不被Ranch支持。
Ranch may be compiled on earlier Erlang versions with small source code modifications but there is no guarantee that it will work as expected.、
Ranch可能只須要對源碼進行少數修改就能夠在較早的Erlang版本上編譯經過,但不能保證它能按預期工做。
Ranch uses Semantic Versioning 2.0.0
Ranch使用語義化版本2.0.0來進行版本描述。