Hi @Lata Rajput Thank you for posting your question.
With current versions of StackExchange.Redis, connection pools are not necessary or recommended. A single ConnectionMultiplexer instance can support a high load and many concurrent requests when configured properly and accessing data using the *Async methods. A pool of ConnectionMultiplexer instances running in the same process can actually add overhead and introduce conflicts and contention issues that lead to errors.
1MB is very large – Redis’s design is optimized to serve smaller pieces of data with very low latency. Transmitting such large values is likely to cause problems at multiple points in the system, especially where clients read and process the responses. I’d recommend breaking the data into smaller pieces or looking into another data store designed for large values.
General guidance for diagnosing timeouts:
Regards,
Oury