Live data from Hacker News

How Netflix uses Druid for realtime insights

netflixtechblog.com

11–20 of 60 posts

Re: How Netflix uses Druid for realtime insights

#12
post #11

So this is behind paywall. I am sure Netflix is not marking this story to be behind paywall and Medium can not put this story behind paywall without consent from Netflix.

Yep, i was wondering how company can put their posts that should their “super skills” behind paywall..

Re: How Netflix uses Druid for realtime insights

#14
post #8
post #2

Can anyone from Netflix comment on why not clickhouse? We tried druid, and the performance was pretty bad compared to a clickhouse.

Can confirm clickhouse is generally faster across most typical workloads

Clickhouse is much more resource efficient in many cases but is less flexible and importantly extensible than Druid.

Druid can easily be extended through available 3rd party extensions and you can write your own to implement custom serialisation formats, aggregations, connect to new streaming systems, read directly from whatever cold storage you have etc.

In the Clickhouse model you have to work out a lot more of that stuff yourself though these days it can read from Kafka directly which is useful.

Some things that are important for Clickhouse vs Druid at big scale is the rather large difference in indexing approaches. Clickhouse uses bloom filters and other probabilistic data structures to index large chunks of data, for the most part though actually checking for rows requires a full scan of that chunk to strip false positives.

This is different to Druid which uses full inverted indices for dimension filtering.

The tradeoff is basically Clickhouse is cheaper, especially when scaling out but Druid is faster especially when the cluster is under heavy concurrent query load, like serving analytics dashboards or data exploration interfaces to users.

Clickhouse excels when you want to scan most but not all the data most of the time. Namely reporting or bulk analytics queries that will hit most rows in a block.

I consider both to be excellent databases.

Re: How Netflix uses Druid for realtime insights

#15
post #11

So this is behind paywall. I am sure Netflix is not marking this story to be behind paywall and Medium can not put this story behind paywall without consent from Netflix.

It's not. It's medium.com asking for signin (which is a free account) but you can delete your cookies and reload to view.

Re: How Netflix uses Druid for realtime insights

#17
post #11

So this is behind paywall. I am sure Netflix is not marking this story to be behind paywall and Medium can not put this story behind paywall without consent from Netflix.

It's not. It's medium.com asking for signin (which is a free account) but you can delete your cookies and reload to view.

I am already logged in and it still is a featured story. It's counted against 3 features story I can read in a month. So it is behind paywall. C

Re: How Netflix uses Druid for realtime insights

#18
post #17

Earlier quoted context omitted.

It's not. It's medium.com asking for signin (which is a free account) but you can delete your cookies and reload to view.

I am already logged in and it still is a featured story. It's counted against 3 features story I can read in a month. So it is behind paywall. C

Then log out. It’s not a paywall. Log out and you can read it. Medium is playing you.

Re: How Netflix uses Druid for realtime insights

#19
post #17

Earlier quoted context omitted.

It's not. It's medium.com asking for signin (which is a free account) but you can delete your cookies and reload to view.

I am already logged in and it still is a featured story. It's counted against 3 features story I can read in a month. So it is behind paywall. C

There are plugins to help you fight against Medium's paywall. However, if you didn't want to use a plugin, then you can easily use a private session which circumvents Medium's premium content.

Re: How Netflix uses Druid for realtime insights

#20
post #17

Earlier quoted context omitted.

It's not. It's medium.com asking for signin (which is a free account) but you can delete your cookies and reload to view.

I am already logged in and it still is a featured story. It's counted against 3 features story I can read in a month. So it is behind paywall. C

It's a soft limit by Medium. You don't have to be signed in to read it. Delete your cookies or use a private window.
Post reply on HN