Reputation: 83
I have design question about Ignite web session clustering.
I have springboot app with UI. It clustered app ie multiple instance of springboot app behind the load balancer. I am using org.apache.ignite.cache.websession.WebSessionFilter()to intercept request and create\manage session for any incoming request.
I have 2 option
Few considerations
Now the cache being embedded, its using CPU and memory from app jvm. It has potential of starving my app of resources.
Few considerations
Are there any other design approach I can take? Am I overlooking anything in either approach?
If you have dealt with it, please share your thoughts.
Thanks in advance. Shri
Upvotes: 1
Views: 399
Reputation: 650
if you have a local cache for sessions and sticky sessions why do you need to use ignite at all?
However, It's better to go with ignite, your app will have HA, if some node is failed, the whole app still will work fine. I agree you should split app cluster and ignite cluster, however, I think you shouldn't care about the server and client connection problems. This kind of problems should lead to 500 error, would you emulate main storage if you DB go down or you can't connect to it?
Upvotes: 1