1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-11 16:16:14 +01:00
phorge-phorge/src/storage
vrana 0446e636ea 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 [[ http://www.phabricator.com/docs/phabricator/article/Performance_N+1_Query_Problem.html | 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
2012-05-25 13:09:42 -07:00
..
connection Fix code not working in HHVM 2012-05-23 14:16:02 -07:00
exception Simplify transaction handling and restore read/write locks 2012-05-05 11:29:09 -07:00
lisk/dao Add an abstraction for preventing the 1+N queries problem 2012-05-25 13:09:42 -07:00
qsprintf Add typehints to queryfx() et al. 2012-04-11 12:02:11 -07:00
queryfx Add typehints to queryfx() et al. 2012-04-11 12:02:11 -07:00
transaction Simplify transaction handling and restore read/write locks 2012-05-05 11:29:09 -07:00