Reputation: 4801
I've been looking into creating a notification system in PHP. Much like the one Facebook has got.
The applications is primarily running MySQL for data storage, however MySQL is way to slow for handling something such as notifications.
Here I was thinking Redis, since it's blazingly fast and very simple, and it allow entries to be deleted by themselves after a little while (which is exactly what I want). However I do have so concerns. I read the article Redis Persistence.
As I don't want to lose data and still get a fast experience from Redis, I was wondering what method to use? RDB or AOF or maybe even both? The speed is very important.
So what I'm asking
Upvotes: 1
Views: 950
Reputation: 1176
Upvotes: 2