54 points · by jedberg · 14y ago · 35 comments
Also, if you're attending or watching at home and there is something specific you're hoping I will cover, tell me here in the comments and I'll do my best to cover it!
It seemed like the object-blob Postgres store was a disaster, then they brought in Cassandra which was initially used as a cache of sorts, but now is the primary point of contact for threads apparently?
Reverse-engineering the persistence strategy from the open sourced code is more tedious and potentially inaccurate than I am comfortable with, so could a Reddit employee or code contributor provide some insight as to how those problems were worked past?
There was Reddit downtime today (read-only mode), which is common. What's the usual cause of that sort of thing these days?
Now, maybe that was Amazon's fault for selling a flaky storage solution, or maybe it was our fault for not getting our databases the hell off of it, but yeah, it definitely wasn't Postgres's fault.
I'm gonna go page ketralnis, since he got his hands a lot dirtier than I did with respect to reddit's storage technologies.
As a side note, things have been much better, from what I hear, since they moved to local storage. Things work much better here at Netflix for the same reason.
I haven't had much of a chance to play with the new Provisioned IOPS much, but from what I've seen that is a pretty solid storage solution.
Increased traffic? I don't think I understand the question
http://blog.reddit.com/2010/01/why-did-we-take-reddit-down-f...
We were already using memcachedb as a persistent keystore, "caching" precomputed listings and comment threads. When it started becoming more trouble than it was worth to maintain, we decided to try cassandra as a beefier replacement.
Mostly by getting off of EBS
> It seemed like the object-blob Postgres store was a disaster
Goodness no
> then they brought in Cassandra which was initially used as a cache of sorts, but now is the primary point of contact for threads apparently?
I don't know what "primary contact for threads" means, Cassandra doesn't really do IPC.
Some datatypes are in Postgres (Links, Accounts) and some datatypes are in Cassandra (Votes, Saves/Hides).
> There was Reddit downtime today (read-only mode), which is common. What's the usual cause of that sort of thing these days?
I can't speak for today now that EBS is mostly out of the loop, but it used to be EBS issues on a DB master
I'd love to know what I did to harm you so that I can apologize.
Or do you just like giving me a hard time for the lulz?