I have a service that will listen to a stream via a websocket and compute some temporary information (say, number of busses currently on the network). This number would change every few seconds.
I don't want to store this information indefinitely, I just need other services to access the most recent version of this information (number of busses currently on the public transport) at any point.
What type of storage would you recommend for this short term non presistent type of information.
I've been thinking about simply storing a json file to S3 and then overriding it when information changes. The other option was using DynamoDB.
I'm wondering what would be the simplest and most cost effective option for this?