I am using Redis Server as SignalR backplane in a Asp.net SignalR application. I also want to add some data in cache to the same Redis Server from the same application. The connection to the Redis server is maintained by the SignalR library and not exposed. Is it ok to create an additional connection to Redis server besides the one maintained by Signal library? The additional connection will allow me to store data in the Redis cache.
How do I cache data on a Redis server which is used as SignalR backplane?
522 Views Asked by Manish Garg At
1
There are 1 best solutions below
Related Questions in SIGNALR
- React-native Long-polling or SignalR/websocket?
- Problem when use SignalR with ASP.NET Boilerplate - Connection ID required
- Websocket/SignalR stops receving data consistently on low-end machine
- Implementing User-Specific Notifications with SignalR in an ASP.NET Core Web API & React Project
- SignalR Client won't print the Queue Position
- ANR about Unsafe.park (Native method) in play console
- SignalR client in Unity Android platform doesn't receive messages from server
- Why signal R app throwing SocketClosed exception for RedisConnection(in aws) for and state is "ConnectedEstablished" and app works fine?
- How cobrowsing works?
- SignalR timer event unsubscribe if user disconnected or browser closed
- Issue with Microsoft.AspNet.SignalR.Client hanging/crashing app after app being in background for 10 + minutes
- How to configure WebSocket for SignalR for successful response in listener? How to capture messages from developer console using WebSocket samplers?
- Blazor StateHasChanged() method not working with SignalR
- How to check if SignalR is using redis elasticache programmatically in C#. Is there any code to get stored key value pairs
- Can I get results from multiple SignalR clients from Hub
Related Questions in SIGNALR-BACKPLANE
- Masstransit and signalR override consumer definition
- Can we rely on IRedisFeature from SignalR Redis backplane to track groups to which connection belongs?
- How to deserialize SignalR messages from Redis backplane
- Why am I getting a 404 error in SignalR Backplane with SQL Server in .Net Core?
- How does SignalR's scaleout dependencyResolver UseSqlServer work under the hood?
- Azure SignalR Service: No active connection for user
- SignalR Scaleout using Sql Server (.net6)
- Signalr connection failed for API hosted on webgarden
- IIS maximum worker processors and Signalr
- SignalR backplane expected behavior
- Can I avoid of using a SignalR backplane behind a load balancer?
- Inject service to configure SignalR backplane
- ASP.NET SignalR with Redis scaleout/backplane causes linear increase in server load
- .NET Core based SignalR client with Redis Backplane receiving duplicate messages
- External Messaging SignalR (DB ==> WebServer)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Additional connections should be fine. SignalR uses Redis for messaging on the
signalrchannel. As long as you do not publish anything there yourself, it should work fine. We use the same Redis server as SignalR for different messages on different channels.Just do
redis = ConnectionMultiplexer.Connect("RedisHost:RedisPort");where you want to make a new connection.RedisHostandRedisPortare the same as with SignalR.