[elephant-ticket] #39: Lazy deserialization

elephant elephant-devel at common-lisp.net
Sun Mar 25 14:11:05 UTC 2007


#39: Lazy deserialization
-------------------------+--------------------------------------------------
 Reporter:  ieslick      |       Owner:  ieslick
     Type:  enhancement  |      Status:  new    
 Priority:  minor        |   Milestone:         
Component:  db-bdb       |     Version:         
 Keywords:               |  
-------------------------+--------------------------------------------------
 This is a significant change, but could improve performance
 characteristics or make database performance design simpler.  The idea is
 to only deserialize values if they are used, or allow partial
 deserialization, say to detect the type tag.  This does require copying
 the serialized byte stream from the various pages it is stored in, but
 that's usually just a memcpy.

 This is a significant feature requiring changes to the serializer, map
 functions and various backend interfaces.  It isn't worth it at this time
 as there is a workaround, which is to use lightweight persistent objects
 to keep references to larger values it is too expensive to deserialize, or
 to define derived indices which hash code or otherwise map the large
 datastructure to a simple range of integers or other small values.

-- 
Ticket URL: <http://trac.common-lisp.net/elephant/ticket/39>
elephant <http://common-lisp.net/project/elephant>
elephant


More information about the elephant-ticket mailing list