HNHacker News
TopNewBestAskShowJobs

httparchive

125 karma · joined February 20, 2024

submissionscomments
httparchive··on Warning: $14k BigQuery charge in 2 hours
Update: Google has been helping me out now, thankfully. Hopefully we can make sure this doesn't happen to others.
httparchive··on Warning: $14k BigQuery charge in 2 hours
Yeah, 'LIKE' ops usually give you a full table scan, which is brutal. If it was my own data I'd chop the fields up and index them properly - which is the issue here, it's not your data, so you don't get a say in the indexes, but you do have to pay per row scanned even if you can't apply an index of your own.
httparchive··on Warning: $14k BigQuery charge in 2 hours
SELECT page, url, payload FROM `{table}` WHERE page like '%{site_domain}/%' AND url like '%[EXAMPLE.COM]%'
httparchive··on Warning: $14k BigQuery charge in 2 hours
Here you go!

SELECT page, url, payload FROM `{table}` WHERE page like '%{site_domain}/%' AND url like '%[EXAMPLE.COM]%'

---

There's no LIMIT on it b/c I actually need all the results.

httparchive··on Warning: $14k BigQuery charge in 2 hours
Exactly, even after seeing the issue I can't make heads or tails of what the hell a "TBs scanned" is relative to row counts, etc. Likewise, it seems to place a lot of assumptions on knowing what tables include - and on a dataset you didn't build yourself how can you know the tables are optimized to lower your costs? Hell, how can you even know what the costs are?
httparchive··on Warning: $14k BigQuery charge in 2 hours
Yeah, I have spent much more than $14k to date and would have spent much more over time, losing my business isn't rational. I think it's just another "Google can't do customer support to literally save their life" example.
httparchive··on Warning: $14k BigQuery charge in 2 hours
I've forgotten more Sql than most people ever learn. Time is also valuable and I make trade-offs. Should I spend hours (eg. $$$) to optimize or run a non-optimized query in the background for a different cost? Well, I didn't think the time/benefit/cost equation favored tuning, if I had known that I'd have spent time on tuning. If you offer something for "free" and then change the cost, and don't have any alerting mechanisms to inefficient queries, it's impossible to evaluate trade offs.
httparchive··on Warning: $14k BigQuery charge in 2 hours
I was doing historical evaluation for a few sites, so I was running a query for each month going back to 2016 for each site. I've done this before with no real issues, and if I knew the charges were rapidly exploding I'd have halted the script immediately - but instead it ran for 2 hours and the first notice I got was the CC charge.
httparchive··on Warning: $14k BigQuery charge in 2 hours
Yes, sure there's stuff I could have done better, and stayed up all night looking at the fine print. But that's not the point - this is *warning* to other people who see the Internet Archive logo, the words "public", and for some dumb reason also trust Google. I'm hoping this doesn't happen to others, I learned a costly lesson.
httparchive··on Warning: $14k BigQuery charge in 2 hours
It wasn't personal use, for business - but I'm bootstrapping a startup, so it's a very tough lesson to learn.
httparchive··on Warning: $14k BigQuery charge in 2 hours
Yeah, I'm basically just having to write this off so it sucks for me (a lot - I'm bootstrapping a start up), but I'm more worried about other people (especially students) getting caught up in what feels like a scam given the language on the website not, ya know, mentioning the risk of being charged $14k.
httparchive··on Warning: $14k BigQuery charge in 2 hours
Yes and no, I ran the script before and the fee wasn't that high (they jacked it up last summer). Usually I have to jump through a ton of hoops just to add more CPU cores to my VMs so I "trusted" that GCP would warn me if I ever made an error.

One of the bigger issues is they charged my card before I literally had any notice what the bill was - it wasn't even in the dashboard yet. I would have terminated the script ASAP had I gotten *any* warning.

httparchive··on Warning: $14k BigQuery charge in 2 hours
yeah, but don't "eat up your quota" seems rather tame, whereas "you can get billed $14k with no warning" is the truth.
httparchive··on Warning: $14k BigQuery charge in 2 hours
I learned of that billing limiting mechanism after the $14k was charged to my account. As designed.
httparchive··on Warning: $14k BigQuery charge in 2 hours
I used this data when I was a grad student, back when there wasn't a fee for it, so I'm mostly concerned students will get hit with charges that will make it so they can't buy groceries.

The website has the Internet Archive logo on it, and it looks like a public resource for researchers, and it used to be free to use.

The point of this is for the HTTP Archive to make it clear this is a paid product from Google Cloud, not a "public service".