Create an Account
username: password:
 
  MemeStreams Logo

MemeStreams Discussion

search


This page contains all of the posts and discussion on MemeStreams referencing the following web page: Prevalence Layer for Java. You can find discussions on MemeStreams as you surf the web, even if you aren't a MemeStreams member, using the Threads Bookmarklet.

Prevalence Layer for Java
by Lost at 7:50 pm EDT, May 24, 2006

For all the details, read the papers and articles. The basic ideas behind prevalence are as follows:

* Keep all objects in memory all the time, and access them as in-memory objects.
* Every operation that affects the "persistent" state of an object must be implemented as a serializable command object (see CommandPattern). When a command is executed, its serializable form is written to a log file. When the system is restarted, the prevalence system re-executes all these serialized commands, thus restoring the states of all the in-memory objects.
* You can cause a snapshot of current object states to be stored, so that when the system is restarted, you load the snapshot and then re-execute the commands that have been logged since the snapshot was created.


 
 
Powered By Industrial Memetics