Nginx VS etcd

Compare Nginx vs etcd and see what are their differences.

Nginx

An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html (by nginx)
Web

etcd

Distributed reliable key-value store for the most critical data of a distributed system (by etcd-io)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Nginx etcd
99 61
20,165 46,292
1.2% 1.0%
8.9 9.9
8 days ago 7 days ago
C Go
- Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Nginx

Posts with mentions or reviews of Nginx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-24.
  • Nginx 1.26.0 Stable Released
    2 projects | news.ycombinator.com | 24 Apr 2024
    Yeah, unless I'm looking at it wrong, there doesn't seem to be any meaningful difference between 1.25.5 and 1.26.0:

    https://github.com/nginx/nginx/compare/release-1.25.5...rele...

  • How to securely reverse-proxy ASP.NET Core web apps
    3 projects | dev.to | 4 Apr 2024
    However, it's very unlikely that .NET developers will directly expose their Kestrel-based web apps to the internet. Typically, we use other popular web servers like Nginx, Traefik, and Caddy to act as a reverse-proxy in front of Kestrel for various reasons:
  • Ask HN: Is nginx.org (the domain-name itself) gone?
    1 project | news.ycombinator.com | 22 Mar 2024
  • Freenginx: Core Nginx Developer Announces Fork of Popular Web Server
    1 project | news.ycombinator.com | 13 Mar 2024
    > I actually don't understand why I am seeing arguments like this all the time.

    Have a look at:

    https://github.com/nginx/nginx/blob/master/src/http/modules/...

    It's got the whole checklist: nginx idiosyncratic module system, inline parsing, custom utf conversion, buffer preallocation and adjustments, linked lists, comments about side effects of custom allocator, and probably other things.

    It's not easy to deal with source like that and any serious improvement to that area would effectively be a rewrite anyway.

    Since anything doing work in nginx is a module anyway, it wouldn't even have to be a full rewrite in one go.

  • The Internet is Maintained by 1 Software Developer
    1 project | dev.to | 25 Feb 2024
    According to this article, nGinx is being used to serve 34% of all websites in the world. I checked out who's contributing to nGinx, and just like I thought, the project has 8,208 commits, and 5,366 of those commits was made by 2 software developers; igorsoev and mdounin.
  • [06/52] Accessible Kubernetes with Terraform and DigitalOcean
    4 projects | dev.to | 23 Feb 2024
  • Freenginx.org
    11 projects | news.ycombinator.com | 14 Feb 2024
  • Performance benchmark of PHP runtimes
    7 projects | dev.to | 17 Jan 2024
    Nginx + Roadrunner (fcgi mode)
  • Web CGI programs aren't particularly slow these days
    1 project | news.ycombinator.com | 8 Jan 2024
    Apache’s mod_fastcgi’s last commit was 2 weeks ago:

    https://svn.apache.org/viewvc/httpd/httpd/trunk/

    It’s a fork of what you linked (and was more popular afaik back when fastcgi was state of the art, and apache was the undisputed champion of web servers).

    These days, nginx has more market share than apache, and its fastcgi module is one of the more recently updated ones in its source tree (5 months vs multiple years):

    https://github.com/nginx/nginx/tree/master/src/http/modules

    If I was going to build an embedded web server, I’d start with nostd rust, probably with though axum + tokio, since thats already memory safe-ish.

    If I needed fastcgi for some reason (dynamically loadable endpoints, or os-level isolation), there are at least four implementations of fastcgi for it. No idea if any are decent though.

  • Five Apache projects you probably didn't know about
    8 projects | dev.to | 21 Dec 2023
    APISIX is an API Gateway. It builds upon OpenResty, a Lua layer built on top of the famous nginx reverse-proxy. APISIX adds abstractions to the mix, e.g., Route, Service, Upstream, and offers a plugin-based architecture.

etcd

Posts with mentions or reviews of etcd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-16.
  • Oracle Linux 8.8'de PostgreSQL 13 Yedekli Yapı Nasıl Kurulur? - Patroni, ETCD, HAProxy
    1 project | dev.to | 7 Dec 2023
    sudo dnf -y install curl wget vim ETCD_RELEASE=$(curl -s https://api.github.com/repos/etcd-io/etcd/releases/latest|grep tag_name | cut -d '"' -f 4) echo $ETCD_RELEASE wget https://github.com/etcd-io/etcd/releases/download/${ETCD_RELEASE}/etcd-${ETCD_RELEASE}-linux-amd64.tar.gz tar xvf etcd-${ETCD_RELEASE}-linux-amd64.tar.gz cd etcd-${ETCD_RELEASE}-linux-amd64 sudo mv etcd* /usr/local/bin ls /usr/local/bin /usr/local/bin/etcd --version
  • Transitioning from more traditional OOP like C# to Go, what are the biggest coding style differences.
    2 projects | /r/golang | 16 Nov 2023
    Reading the standard library will give you ideas/insight about various Go idiomatic patterns/approaches, and you can see a full website/API implementation in the pkg.go.dev repository (https://github.com/golang/pkgsite). Projects like https://github.com/etcd-io/etcd may be interesting too.
  • Fault Tolerance in Distributed Systems: Strategies and Case Studies
    4 projects | dev.to | 18 Oct 2023
    Failure Detection and Recovery It’s not enough to have backup systems. It’s also crucial to detect failures quickly. Modern systems employ monitoring tools and rely on distributed coordination systems such as Zookeeper or etcd to identify faults in real-time: once detected, recovery mechanisms are triggered to restore the service.
  • The Complete Microservices Guide
    17 projects | dev.to | 21 Sep 2023
    Service Discovery: Microservices need to discover and communicate with each other dynamically. Service discovery tools like etcd, Consul, or Kubernetes built-in service discovery mechanisms help locate and connect to microservices running on different nodes within the infrastructure.
  • How is Apache APISIX Fast?
    6 projects | dev.to | 13 Sep 2023
    APISIX uses etcd to store and synchronize configurations.
  • Apache APISIX without etcd
    3 projects | dev.to | 27 Jul 2023
    etcd is an excellent key-value distributed database used internally by Kubernetes and managed by the CNCF. It's a great option, and that's the reason why Apache APISIX uses it too. Yet, it's not devoid of issues.
  • From /etc to database
    1 project | /r/BSD | 11 Jul 2023
    Someone on HN (https://news.ycombinator.com/item?id=36682595) suggested etcd (https://etcd.io)
  • Evaluating Apache APISIX vs. Spring Cloud Gateway
    3 projects | dev.to | 22 Jun 2023
    In traditional mode, APISIX stores its configuration in etcd. APISIX offers a rich API to access and update the configuration, the Admin API. In standalone mode, the configuration is just plain YAML. It's the approach for GitOps practitioners: you'd store your configuration in a Git repo, watch it via your favorite tool (e.g., Argo CD or Tekton), and the latter would propagate the changes to APISIX nodes upon changes. APISIX reloads its configuration every second or so.
  • Implementing a distributed key-value store on top of implementing Raft in Go
    5 projects | news.ycombinator.com | 25 May 2023
  • RedisRaft
    2 projects | news.ycombinator.com | 6 May 2023
    I am not sure neither. But this might overcome the etcd's soft storage limit of 8GB? [1]

    [1] https://github.com/etcd-io/etcd/issues/9771

What are some alternatives?

When comparing Nginx and etcd you can also consider the following projects:

Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

consul - Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

envoy - Cloud-native high-performance edge/middle/service proxy

minio - The Object Store for AI Data Infrastructure

Squid - Squid Web Proxy Cache

Vault - A tool for secrets management, encryption as a service, and privileged access management

nestjs-monorepo-microservices-proxy - Example of how to implement a Nestjs monorepo with no shared folder

Apache ZooKeeper - Apache ZooKeeper

Hiawatha - Hiawatha is an open source webserver with security, easy to use and lightweight as the three key features. Hiawatha supports among others (Fast)CGI, IPv6, URL rewriting and reverse proxy. It has security features no other webserver has, like blocking SQL injections, XSS and CSRF attacks and exploit attempts. The built-in monitoring tool makes it perfect for large scale deployments.

nsq - A realtime distributed messaging platform

YARP - A toolkit for developing high-performance HTTP reverse proxy applications.

traefik - The Cloud Native Application Proxy