zillo32 / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Replace full entities stored in query cache to id's. #418

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently all queries by default are cached in memcache storing full result 
(all entities).

Memcache has limitation of 1MB per stored item.

This limitation can cause another limitation - number of entities stored in 
cache for one query result. For big entities (for example 5KB) limit will be 
200 entities.

Solution: store in query cache only primary keys.

Limitation: 200 000 entities in query results.

Original issue reported on code.google.com by kinyelo@gmail.com on 24 Jan 2011 at 4:44

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r990.

Original comment by kinyelo@gmail.com on 25 Jan 2011 at 6:38