Get Advice Icon

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

Lwan
Lwan

1
2
+ 1
4
OpenResty
OpenResty

2.1K
74
+ 1
0
Add tool

Lwan vs OpenResty: What are the differences?

Developers describe Lwan 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. On the other hand, OpenResty is detailed as "Turning Nginx into a Full-fledged Web App Server". OpenResty (aka. ngx_openresty) is a full-fledged web application server by bundling the standard Nginx core, lots of 3rd-party Nginx modules, as well as most of their external dependencies.

Lwan and OpenResty belong to "Web Servers" category of the tech stack.

Lwan and OpenResty are both open source tools. OpenResty with 7.12K GitHub stars and 984 forks on GitHub appears to be more popular than Lwan with 5.01K GitHub stars and 524 GitHub forks.

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.

What is OpenResty?

OpenResty (aka. ngx_openresty) is a full-fledged web application server by bundling the standard Nginx core, lots of 3rd-party Nginx modules, as well as most of their external dependencies.
Get Advice Icon

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

Why do developers choose Lwan?
Why do developers choose OpenResty?
    Be the first to leave a pro
      Be the first to leave a con
        Be the first to leave a con
        What companies use Lwan?
        What companies use OpenResty?
          No companies found

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

          What tools integrate with Lwan?
          What tools integrate with OpenResty?
            No integrations found
            What are some alternatives to Lwan and OpenResty?
            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.
            Microsoft IIS
            Internet Information Services (IIS) for Windows Server is a flexible, secure and manageable Web server for hosting anything on the Web. From media streaming to web applications, IIS's scalable and open architecture is ready to handle the most demanding tasks.
            Apache Tomcat
            Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
            LiteSpeed
            It is a drop-in Apache replacement and the leading high-performance, high-scalability server. You can replace your existing Apache server with it without changing your configuration or operating system details. As a drop-in replacement, it allows you to quickly eliminate Apache bottlenecks in 15 minutes with zero downtime.
            See all alternatives
            Decisions about Lwan and OpenResty
            Go
            Go
            Lua
            Lua
            OpenResty
            OpenResty
            nginx
            nginx
            Logstash
            Logstash
            Prometheus
            Prometheus

            At Kong while building an internal tool, we struggled to route metrics to Prometheus and logs to Logstash without incurring too much latency in our metrics collection.

            We replaced nginx with OpenResty on the edge of our tool which allowed us to use the lua-nginx-module to run Lua code that captures metrics and records telemetry data during every request鈥檚 log phase. Our code then pushes the metrics to a local aggregator process (written in Go) which in turn exposes them in Prometheus Exposition Format for consumption by Prometheus. This solution reduced the number of components we needed to maintain and is fast thanks to NGINX and LuaJIT.

            See more
            Chris McFadden
            Chris McFadden
            VP, Engineering at SparkPost | 7 upvotes 58.6K views
            atSparkPostSparkPost
            Lua
            Lua
            OpenResty
            OpenResty
            nginx
            nginx

            We use nginx and OpenResty as our API proxy running on EC2 for auth, caching, and some rate limiting for our dozens of microservices. Since OpenResty support embedded Lua we were able to write a custom access module that calls out to our authentication service with the resource, method, and access token. If that succeeds then critical account info is passed down to the underlying microservice. This proxy approach keeps all authentication and authorization in one place and provides a unified CX for our API users. Nginx is fast and cheap to run though we are always exploring alternatives that are also economical. What do you use?

            See more
            Interest over time
            Reviews of Lwan and OpenResty
            No reviews found
            How developers use Lwan and OpenResty
            Avatar of Patrick Ian
            Patrick Ian uses OpenRestyOpenResty

            Routing with nginx + in-house Lua plugins

            How much does Lwan cost?
            How much does OpenResty cost?
            Pricing unavailable
            Pricing unavailable
            News about Lwan
            More news
            News about OpenResty
            More news