Skip to content
Theory · News feed · lesson 4 of 11

API and data model

The requirements and estimates are done, and it is time to name the calls and records that 140,000 timeline loads and 14,000 posts a second will go through. In this prompt the data model decides a lot: it sets how many reads each page makes. The goal is for any page to go to one partition or a few, never to walk the whole store.

In this lesson

  • API
  • A cursor, not an offset
  • The post id
  • Data model
  • Which store
  • The post cache
  • Common mistake
  • Key points