7 releases

0.4.2 Dec 18, 2021
0.4.1 Nov 22, 2021
0.4.0 Oct 23, 2021
0.3.2 Oct 16, 2021
0.2.0 Sep 5, 2021

#462 in Memory management

Download history 9/week @ 2023-07-29 8/week @ 2023-08-05 10/week @ 2023-08-12 13/week @ 2023-08-19 12/week @ 2023-08-26 6/week @ 2023-09-02 18/week @ 2023-09-09 14/week @ 2023-09-16 6/week @ 2023-09-23 12/week @ 2023-09-30 6/week @ 2023-10-07 10/week @ 2023-10-14 8/week @ 2023-10-21 21/week @ 2023-10-28 9/week @ 2023-11-04 17/week @ 2023-11-11

57 downloads per month
Used in 2 crates

MIT license

747 lines

Welcome to SonyaWQ 👋

Version License: MIT

SonyaWQ is a fast, distributed queue that provides a flexible realization of the Web Queue in Web Queue Worker architecture. SonyaWQ realize Service Mesh architecture with service discovery support.

The Web-Queue-Worker architecture defines a web portion that handles HTTP requests and a worker portion that handles time or processing-intensive operations. A queue is used for asynchronous communication between the web and the worker.

Top use cases

Heavy requests

Move your long time and heavy tasks to backend workers. When they will be processed notify clients with SonyaWQ.

Broadcast updates between clients

Notify clients about any changes on every device.


Add interactive for your clients.

Chat rooms, text editing, playing chess, etc.


Flexible configuring

SonyaWQ supports simple and flexible configuring.

You don't need to use any configurations to up the simple service

Configure documentation

Simple API

SonyaWQ has a simple API that can be used from websites frontend, backends, and other services.

API documentation


SonyaWQ supports service mesh architecture.

Sharding documentation

Request tokens protection

SonyaWQ provides the JWT and Service Token requests protection support.

Tokens documentation

Save state changes

SonyaWQ uses the sequences mechanism that saves from losing data when the client has some troubles.


Architectures visualization

One queue

All clients and backends will use only one queue. Good solutions for small projects.

Queue only schema

Service Mesh

With proxies will automatically distribute queues messages between some queues. The best solution for increasing your scalability.

Queue only schema


👤 Mikhail Panfilov

🤝 Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!


~828K SLoC