We use a combo of Redis, DynamoDB, and also pre-processing results that are stored at the system level. So like some statistic reports not available on Classic are calculated at the cloud level and then stored for the community use. This is particularly true for intensive calculations that would time out if you try to do it live.
There's also a lot of delayed requests that go into queue when processing a request or data in real time is not needed.