Jetpants: a MySQL toolkit for managing billions of rows and hundreds of DBs
engineering.tumblr.com
Jetpants: a MySQL toolkit for managing billions of rows and hundreds of DBs
1–10 of 28 posts
Re: Jetpants: a MySQL toolkit for managing billions of rows and hundreds of DBs
#2Re: Jetpants: a MySQL toolkit for managing billions of rows and hundreds of DBs
#3It's an elegant implementation. From a ~30 minute read through I reckon I can use it to replace our current "hacked up" solution in just a few hours.
Kudos Tumblr.
Re: Jetpants: a MySQL toolkit for managing billions of rows and hundreds of DBs
#4Re: Jetpants: a MySQL toolkit for managing billions of rows and hundreds of DBs
#5Re: Jetpants: a MySQL toolkit for managing billions of rows and hundreds of DBs
#6Re: Jetpants: a MySQL toolkit for managing billions of rows and hundreds of DBs
#7[deleted]
Re: Jetpants: a MySQL toolkit for managing billions of rows and hundreds of DBs
#8This is awesome! Also, I was at MySql event at Oracle two days ago and I overheard MySql guys talking with the pinterest folks about their sharding and how MySql team was going to announce something soon and wanted to get the pinterest's team feedback. MySql is doing their scripting on Python. So for a python shop, their release might be more interesting.
That said, I really grew to love Ruby over the course of this project, which is actually my first in the language. Ruby's open classes allowed me to write a pretty flexible plugin/callback system with very little code. Jetpants allows you to hook arbitrary methods in before or after any method in any Jetpants class, and these callbacks "stack" (with support for different priorities) so multiple plugins can hook-in to the same place.
Because every large site seems to tackle sharding slightly differently, I figured a nice plugin system was pretty important in order for anyone else to be able to use this :)
Re: Jetpants: a MySQL toolkit for managing billions of rows and hundreds of DBs
#9It's so good to see companies open sourcing some of their technologies. They probably do so mostly to improve their image, but who cares, and I have to say... it works with me! Thanks tumblr.
Re: Jetpants: a MySQL toolkit for managing billions of rows and hundreds of DBs
#10It's so good to see companies open sourcing some of their technologies. They probably do so mostly to improve their image, but who cares, and I have to say... it works with me! Thanks tumblr.
No. They mostly do it to ensure that the software is actively maintained. When a home grown software reaches a certain level of maturity it makes sense to set a roadmap and release it in the public domain. More users + developers = profit for both the company and the public.