Skip to content
This repository has been archived by the owner on Oct 7, 2023. It is now read-only.
Pouriya Jahanbakhsh edited this page Jul 6, 2017 · 22 revisions

Welcome to the sockerl wiki

Overview

Sockerl is an advanced Erlang/Elixir socket library for TCP protocols and provides fast, useful and easy-to-use API for implementing server, clients and connection pools.

Features:

  • Acceptors and Connectors have been written as Special Erlang process and they are faster than gen_server, gen_fsm, etc.
  • Blocking and non-blocking sockets are supported with doing a few changes in code.
  • SSL is supported too (you can define your own sockerl_transporter behavior for any protocol like SSL).
  • In server and client implementation every connection has its own process and Sockerl provides useful and simple API for accessing them and sending data through them or sending Erlang message to them, closing them, etc.
  • Clean and human-understandable error outputs.
  • Accepts standard OTP sys debug options for Acceptors and Connections for generating clean debug output.
  • By implementing sockerl behavior, you have robust and fast server or connection pool.
  • Simple API for controlling crash of connection processes.
    All features not listed here.
Clone this wiki locally