|
Answer» While using Redis, you must have to take care of following instructions:
- Select a consistent METHOD to name and PREFIX your keys. Manage your namespace.
- Create a “Registry” of key prefixes that maps each of your internal documents for those applications which “own” them.
- For every class you put through into your Redis infrastructure: design, implement and test the mechanisms for garbage collection or data migration to ARCHIVAL STORAGE.
- Design, implement and test a sharding library before you have invested much into your application deployment and make sure that you keep a registry of “shards” replicated on each server.
- Separate all your K/V store and related operations into your own library/API or service.
While using Redis, you must have to take care of following instructions:
|