[Mapguide-trac] [mapguide-trac] #2730: 2nd level cache for CREATERUNTIMEMAP responses

MapGuide Open Source trac_mapguide at osgeo.org
Wed Jul 13 08:22:41 PDT 2016


#2730: 2nd level cache for CREATERUNTIMEMAP responses
-----------------------------+---------------------
 Reporter:  jng              |        Owner:  jng
     Type:  enhancement      |       Status:  new
 Priority:  medium           |    Milestone:
Component:  Mapping Service  |      Version:  3.1.0
 Severity:  minor            |   Resolution:
 Keywords:                   |  External ID:
-----------------------------+---------------------
Description changed by jng:

Old description:

> It is worth storing the CREATERUNTIMEMAP response XML (with templated
> placeholders for session/mapname/etc) in a 2nd level cache, so that
> subsequent CREATERUNTIMEMAP requests for the same Map Definition with the
> same parameters can just read from the 2nd level cache, bypassing the XML
> construction.
>
> Being a representation of a Map Definition, such cached items can be
> automatically invalidated if the original Map Definition has been updated
> in the repository.

New description:

 For performance, it is worth storing the CREATERUNTIMEMAP response XML
 content (with templated placeholders for session/mapname/etc) in a 2nd
 level cache, so that subsequent CREATERUNTIMEMAP requests for the same Map
 Definition with the same parameters can just read from the 2nd level
 cache, bypassing the creation of a MgMap and rendering the response XML
 from it.

 Being a representation of a Map Definition, such cached items can be
 automatically invalidated if the original Map Definition has been updated
 in the repository.

--

--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2730#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list