Today I’ve released Misultin (pronounced mee-sul-teen), an Erlang library for building fast lightweight HTTP servers. The first benchmarks are quite satisfying, even though there still is work to do.
Here is the simple code for Misultin’s Hello World.
-module(misultin_hello_world).
-vsn(’0.1′).
-export([start/1, stop/0, handle_http/1]).
% start misultin http server
start(Port) ->
misultin:start_link([{port, Port}, {loop, fun(Req) -> handle_http(Req) end}]).
% stop [...]