Skip to content

Instantly share code, notes, and snippets.

@itamarhaber
Last active September 25, 2015 08:49
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save itamarhaber/d125cec7ebc5ec3886ab to your computer and use it in GitHub Desktop.
Save itamarhaber/d125cec7ebc5ec3886ab to your computer and use it in GitHub Desktop.
Ten Redis Commandments

creative

"Went up the mountain, spent some time there, a bush or something was burning and I must have inhaled the smoke because I came back down carrying these two slabs of stone...", HippieLogLog

Ten Redis Commandments

I. I am thy open source, BSD licensed, data structure store

II. Thou shalt have no other data but that which fits in RAM

III. Thou shalt not take (mostly) more than one CPU core (unless thou be clustering)

IV. Remember to persist your data, to keep it in case of meltdowns

V. Honour thy master and thy slave, they grant thou high availability

VI. Thou shalt not KEYS (SCAN is better, but thou probably need an "index")

VII. Thou shalt not utter a command before you RTFM

VIII. Thou shalt not SELECT

IX. Thou shalt not rant - ideate and contribute instead

X. Thou shalt be of the Redis community

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment