nowfound

Dev tools · February 28, 2023

SP

StarQueue - Postgres database backed message queue server for Python

Hi folks, https://github.com/starqueue/starqueue/ This is a project I wrote and since I am doing nothing with it any more I thought I would publish the source code in case anyone finds it interesting. I wrote this at a time that I was finding message queues interesting. StarQueue is a message queue server written in Python. It is designed to be a more simple copy of Amazon Simple Queue Server. Clients access it via HTTP. The API is documented at https://github.com/starqueue/starqueue/tree/main/starqueueserver/website The…

What it does

In the maker’s words, at launch

Hi folks, https://github.com/starqueue/starqueue/ This is a project I wrote and since I am doing nothing with it any more I thought I would publish the source code in case anyone finds it interesting. I wrote this at a time that I was finding message queues interesting. StarQueue is a message queue server written in Python. It is designed to be a more simple copy of Amazon Simple Queue Server. Clients access it via HTTP. The API is documented at https://github.com/starqueue/starqueue/tree/main/starqueueserver/website The database is Postgres. When I developed it initially, I included seamless support for Postgres, MySQL and Microsoft SQL server. At some point in the development I gave up on all databases except Postgres, though I have left the MySQL and SQL server code in place. I deployed StarQueue as an online service at one point (no longer online). This github repo is a copy of the source code for that service. This project is not live and is archived, but I have posted it here in case anyone finds the source code interesting. After I finished StarQueue I found it frustrating that StarQueue's Python based/db backed message queue is not fast, so I wrote a prototype HTTP message queue in Rust, which saved its messages as plain files on the file system, using the fact that Linux's move is atomic to ensure message could not be double handled - that was so fast it easily maxed out the hard disk write speed and left many other message queue systems behind with 30,000 messages a second. Frustrated by the speed limit of the hard disk I updated the prototype to operate as RAM only and that was able to handle about 8 million messages a second. More important things came up for me to do, and I never got that Rust project to completion.

Does the same job

all alternatives →

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, February 2023

the whole month →
  • Bento1,373

    A link in bio, but rich and beautiful

    Dev tools · 2023 · linktr.ee

  • Jitter 1.01,020

    A fast and simple animation tool on the web 💫

    Work · 2023 · jitter.video

  • Twinr 2.0961

    Convert any website to mobile apps in minutes

    Dev tools · 2023 · twinr.dev

  • Your on-demand presentation generator

    AI · 2023 · decktopus.com

  • Aaply812

    Make your mobile app happen

    Dev tools · 2023 · aaply.app

  • Scalenut783

    AI that powers your entire content lifecycle

    AI · 2023 · scalenut.com