I'm looking to add persistent server storage to a simple Node.js WebSocket chat server.
For a peer-to-peer marketplace app (like Airbnb) that's hosted on Amazon AWS, what's a great way to store direct messages between users?
The ability to search messages is not a necessary feature.
I would just like to retrieve the last, say 50, messages (with paging) of each specific chat.
I'm storing the users in PostgreSQL, but I think there might be a better way to store the messages.