Sunday, 19 January 2020

Should I be using a cache or DB for this type of operation

Hi all, I have an application with an extremely simple back end .​User sends one long string, a key is made and sent back to the client. If the client uses this key as a route param, the long string that they just sent will be returned. However, I would only want to keep this string for a maximum of 24 hours.​Is this something that could be achieved with caching only? Or would a database be a bit simpler to manage.​Thanks in advanced for your feedback

Submitted January 19, 2020 at 06:34PM by TaGeuelePutain

No comments:

Post a Comment