slarson / wholebrain

Automatically exported from code.google.com/p/wholebrain
0 stars 0 forks source link

Implement server side cache to improve client startup performance. #389

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Implement a caching solution so that gets from the server that are repetitive 
just return a pre-computed string, rather than unmarshaling every time.

Original issue reported on code.google.com by stephen....@gmail.com on 4 Jan 2010 at 8:44

GoogleCodeExporter commented 9 years ago
Moving this back to 0.8 to accommodate time it will take to get other servers 
and 
priorities accomplished

Original comment by stephen....@gmail.com on 13 Jan 2010 at 9:33

GoogleCodeExporter commented 9 years ago
I think this is fixed, can you confirm this, Dave?

Original comment by caprea on 18 Jan 2011 at 8:22

GoogleCodeExporter commented 9 years ago
Finished. This capability is referred to as "initial state" it is fully 
implemented in WBC server v1.1.9 (currently SNAPSHOT until released). It is 
implemented in InitialStateCache.java.

The interface is documented in
http://wiki.wholebraincatalog.org/wiki/Whole_Brain_Catalog_Server_API#Initial_St
ate

The various possible initial states are calculated in the server build process 
and saved as files. On server startup the files (XML strings) are cached in 
server memory for quick response client requests.

Original comment by davlit0...@gmail.com on 18 Jan 2011 at 9:23