Posts

Showing posts with the label Persistence

Why did you choose *that* for persistence?

Image
“ We use levelDB because it’s fast”  (followed by incoherent rambling where ‘ fast ’ is never actually defined)  —  #CowboyDeveloper If you’re doing any kind of development, you’ll eventually run into a situation where you need to persist data. At this point, you’ll probably end up doing one of three things 1.   Files : Easy one right? Just write your data to a file, and it’s there when you need it. That is, until you need to   find   stuff, which is when you discover 2.   SQLite : Which gives you all sorts of fun query capabilities, and is great till you suddenly realize that you need to “scale”, or store “documents” (scare quotes because you usually don’t, but whatever). That’s when you discover 3.   MongoDB : Ok, that’s a joke, and a bad joke at that. The thing is, you end up writing data to   some   sort of database. For most people, that seems to be the point at which all rational cogitation ends. For whatever reason, the choice ends ...