Live data from Hacker News

The data rules worth $40k a day

tinybird.co

31–40 of 72 posts

Re: The data rules worth $40k a day

#31

The example shown has 14GB of data, which is absolutely tiny, yet it can still rack up $40k in costs per day if used incorrectly (i.e. less than optimal, but not egregiously wrong)? Why would you use this?

Scanned 6.67GB and processed for 2.41s, cost $40340.16 / 86400 = $0.4669. More than the hourly cost of AWS on-demand a1.x4large with 16 vCPU and 32GB of RAM.

Can’t think of a worse advertisement for their product.

Re: The data rules worth $40k a day

#32

Earlier quoted context omitted.

Quoted post unavailable.

Never ever become 'the SQL guy' in your group. No one wants to learn it. SQL is the intersection of set theory, computational theory, network usage, cpu usage, and laziness. "your table is 120 columns wide and nothing but strings with no rules of the data types and no indexes, sooooo your perf is a bit slow huh?" "yeah how did you know?" "wild guess"

Among my favorites, "NULL" vs NULL, date/timezone/utc and locals, anything related to data warehouse. Transferring everyday billions of records from SaAS applications.

Re: The data rules worth $40k a day

#33
post #19
post #12

Earlier quoted context omitted.

Plus, on what planet would you be refreshing that query every second of the day?

The one where some dev gets the query in a loop unintentionally and you discover your bankrupt the next day.

This happens more often than you might think…

Re: The data rules worth $40k a day

#34
> If I built an application to visualize this result and refreshed it every second, I would spend $40,340.16/day on Tinybird’s Pro-plan.

What? Even if I used SQLite on my laptop and queried this thing every second, I'd still use <$3 a day. Also, this platform has no concept of caching? Don't understand this post at all, total clickbait based on an inefficiency in your platform you really shouldn't be advertising.

Re: The data rules worth $40k a day

#35

If you want to stop out of control spend, have your analysts learn SQL. Avoid database systems that charge per query (like tinybird) and make damn certain your people know SQL if you do. Ignore and preferably fire people who mention things like “data lakes”.

>Avoid database systems that charge per query

oh my god

i'm currently $13k/mo in dynamodb costs because of this whereas the same requirements sql database costs $2k/mo

Re: The data rules worth $40k a day

#36
post #21
post #8

Earlier quoted context omitted.

Seriously? A $10k dedicated server would have a payback period measured in minutes.

It depends on the business unit. Some don't have the ability to run a technology group to run a $10K dedicated server.

But they have the budget to run $10K of queries a day?

Re: The data rules worth $40k a day

#37
post #30

Earlier quoted context omitted.

1000% this Almost every solution I've seen to tooling that is supposed to "avoid data analysts having to learn SQL" is far more costly, requires engineering staffing, performs much slower and sometimes requires the analyst to instead learn some esoteric less powerful language ... If your job is to slice&dice data all day, and can't be bothered to learn SQL, I don't know what to say.

The data lake problem is specifically due to microservices or SOA. People love to separate customers from orders until they realize that you want to do complex filtering on customers and join it to their orders. Then everyone says "oh crap" when they realize they've created a problem without a great solution.

Yes. Fundamentally there is almost no data that is not relational in some aspect. Any given document, you can virtually instantly start picking out "ok that could be a foreign key...", and if one does not exist, it certainly will before too many sprints go by. And most usages of NoSQL are essentially equivalent to a row within a table, especially given many NoSQL solutions have bugs or performance issues with deeply nested documents (ran into that with SOLR - deep pagination can give incorrect results with nested documents).

Personally I view a true document (not a table row turned into JSON) as being the deeply-nested kind, and ideally generated from the relational data itself, to allow different "dimensionalities" to be represented without needing pivots/windows/analytical queries, and that's very seldom what I see it being used for in practice. Again, most people just have a RDBMS row but stored in JSON.

example: in the "netflix" example, your movies, your actors, your users, your likes, etc are all relational, and then you build a document collection that is good for searching movies, a collection that is good for displaying user data/history/settings, a collection for displaying actors' filmography, etc, but all are generated from the same actual, consistent relational data.

Re: The data rules worth $40k a day

#38
post #21
post #8

Earlier quoted context omitted.

Seriously? A $10k dedicated server would have a payback period measured in minutes.

It depends on the business unit. Some don't have the ability to run a technology group to run a $10K dedicated server.

Query bills of $40k a day will pay for a lot of staff, or a lot of outside expertise to administer it for you.

Re: The data rules worth $40k a day

#39
> What if I told you I could save you $40,000 a day?

Learn from history, specifically, SQL. Or people who think they are too important to learn SQL aren't that important after all

Re: The data rules worth $40k a day

#40

If you want to stop out of control spend, have your analysts learn SQL. Avoid database systems that charge per query (like tinybird) and make damn certain your people know SQL if you do. Ignore and preferably fire people who mention things like “data lakes”.

I heard at a certain Professional Social Network company that some of their analysts would slam their db cluster with inefficient queries until it rebooted, and first one to rerun their query would finally get a result.

Learn SQL ffs.

Post reply on HN