Blake Matheny

Apr 23

[video]

kfmatheny1985:

Guess who’s visiting Tumblr today?!

Alan will be visiting at 2:00. Come say hi.

kfmatheny1985:

Guess who’s visiting Tumblr today?!

Alan will be visiting at 2:00. Come say hi.

Apr 22

Open sourcing memkeys

We rely on memcache pretty heavily at Tumblr, with over 10TB of cache memory available across the stack. One of the things we’ve historically had a challenging time with at Tumblr is finding hot keys. A hot key is a memcache key getting dramatically more activity than other keys. This can have a significant performance impact on your cache backend.

We spent the past few days working on a C++ implementation of mctop*, which we’re happy to release today as memkeys. We do some pretty interesting stuff in memkeys to keep from dropping packets, some of which is documented in the wiki. I’m particularly proud of the striped lock-free queue implementation. In some basic benchmarks I found that memkeys dropped less than 2% of packets when seeing 1Gb/s of traffic. Additionally, the latency between a packet being picked up, parsed, processed, and reported on averages less than 1ms. Here is a screenshot of memkeys in action.

Screenshot

Interested in stuff like this? We’re hiring.

Footnote: Etsy created the excellent mctop tool which aims to be like unix top for memcache, showing you which keys are getting the most activity. Unfortunately (as noted in the known issues), mctop drops packets. It drops a lot of packets. This can be really problematic because depending on the packets being dropped, you’re getting a really incomplete view of your cache story.

Apr 18

haseman:

strle:

Great cake or greatest cake?!?

Oh god… Its my face on a cake…

It’s also my ‘face’, I’m the man behind the mask.

haseman:

strle:

Great cake or greatest cake?!?

Oh god… Its my face on a cake…

It’s also my ‘face’, I’m the man behind the mask.

Apr 12

This is why writing and testing code should always be done on a dev box. The dreaded accidental reboot.

This is why writing and testing code should always be done on a dev box. The dreaded accidental reboot.

Apr 11

kfmatheny1985:

Getting our donation on today!

No worries, no books or bikes are being given away. I am going to miss that red couch though.

kfmatheny1985:

Getting our donation on today!

No worries, no books or bikes are being given away. I am going to miss that red couch though.

Apr 09

Alan got a haircut today.

Alan got a haircut today.

Apr 07

kfmatheny1985:

Love you Blake :)

It is our first anniversary. Love this woman.

kfmatheny1985:

Love you Blake :)

It is our first anniversary. Love this woman.

Apr 04

[video]

Team work

devopsreactions:

image

by niraxoid

Sometimes.