Homec4science

Add an abstraction for preventing the 1+N queries problem

Authored by vrana <jakubv@fb.com> on May 23 2012, 23:05.

Description

Add an abstraction for preventing the 1+N queries problem

Summary:
Our code is quite complex in areas where we prevents the 1+N queries problem explained in a performance chapter.

This diff adds an abstraction for preventing this code.

Test Plan:
Run all examples mentioned in the doc-comments with logging the queries.
Generate and read docs.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Koolvin

Differential Revision: https://secure.phabricator.com/D2557

Details

Committed
vrana <jakubv@fb.com>May 25 2012, 22:09
Pushed
aubortJan 31 2017, 17:16
Parents
rPH1377d349e1ad: Use first diff author for summary and test plan in commandeered revisions
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <jakubv@fb.com> committed rPH0446e636ea30: Add an abstraction for preventing the 1+N queries problem (authored by vrana <jakubv@fb.com>).May 25 2012, 22:09