[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdt-dev] H2Cache questions
- From: Kaloyan Raev <kaloyan.r@xxxxxxxx>
- Date: Mon, 21 Oct 2013 10:10:17 +0300
- Delivered-to: email@example.com
The same thoughts crossed my mind when I worked on improving the performance in Zend Studio a couple of months ago.
H2Cache is a set of maps with strong references, which makes it really look more like an in-memory copy of the h2 db, rather than a cache. Over time, I suspect, this may cause memory consumption problems.
I suppose that the H2Cache was introduced in the past, because of some inefficiencies in the h2 db schema - remember eclip.se/415137
. But now, when the necessary index is added to the schema, the benefits of H2Cache are not really visible.
One of the idea in my todo list for performance optimizations is indeed to try removing the H2Cache and measure the impact. Unfortunately, I was distracted from the performance topic with other things, but I hope I'll be back on it very soon.