News for hackers. Stuff that matters.
Re:Verizon to Sell Tumblr to Automattic by joshmn on Monday August 12, 2019 @06:49PM (#20680923)
I'm curious: What approach, if any, would you take?

I'm sure you have an interesting prospective based on your experience working at MySQL-friendly shops, in addition to being an engineer at Tumblr once upon a time.

Re:Verizon to Sell Tumblr to Automattic by evanelias on Monday August 12, 2019 @07:05PM (#20681055)
Thank you for asking, but I probably shouldn't get into that :) I'm inherently conflicted / biased due to designing a solid chunk of Tumblr's backend, and also previously worked for another Automattic competitor (Six Apart, the defunct company behind Movable Type).

Edit to avoid anyone misconstruing, I'm not trying to imply one thing or another, just that I can't approach this impartially. And in any case, I wish everyone well on both sides of this acquisition. I'm just genuinely curious how they plan to proceed from a technical standpoint, as it's a really interesting challenge.

Re:Verizon to Sell Tumblr to Automattic by mikeschinkel on Monday August 12, 2019 @09:19PM (#20681930)
Just curious about your just curious; what is the architecture of the current Tumblr back end?

This appears to be 6 years old. Is it still relevant?

http://highscalability.com/blog/2012/2/13/tumblr-architectur...

Re:Verizon to Sell Tumblr to Automattic by evanelias on Monday August 12, 2019 @09:37PM (#20682022)
Ehhh parts of that article were never accurate, especially the stuff about having an hbase-powered dashboard feed.

Primarily the product backend is monolithic PHP (custom framework) + services in various languages + sharded MySQL + Memcached + Gearman. Lots of other technologies in use though too, but I'll defer to current employees if they want to answer.

Re:Verizon to Sell Tumblr to Automattic by JulianMorrison on Tuesday August 13, 2019 @06:28AM (#20684306)
Fantasy big data: let's use Hadoop and Kafka!

Reality big data: Let's shard it across Mysql.

Re:Verizon to Sell Tumblr to Automattic by evanelias on Tuesday August 13, 2019 @10:36AM (#20686220)
Not exactly. Tumblr has a pretty huge Hadoop fleet and decently large Kafka setup too. It's just a question of OLTP vs OLAP use-cases being powered by different tech stacks.

My answer above was limited to the product backend, i.e. technologies used in serving user requests in real-time. And even then I missed a bunch of large technologies in use there, especially around search and algorithmic ranking.

Re:Verizon to Sell Tumblr to Automattic by lugg on Tuesday August 13, 2019 @11:54AM (#20687015)
That's kind of the point though. Everyone has a Hadoop/Kafka, but when it comes to actually getting things done, good ole MySQL to the rescue.

I honestly don't see the draw for Kafka. And by all means I get it, I just don't buy it. Maybe I'm just holding it wrong or something.

Re:Verizon to Sell Tumblr to Automattic by evanelias on Tuesday August 13, 2019 @12:49PM (#20687583)
It really depends on the task at hand. I'm one of the most vocally pro-MySQL commenters on HN, and have literally built my career around scaling and automating MySQL, but I still wouldn't recommend it for OLAP-heavy workloads. The query planner just isn't great at monstrous analytics queries, and ditto for the feature set (especially pre-8.0).

For high-volume OLTP though MySQL is an excellent choice.

Regarding Kafka: in many situations I agree. Personally I prefer Facebook's approach of just using the MySQL replication stream as the canonical sharded multi-region ordered event stream. But it depends a lot on the situation, i.e. a company's specific use-case, existing infrastructure and ecosystem in general.

Re:Verizon to Sell Tumblr to Automattic by lugg on Wednesday August 14, 2019 @12:36AM (#20692749)
I don't think youre quite getting my point.

Kafka is not going to replace MySQL specifically because it depends on the task at hand.

If you can't replace MySQL with Kafka, then why not just stick with whatever queue/jobs/stream infra you had before kafka. At least those solutions are quite limited in scope and easily replaceable.

At this point Kafka is a solution looking for a problem.

Re:Verizon to Sell Tumblr to Automattic by JulianMorrison on Wednesday August 14, 2019 @05:23PM (#20700086)
My feeling about Kafka is that it's a useful tool to solve the "we MUST get this data to reliable storage IMMEDIATELY" problem. And to greatly mitigate the "each item must be processed and shown to be processed, exactly once" problem.

But there are relatively few situations where that's absolutely vital. And you can solve it with good ol' SQL.

Re:Verizon to Sell Tumblr to Automattic by jsjohnst on Monday August 12, 2019 @10:11PM (#20682185)
You’re being generous. Most of that article was a pipe dream that never came to fruition.
Re:Verizon to Sell Tumblr to Automattic by technion on Tuesday August 13, 2019 @07:35AM (#20684717)
That's a really underrated statement - as a lot of "scale blogs" are often referred to as fact. I'll have to reconsider a lot of those in hindsight.
Re:Verizon to Sell Tumblr to Automattic by mikeschinkel on Monday August 12, 2019 @10:01PM (#20682145)
Cool, thanks for the answer.