Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4089

When to use stateful service instead of stateless service with remote cache like Redis

$
0
0

Stateless service with remote cache like Redis will provide functionality simiar to that of having stateless service. With stateless service the complications of configuring load balancers to use sticky sessions goes away and scaling horizontally becomes very easy. So I'm not clear when to use stateful service instead of stateless service with remote cache like Redis?

The only scenario I could think of is to save cache server cost. Are there any more usecases which I am missing?


Viewing all articles
Browse latest Browse all 4089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>