Alternatives to gevent logo

Alternatives to gevent

asyncio, Gunicorn, Tornado, Twisted, and Celery are the most popular alternatives and competitors to gevent.
19
41
+ 1
0

What is gevent and what are its top alternatives?

It is a coroutine -based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev or libuv event loop.
gevent is a tool in the Web Servers category of a tech stack.
gevent is an open source tool with GitHub stars and GitHub forks. Here’s a link to gevent's open source repository on GitHub

Top Alternatives to gevent

  • asyncio

    asyncio

    This module provides infrastructure for writing single-threaded concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related primitives. ...

  • Gunicorn

    Gunicorn

    Gunicorn is a pre-fork worker model ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resources, and fairly speedy. ...

  • Tornado

    Tornado

    By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user. ...

  • Twisted

    Twisted

    Twisted is an event-driven networking engine written in Python and licensed under the open source ​MIT license. Twisted runs on Python 2 and an ever growing subset also works with Python 3. Twisted also supports many common network protocols, including SMTP, POP3, IMAP, SSHv2, and DNS. ...

  • Celery

    Celery

    Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well. ...

  • Waitress

    Waitress

    It is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on CPython on Unix and Windows under Python 2.7+ and Python 3.4+. It is also known to run on PyPy 1.6.0 on UNIX. ...

  • uWSGI

    uWSGI

    The uWSGI project aims at developing a full stack for building hosting services. ...

  • NGINX

    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. ...

gevent alternatives & related posts

asyncio logo

asyncio

81
117
13
Asynchronous I/O, event loop, coroutines and tasks
81
117
+ 1
13
PROS OF ASYNCIO
  • 4
    Cooperative Multitasking
  • 4
    I/O Wait
  • 3
    Network Call
  • 2
    I/O bound computation
CONS OF ASYNCIO
    Be the first to leave a con

    related asyncio posts

    Jelena Dedovic

    Investigating Tortoise ORM and GINO ORM...

    I need to introduce some async ORM with the current stack: Tornado with asyncio loop, AIOHTTP, with PostgreSQL and MSSQL. This project revolves heavily around realtime and due to the realtime requirements, blocking during database access is not acceptable.

    Considering that these ORMs are both young projects, I wondered if anybody had some experience with similar stack and these async ORMs?

    See more
    Gunicorn logo

    Gunicorn

    821
    728
    76
    A Python WSGI HTTP Server for UNIX
    821
    728
    + 1
    76
    PROS OF GUNICORN
    • 34
      Python
    • 30
      Easy setup
    • 7
      Reliable
    • 3
      Fast
    • 2
      Light
    CONS OF GUNICORN
      Be the first to leave a con

      related Gunicorn posts

      Pierre Chapuis

      Unlike our frontend, we chose Flask, a microframework, for our backend. We use it with Python 3 and Gunicorn.

      One of the reasons was that I have significant experience with this framework. However, it also was a rather straightforward choice given that our backend almost only serves REST APIs, and that most of the work is talking to the database with SQLAlchemy .

      We could have gone with something like Hug but it is kind of early. We might revisit that decision for new services later on.

      See more

      I use Gunicorn because does one thing - it’s a WSGI HTTP server - and it does it well. Deploy it quickly and easily, and let the rest of your stack do what the rest of your stack does well, wherever that may be.

      uWSGI “aims at developing a full stack for building hosting services” - if that’s a thing you need then ok, but I like the principle of doing one thing well, and I deploy to platforms like Heroku and AWS Elastic Beanstalk where the rest of the “hosting service” is provided and managed for me.

      See more
      Tornado logo

      Tornado

      312
      368
      165
      A Python web framework and asynchronous networking library, originally developed at FriendFeed
      312
      368
      + 1
      165
      PROS OF TORNADO
      • 37
        Open source
      • 31
        So fast
      • 27
        Great for microservices architecture
      • 20
        Websockets
      • 17
        Simple
      • 13
        Asynchronous
      • 10
        Python
      • 7
        Lightweight
      • 3
        Handles well persistent connexions
      CONS OF TORNADO
      • 2
        Event loop is complicated

      related Tornado posts

      Around the time of their Series A, Pinterest’s stack included Python and Django, with Tornado and Node.js as web servers. Memcached / Membase and Redis handled caching, with RabbitMQ handling queueing. Nginx, HAproxy and Varnish managed static-delivery and load-balancing, with persistent data storage handled by MySQL.

      See more
      Twisted logo

      Twisted

      48
      76
      10
      Event-driven networking engine written in Python
      48
      76
      + 1
      10
      PROS OF TWISTED
      • 5
        Easy-to-understand concurrency
      • 3
        Twisted prevails
      • 1
        It works
      • 1
        Solid, flexible, powerful
      CONS OF TWISTED
        Be the first to leave a con

        related Twisted posts

        Celery logo

        Celery

        1.3K
        1.3K
        265
        Distributed task queue
        1.3K
        1.3K
        + 1
        265
        PROS OF CELERY
        • 94
          Task queue
        • 61
          Python integration
        • 37
          Django integration
        • 29
          Scheduled Task
        • 18
          Publish/subsribe
        • 6
          Easy to use
        • 6
          Various backend broker
        • 5
          Great community
        • 4
          Workflow
        • 4
          Free
        • 1
          Dynamic
        CONS OF CELERY
        • 4
          Sometimes loses tasks
        • 1
          Depends on broker

        related Celery posts

        James Cunningham
        Operations Engineer at Sentry · | 18 upvotes · 1.3M views
        Shared insights
        on
        CeleryCeleryRabbitMQRabbitMQ
        at

        As Sentry runs throughout the day, there are about 50 different offline tasks that we execute—anything from “process this event, pretty please” to “send all of these cool people some emails.” There are some that we execute once a day and some that execute thousands per second.

        Managing this variety requires a reliably high-throughput message-passing technology. We use Celery's RabbitMQ implementation, and we stumbled upon a great feature called Federation that allows us to partition our task queue across any number of RabbitMQ servers and gives us the confidence that, if any single server gets backlogged, others will pitch in and distribute some of the backlogged tasks to their consumers.

        #MessageQueue

        See more
        Pulkit Sapra

        Hi! I am creating a scraping system in Django, which involves long running tasks between 1 minute & 1 Day. As I am new to Message Brokers and Task Queues, I need advice on which architecture to use for my system. ( Amazon SQS, RabbitMQ, or Celery). The system should be autoscalable using Kubernetes(K8) based on the number of pending tasks in the queue.

        See more
        Waitress logo

        Waitress

        10
        34
        0
        A production-quality pure-Python WSGI server
        10
        34
        + 1
        0
        PROS OF WAITRESS
          Be the first to leave a pro
          CONS OF WAITRESS
            Be the first to leave a con

            related Waitress posts

            uWSGI logo

            uWSGI

            190
            256
            8
            uWSGI application server container
            190
            256
            + 1
            8
            PROS OF UWSGI
            • 4
              Faster
            • 3
              Simple
            • 1
              Powerful
            CONS OF UWSGI
              Be the first to leave a con

              related uWSGI posts

              I find I really like using GitHub because its issue tracker integrates really well into my project flow and the projects feature allows me to organize different efforts into boards. The automation features allow my issues to automatically progress through some states on the boards when I merge pull requests.

              My Python / Django app is deployed on Heroku with PostgreSQL database and uWSGI webserver.

              See more

              I use Gunicorn because does one thing - it’s a WSGI HTTP server - and it does it well. Deploy it quickly and easily, and let the rest of your stack do what the rest of your stack does well, wherever that may be.

              uWSGI “aims at developing a full stack for building hosting services” - if that’s a thing you need then ok, but I like the principle of doing one thing well, and I deploy to platforms like Heroku and AWS Elastic Beanstalk where the rest of the “hosting service” is provided and managed for me.

              See more
              NGINX logo

              NGINX

              93.7K
              44.2K
              5.5K
              A high performance free open source web server powering busiest sites on the Internet.
              93.7K
              44.2K
              + 1
              5.5K
              PROS OF NGINX
              • 1.4K
                High-performance http server
              • 896
                Performance
              • 728
                Easy to configure
              • 606
                Open source
              • 529
                Load balancer
              • 286
                Scalability
              • 285
                Free
              • 222
                Web server
              • 173
                Simplicity
              • 134
                Easy setup
              • 29
                Content caching
              • 19
                Web Accelerator
              • 14
                Capability
              • 13
                Fast
              • 11
                Predictability
              • 10
                High-latency
              • 7
                Reverse Proxy
              • 6
                Supports http/2
              • 4
                The best of them
              • 4
                Lots of Modules
              • 4
                Enterprise version
              • 4
                Great Community
              • 3
                High perfomance proxy server
              • 3
                Streaming media
              • 3
                Embedded Lua scripting
              • 3
                Reversy Proxy
              • 3
                Streaming media delivery
              • 2
                Fast and easy to set up
              • 2
                Lightweight
              • 2
                Slim
              • 2
                saltstack
              • 1
                Virtual hosting
              • 1
                Blash
              • 1
                GRPC-Web
              • 1
                Ingress controller
              • 1
                Narrow focus. Easy to configure. Fast
              • 1
                Along with Redis Cache its the Most superior
              • 0
                A
              CONS OF NGINX
              • 8
                Advanced features require subscription

              related NGINX posts

              Recently I have been working on an open source stack to help people consolidate their personal health data in a single database so that AI and analytics apps can be run against it to find personalized treatments. We chose to go with a #containerized approach leveraging Docker #containers with a local development environment setup with Docker Compose and nginx for container routing. For the production environment we chose to pull code from GitHub and build/push images using Jenkins and using Kubernetes to deploy to Amazon EC2.

              We also implemented a dashboard app to handle user authentication/authorization, as well as a custom SSO server that runs on Heroku which allows experts to easily visit more than one instance without having to login repeatedly. The #Backend was implemented using my favorite #Stack which consists of FeathersJS on top of Node.js and ExpressJS with PostgreSQL as the main database. The #Frontend was implemented using React, Redux.js, Semantic UI React and the FeathersJS client. Though testing was light on this project, we chose to use AVA as well as ESLint to keep the codebase clean and consistent.

              See more
              Gabriel Pa
              Shared insights
              on
              TraefikTraefikNGINXNGINX
              at

              We switched to Traefik so we can use the REST API to dynamically configure subdomains and have the ability to redirect between multiple servers.

              We still use nginx with a docker-compose to expose the traffic from our APIs and TCP microservices, but for managing routing to the internet Traefik does a much better job

              The biggest win for naologic was the ability to set dynamic configurations without having to restart the server

              See more