engineering87 / WART

Transforms REST APIs into SignalR events, bringing real-time interaction to your applications.
MIT License
15 stars 1 forks source link

Proposal: Decouple API and SignalR with an In-Memory Queue #53

Open engineering87 opened 5 days ago

engineering87 commented 5 days ago

Description:

Thinking about adding an in-memory queue to decouple the API from SignalR. Currently, directly sending events from the API to SignalR can introduce issues with resilience and scalability. This enhancement would improve the architecture by offloading event delivery to a background process, ensuring the system can handle failures and high loads more gracefully.

Motivation:

Directly coupling a REST API to SignalR for real-time message broadcasting can lead to challenges in certain scenarios:

Proposed Implementation:

engineering87 commented 2 days ago

This is being developed on the feature/background-event-processing branch.