Browse Source

Explain what are listeners and acceptors in Getting Started

Loïc Hoguin 12 years ago
parent
commit
8c54c048f2
1 changed files with 6 additions and 0 deletions
  1. 6 0
      guide/introduction.md

+ 6 - 0
guide/introduction.md

@@ -77,6 +77,12 @@ The `cowboy:start_http/4` function starts a listener for HTTP connections
 using the TCP transport. The `cowboy:start_https/4` function starts a
 listener for HTTPS connections using the SSL transport.
 
+Listeners are a group of processes that are used to accept and manage
+connections. The processes used specifically for accepting connections
+are called acceptors. The number of acceptor processes is unrelated to
+the maximum number of connections Cowboy can handle. Please refer to
+the Ranch guide for in-depth information.
+
 Listeners are named. They spawn a given number of acceptors, listen for
 connections using the given transport options and pass along the protocol
 options to the connection processes. The protocol options must include