Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis key naming conventions #24

Merged
merged 1 commit into from
Nov 8, 2016
Merged

Redis key naming conventions #24

merged 1 commit into from
Nov 8, 2016

Conversation

brainix
Copy link
Owner

@brainix brainix commented Nov 8, 2016

From the Redis data types intro (http://redis.io/topics/data-types-intro):

Try to stick with a schema. For instance object-type:id is a good idea, as in user:1000. Dots or dashes are often used for multi-word fields, as in comment:1234:reply.to or comment:1234:reply-to.

From the Redis data types intro
(http://redis.io/topics/data-types-intro):

Try to stick with a schema. For instance `object-type:id` is a good
idea, as in `user:1000`. Dots or dashes are often used for multi-word
fields, as in `comment:1234:reply.to` or `comment:1234:reply-to`.
@brainix
Copy link
Owner Author

brainix commented Nov 8, 2016

🔥 👢 🔥

@brainix brainix merged commit 97ce58b into master Nov 8, 2016
@brainix brainix deleted the redis-key-conventions branch November 8, 2016 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant