Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Cowboy

669
72
+ 1
19
Lwan

1
6
+ 1
4
Add tool

Cowboy vs Lwan: What are the differences?

Developers describe Cowboy as "Small, fast, modular HTTP server written in Erlang". Cowboy aims to provide a complete HTTP stack in a small code base. It is optimized for low latency and low memory usage, in part because it uses binary strings. Cowboy provides routing capabilities, selectively dispatching requests to handlers written in Erlang. On the other hand, Lwan is detailed as "Experimental, scalable, high performance HTTP server". In development for almost 3 years, Lwan was until now a personal research effort that focused mostly on building a solid infrastructure for a lightweight and speedy web server.

Cowboy and Lwan can be categorized as "Web Servers" tools.

Cowboy and Lwan are both open source tools. It seems that Cowboy with 5.59K GitHub stars and 999 forks on GitHub has more adoption than Lwan with 5.01K GitHub stars and 524 GitHub forks.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Cowboy
Pros of Lwan
  • 8
    Websockets integration
  • 6
    Cool name
  • 3
    Good to use with Erlang
  • 2
    Anime mascot
  • 1
    C and Lua Scripting
  • 1
    Free
  • 1
    High-performance http server
  • 1
    Performance

Sign up to add or upvote prosMake informed product decisions

12
522
249
166
38

What is Cowboy?

Cowboy aims to provide a complete HTTP stack in a small code base. It is optimized for low latency and low memory usage, in part because it uses binary strings. Cowboy provides routing capabilities, selectively dispatching requests to handlers written in Erlang.

What is Lwan?

In development for almost 3 years, Lwan was until now a personal research effort that focused mostly on building a solid infrastructure for a lightweight and speedy web server.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Cowboy?
What companies use Lwan?
    No companies found
    Manage your open source components, licenses, and vulnerabilities
    Learn More

    Sign up to get full access to all the companiesMake informed product decisions

    What are some alternatives to Cowboy and Lwan?
    NGINX
    nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
    Apache HTTP Server
    The Apache HTTP Server is a powerful and flexible HTTP/1.1 compliant web server. Originally designed as a replacement for the NCSA HTTP Server, it has grown to be the most popular web server on the Internet.
    Amazon EC2
    It is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.
    Firebase
    Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds.
    Amazon Web Services (AWS)
    It is a comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally.
    See all alternatives