1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-24 21:48:21 +01:00
phorge-phorge/src/storage/lisk/dao
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
..
__tests__ Remove PHID database, add Harbormaster database 2012-05-20 14:46:01 -07:00
__init__.php Add an abstraction for preventing the 1+N queries problem 2012-05-25 13:09:42 -07:00
LiskDAO.php Add an abstraction for preventing the 1+N queries problem 2012-05-25 13:09:42 -07:00
LiskDAOSet.php Add an abstraction for preventing the 1+N queries problem 2012-05-25 13:09:42 -07:00
LiskEphemeralObjectException.php [LiskDAO] make objects ephemeral, aka read-only 2012-03-08 15:15:14 -08:00