talira

Small, fast HTTP server for Erlang/OTP with HTTP/2, WebSocket and REST

open sourceISCfree

Cowboy is an HTTP server library for Erlang/OTP that you embed in your application. It serves HTTP/1.1 and HTTP/2, WebSocket and REST resources, routes requests to handlers written in Erlang, and aims at low latency and low memory use in a small code base. It manages connections with Ranch, its maker's socket acceptor pool.

Problems it solves

  • serve HTTP and WebSockets from my Erlang application
  • an HTTP/2 web server I can embed in an Erlang/OTP release
  • build a REST API in Erlang

Features

  • embedded HTTP server for Erlang apps
  • HTTP/1.1, HTTP/2 and WebSocket
  • request routing to Erlang handlers
  • REST resource handlers

Alternatives

The same job

These do what Cowboy does.

  1. Bandit A pure-Elixir HTTP server built for Plug and WebSock apps

Compare Cowboy with the top 3