limburgie / php-movico

Automatically exported from code.google.com/p/php-movico
0 stars 0 forks source link

Implement entity and finder caches for inside CRUD calls to speed up DB calls #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Implement:
 * Entity cache that will return an in-memory object on subsequent entity retrievals with the same primary key. It should be invalidated by updates and deletes.
 * Finder cache that returns an in-memory result on subsequent finder calls with the same values. It should be invalidated by updates and deletes.

Original issue reported on code.google.com by limburgie on 28 Oct 2010 at 11:37

GoogleCodeExporter commented 9 years ago

Original comment by limburgie on 1 Nov 2010 at 8:06

GoogleCodeExporter commented 9 years ago

Original comment by limburgie on 10 Nov 2010 at 1:51

GoogleCodeExporter commented 9 years ago
Entity cache is a HashMap that maps object ids to the objects themselves.
Finder cache is a HashMap that maps finder names to a list of objects.

Original comment by limburgie on 25 Jul 2011 at 8:11

GoogleCodeExporter commented 9 years ago

Original comment by limburgie on 12 Feb 2012 at 6:52