6 ms·
Show HN: I ported my background task queue to TypeScript
Hello there,
One year ago I posted[0] on HN[1] a replacement for Celery, a background task queue for Python.
WakaQ has been running in production[2] for over a year, and it's performed flawlessly. I've even been able to reduce the amount of worker machines needed, saving compute costs, even though the number of tasks executed has increased over time[3].
Now I'm starting a new Next.js project using TypeScript, tRPC, Prisma, hosted on DigitalOcean App Platform and I needed to execute code in the background without Python. So, I've ported WakaQ into TypeScript. I just got it working today so it probably has room for improvement, but it's working in production!
Let me know what you think after checking out the repo[4].
[0] https://wakatime.com/blog/56-building-a-background-task-queue-in-python https://wakatime.com/blog/56-building-a-background-task-queu...
[1] https://news.ycombinator.com/item?id=32730038 https://news.ycombinator.com/item?id=32730038
[2] https://wakatime.com https://wakatime.com
[3] https://twitter.com/alanhamlett/status/1694460497276305427 https://twitter.com/alanhamlett/status/1694460497276305427
[4] https://github.com/wakatime/wakaq-ts https://github.com/wakatime/wakaq-ts