Skip to content

Commit

Permalink
Add back-ticks around replay-ids
Browse files Browse the repository at this point in the history
Co-authored-by: Adam McKerlie <adammckerlie@gmail.com>
  • Loading branch information
cmanallen and silent1mezzo authored Sep 19, 2023
1 parent cf46313 commit 4f8cc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/blog/lost-in-the-haystack.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ LIMIT 1

The total memory usage of this query is the sum of every unique replay*id plus \_every* URL stored in the database. We absolutely can not hold this in memory. But we need to return the URLs. So, how do we resolve this?

For every request made by a user to the Replay's service we can make two queries to the database. The first query is a preflight. It returns a set of replay-ids after all search and sort conditions are applied. The second query is a data query. It fetches all the data needed to satisfy the user's request using the replay-ids returned by the preflight.
For every request made by a user to the Replay's service we can make two queries to the database. The first query is a preflight. It returns a set of `replay-ids` after all search and sort conditions are applied. The second query is a data query. It fetches all the data needed to satisfy the user's request using the `replay-ids` returned by the preflight.

Let's transform our example query into this new format:

Expand Down

0 comments on commit 4f8cc94

Please sign in to comment.