MongoDB's lead developer: Foursquare outage post mortem
groups.google.com
MongoDB's lead developer: Foursquare outage post mortem
1–10 of 184 posts
Re: MongoDB's lead developer: Foursquare outage post mortem
#2Re: MongoDB's lead developer: Foursquare outage post mortem
#3117 GB of data and 300 B for a checkin means that Foursquare has had 408,944,640 checkins.
Re: MongoDB's lead developer: Foursquare outage post mortem
#4Where did Foursquare find their engineers? I hope no one lost their job here but this is pretty elementary stuff.
Re: MongoDB's lead developer: Foursquare outage post mortem
#5Re: MongoDB's lead developer: Foursquare outage post mortem
#6117 GB of data and 300 B for a checkin means that Foursquare has had 408,944,640 checkins.
Re: MongoDB's lead developer: Foursquare outage post mortem
#7For example, if we had notifications in place to alert us 12 hours earlier that we needed more capacity, we could have added a third shard, migrated data, and then compacted the slaves. Where did Foursquare find their engineers? I hope no one lost their job here but this is pretty elementary stuff.
Sharding needs to be managed in a way that evenly distributes the data. I would never do it by user ID unless a proper analysis of the data showed it to be a fairly even distribution.
Re: MongoDB's lead developer: Foursquare outage post mortem
#8Re: MongoDB's lead developer: Foursquare outage post mortem
#9I wonder if there ought to be a move to allow for sharded systems to lump groups/pages nicely.. kind of like MySQL's partitioning.. where you won't run into the issue of sparsing out pages when you migrate data.. instead you'd effectively migrate pages.