New York Times ordered 59M publishing assets on a laptop using Go
1–5 of 5 posts
Re: New York Times ordered 59M publishing assets on a laptop using Go
#2>>>As I reviewed the previous work and struggled to understand the queries, I felt like SQL wasn’t the right tool for the job — it was getting in the way of progress. So I paused, took a step back and looked for an alternative approach.
Not sure why the author thought SQL wasn't the right tool as he glosses over this justification. It seems to me like a time series or sorting problem. The challenge was inserting meta data and then sorting. This relates to problem with query language but the article seems to imply the problem was somehow solved with GO. Either way my knowledge on this subject is limited and probably much shallower than the author.
Re: New York Times ordered 59M publishing assets on a laptop using Go
#3Re: New York Times ordered 59M publishing assets on a laptop using Go
#4The author says >>>As I reviewed the previous work and struggled to understand the queries, I felt like SQL wasn’t the right tool for the job — it was getting in the way of progress. So I paused, took a step back and looked for an alternative approach. Not sure why the author thought SQL wasn't the right tool as he glosses over this justification. It seems to me like a time series or sorting problem. The challenge wa…
Re: New York Times ordered 59M publishing assets on a laptop using Go
#5The author says >>>As I reviewed the previous work and struggled to understand the queries, I felt like SQL wasn’t the right tool for the job — it was getting in the way of progress. So I paused, took a step back and looked for an alternative approach. Not sure why the author thought SQL wasn't the right tool as he glosses over this justification. It seems to me like a time series or sorting problem. The challenge wa…
The core problem, as I see it, is missing asset identifiers. The timestamp of each asset in the Kafka queue acts as the ID.
This is an ETL and data cleansing task. My first step would have been to use a Content Addressable Storage technique, like Git hashes, to assign a unique identifier to each asset which also solves the de-duplication task. Extracting content metadata, like true publication date, and inserting into a structured data store then follows.
Kafka should have been one part of the ETL pipeline, not act as the structured data store itself.