Yuji
Explore posts from serversImplementing SignalR for Real-Time Notifications with Offline Fallback
I'm exploring how to implement SignalR for push notifications and evaluating two connection management strategies:
1. In-memory tracking with ConcurrentDictionary – Simple but does not persist connections if the server restarts.
2. Storing connections in Redis or a database – More scalable and persistent, suitable for future growth.
My Requirements:
User Base: 100–200 users (with potential growth).
Performance: Notifications should be delivered instantly.
Offline Handling: If the app is closed, fallback to Firebase Cloud Messaging (FCM).
Self-Hosting: I want to self-host SignalR and am open to exploring both self-hosted SignalR with Kestrel and SignalR with a reverse proxy like Nginx or Apache instead of using Azure SignalR Service.
I need reliable resources or guidance to implement this effectively. I have searched online but want to ensure I don’t miss anything. Any recommendations?
52 replies
Optimizing Filtering and Pagination: Reducing Backend Requests Efficiently
I want to implement filtering and pagination while minimizing backend requests as much as possible.
Here’s the challenge:
-I know caching can help, but if the filtering logic is complex, managing cache efficiently can also become challenging.
-How can I reduce backend requests while handling filtering and pagination efficiently?
29 replies