Ravi Sir's Cards › AWS
Both-way edges
This interview card covers Both-way edges. One-way edges make follower lists painful. Put FOLLOW# and FOLLOWER# for each follow. Follow action , then two Puts (or txn) , then Query both ways.
Read card text
What this card says
What it is
One-way edges make follower lists painful.
Why it matters
Put FOLLOW# and FOLLOWER# for each follow.
FOLLOW#
How / example
Follow action → two Puts (or txn) → Query both ways.
Helper writes both.