| Summary: | Give a way to pre populate the cache object -> type mapping | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Christophe MOINE <christophe.moine> |
| Component: | cdo.core | Assignee: | Project Inbox <emf.cdo-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | Eike Stepper <stepper> |
| Severity: | enhancement | ||
| Priority: | P5 | CC: | esteban.dugueperoux, stefan, stepper |
| Version: | 4.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Christophe MOINE
I'm not very happy about this request because I'm not convinced that the effort needed is justified by the potential benefit. Someone should first make the requirements clearer. Well, my idea fpr this was to give a server option in the XML file in which you can specify some kind of query to specify objects with which to populate the object type cache. For example: I know that in my application Customers are my top objects which I access all the time. So I configure the server to pre-populate the object-type cache with all objects with EClass Customer. On startup of the server this query is executed and the object IDs are read into the server cache. Of course, this only improves startup time, as the cache will adjust automatically with the LRU strategy. Also, it is the responsibility of the user to adjust the query and the cache size to his own application/domain/model etc. (In reply to comment #2) I still think that a separate strong reference collection to hold on the frequently used revisions would be the way to go. Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master. Use cases and requirements are still unclear. Effort would be high. No activity on the bug. Closing as wontfix. |