internalsGet Pro

Module 04 · Lesson 9 of 10Pro

Object storage for data: buckets, prefixes and costs

Level
Beginner
Topic
Data formats and file storage
Reading time
14 min

When you finish this page you can

  1. Explain why an S3 key is a name, not a path, and what a prefix and a listing cost.
  2. Publish a nightly file to S3 so readers see either the old file or the whole new one: one upload under the final key.
  3. Trace the requests DuckDB sends to read a Parquet file on S3, and why it fetches only some byte ranges.
  4. Work out a month of S3 storage and request costs for a pipeline from list prices.
  1. Cloud basics: accounts, access and networks14 min
  2. Reading and writing CSV, JSON and Parquet in Python14 min
  3. Parquet: columnar files for analytics17 min

The rename that S3 doesn’t have

is an online store in India. Every night its data job exports the day’s click events, about 3 GB of raw data, to a file in that night’s date folder, exports/clicks/event_date=<night>/data_0.parquet. The ML team and the product team read these files, and Meera, Kartly’s data engineer, keeps 13 months of them: 395 files, one per folder.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan