Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

asgi

Gunicorn gevent workers vs Uvicorn ASGI

August 18, 2023 by Tarik

Gunicorn has a pre-fork worker model A pre-fork worker model basically means a master creates forks which handle each request. A fork is a completely separate *nix process (Source). Uvicorn is a ASGI server running uvloop Python async needs a event loop for it to use it’s async features. And uvloop is an alternative to … Read more

Categories python Tags asgi, django, gunicorn, python, uvicorn Leave a comment

Django 3.x – which ASGI server (Uvicorn vs. Daphne)

July 20, 2023 by Tarik

Simple Answer: Since you’ve used gunicorn before and you’re familiar with it, go with uvicorn, specially since it should be used as a gunicorn worker in production. If you have no experience with it, then I would suggest daphne. Both will do the job on a simple project, and the performance seems to be equal. … Read more

Categories django Tags asgi, daphne, django, uvicorn Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa