Task: Let's imagine that hight concurrent environment, when both statements are true:
- You want to immediately response to user on user event. For that you need to fetch some data from data storage + process them;
- Your system is read/write intensive, and it's very important to have data consistency.
Let it be popular hotel booking system.
IMDG:
As I understand IMDG should be used when we need to process lots of data and immediately (on user event, service request etc.). So it looks like an ideal option for popular hotel booking system.
IMDG vs NoSQL (+ Distributed Cache):
IMDG has one disadvantage - costs. RAM is more expensive and IMDGs are also far from open source. Moreover, there are articles which claims you don't need IMDG, and NoSQL is good enough.
Question:
So I would very appreciate your experience about how to determine when NoSQL starts to stuck and you need to take In Memory Data Grid?