Hello, do you have any ideas of how to store comments in memcache?
Let's imagine that I'm having image with a lot of comments for it. All comments are separated in pages. User can define number of comments per page in his profile.
How should I store comments in memecache?
Should I store all comment's IDs in one memcache key or should I separate it into some keys (depending on page number)? How should I store texts of comments in memcache?
What is the best practice? P.S. I'm expecting short comments (like Youtube have) ~ 100-150 bytes per comment approximately.
Thank you.