Skip to content

Instantly share code, notes, and snippets.

@erik
Created November 4, 2011 22:27
Show Gist options
  • Save erik/1340649 to your computer and use it in GitHub Desktop.
Save erik/1340649 to your computer and use it in GitHub Desktop.
<curtis> hm... there's an idea
<curtis> redis + sinatra!
* CodeBlock sighs at people misusing redis :P
<curtis> it's a database
<curtis> how do you misuse it?
<CodeBlock> it's a key-value store :|
<curtis> how do you misuse it
<curtis> if you use it as a pure key-value store... there isn't much use for it at all
<CodeBlock> true
* CodeBlock shrugs
<CodeBlock> idk, I'm new to NoSQL :P I should probably play around with redis before I say people are misusing it... I am just having trouble coming up with a decent usecase for it
<CodeBlock> to me redis is... very very much like memcached
<curtis> it can be used as a cache...
<dom96> But... memcached isn't a database.
<dom96> From what I understand.
<curtis> i don't know... i don't use databases at all
<boredomist> why hello hello
<CodeBlock> dom96: So that's where my confusion is -- is redis actually considered a database then?
<CodeBlock> or
<dom96> CodeBlock: I believe so. Yes.
<CodeBlock> better
<CodeBlock> dom96: what makes redis a db and not memcache
<CodeBlock> :P
<boredomist> i thought redis was just a cache?
<dom96> CodeBlock: You can store data in it. So therefore it's a database :P
<CodeBlock> boredomist: I thought so too
<CodeBlock> dom96: persistently?
<boredomist> "Type Document-oriented database"
<dom96> CodeBlock: Sure. You can save the data to disk.
<CodeBlock> boredomist: I was wrong then
<boredomist> APPARENTLY IT'S BOTH
<boredomist> sup capslock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment