HeadlinesBriefing favicon HeadlinesBriefing.com

Robotics Data Infrastructure: A YouTube-like Design

Hacker News •
×

Building a data platform for robotics, initially seen as specialized, revealed familiar infrastructure needs akin to YouTube's system design. The Pareto platform handles uploading large media files, background processing, thumbnail generation, metadata indexing, and streaming robot data, which includes multimodal records like camera feeds and sensor streams.

Similar to classic video platform exercises, the robot data pipeline involves reliable uploading with resumable transfers and checkpointing. Processing generates various assets, from sampled frames to search indexes, enabling quicker access and analysis. Durable workflows, managed by Temporal, orchestrate these jobs, separating workers by capability and work shape.

Data storage is distributed across object storage for raw and derived data, Postgres for metadata, and Lance DB for vector search. Streaming focuses on delivering only necessary data, like byte ranges for video players, allowing users to scrub through synchronized camera feeds and robot states without downloading entire datasets. This approach, emphasizing structural decisions over operating at massive scale initially, allows for future growth and flexibility, treating compute resources as replaceable 'cattle' rather than 'pets'.