mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 15:58:06 -05:00
1be75fda0ea8cbd3d9c9f8ab17853760cab398d9
This is intended to replace Relation. Relation works by putting each individual relationship in its own Row. This means that doing a fast_query (cross-product) results in a large multiget that likely touches every node on the C* ring. DenormalizedRelation instead puts all of the relationships into a single row per thing1 and only fetches the desired columns on read. This means that most of the time, we'll do a single-row lookup to determine what we want and the majority of the time we will get a very fast response from the row-level bloom filters indicating that no such relationship exists. The row cache should be disabled for this column family as the rows will be VERY wide.
Description
No description provided
Languages
Python
54.4%
JavaScript
26.7%
HTML
11.3%
Less
4.5%
Shell
1%
Other
2%