Friction

Workaround · API & developer experience · Blocks work

Atomic transactions require awkward data modeling

1 source thread · first seen 2020-03

Summary

Firebase's consistency and transaction semantics force the team to perform atomic transactions on a common parent, despite being encouraged to keep data flat. They report needing workarounds throughout the application.

Affects
small shop
Workaround
Perform atomic transactions on a common parent and use workarounds throughout the application.

Evidence

Excerpts are copied word for word from the source; follow the link to read it in full.

“The particular eventual consistency and transaction semantics require workarounds everywhere”

Add what you saw Flag this report