https://github.com/ntdls/ntdls.memoryqueue
An in-memory, non-persistent message queue designed for efficient inter-process communication, task queuing, load balancing, and data buffering over TCP/IP
https://github.com/ntdls/ntdls.memoryqueue
inter-process-communication ipc message-broker message-queue netmq socket-programming tcp-ip zeromq
Last synced: 23 days ago
JSON representation
An in-memory, non-persistent message queue designed for efficient inter-process communication, task queuing, load balancing, and data buffering over TCP/IP
- Host: GitHub
- URL: https://github.com/ntdls/ntdls.memoryqueue
- Owner: NTDLS
- License: mit
- Created: 2023-11-07T22:01:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-08T04:55:24.000Z (4 months ago)
- Last Synced: 2025-04-12T04:48:10.833Z (26 days ago)
- Topics: inter-process-communication, ipc, message-broker, message-queue, netmq, socket-programming, tcp-ip, zeromq
- Language: C#
- Homepage:
- Size: 1.33 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NTDLS.MemoryQueueServer
📦 Be sure to check out the NuGet package: https://www.nuget.org/packages/NTDLS.MemoryQueue
In memory non-persistent message queue intended for inter-process-communication,
queuing, load-balancing and buffering over TCP/IP.## Running the server:
Running the server can literally be done with two lines of code and can be run in the same process as the client.
The server does not have to be dedicated either, it can be one of the process that is involved in inner-process-communication.```csharp
internal class Program
{
static void Main()
{
var server = new MqQueuingService();//Listen for queue clients on port 45784, listen for web UI requests on port 8080.
server.StartAsync(45784, 8080);Console.WriteLine("Press [enter] to shutdown.");
Console.ReadLine();server.StopAsync();
}
}
```
See documentation of [NTDLS.MemoryQueue](https://www.nuget.org/packages/NTDLS.MemoryQueue) for client and server interaction examples.## License
[MIT](https://choosealicense.com/licenses/mit/)