[Zope3-Users] Re: RFC 4122 UUIDs

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Apr 5 19:04:03 EDT 2007


On Thursday 05 April 2007 15:28, Jürgen Kartnaller wrote:
> Please do not use an annotation!
>
> This is a performance issue. Your data is very small so do not create a
> new object in the database store it directly as a property on the
> instance. Every object lookup is expensive, especially if you use ZEO!

Hey Juergen, come on! I know you guys are on an optimization trip at Lovely, 
but this is great information to store on an annotation. The UUID does not 
usually need to be looked up and is mainly for external world reference, such 
as feeds like Derek metioned he wanted.

The package is also an add-on. You don't need it, then do not use it. As 
further optimization, Derek mainly needs this id for a very specific set of 
content types, so I would narrow the subscriber to only give those special 
types a UUID.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list