[PLIP-Advisories] Re: [Plone] #7822: Make standard file content types use ZODB BLOB support

plip-advisories at lists.plone.org plip-advisories at lists.plone.org
Thu Sep 3 23:07:29 UTC 2009


#7822: Make standard file content types use ZODB BLOB support
----------------------------+-----------------------------------------------
 Reporter:  limi            |        Owner:  witsch  
     Type:  PLIP            |       Status:  assigned
 Priority:  major           |    Milestone:  4.0     
Component:  Infrastructure  |   Resolution:          
 Keywords:  focusarea       |  
----------------------------+-----------------------------------------------

Comment(by witsch):

 >   * Using `archetypes.schemaextender` and marker interfaces introduces a
 new level of indirection when implementing content types.  It also adds
 performance issues due to the additional and generally more expensive
 schema lookups.

 said performance issues should be mostly fixed after
 [http://dev.plone.org/archetypes/changeset/11344 r11344 at archetypes].  the
 slowdown for serving small images as reported [browser:buildouts/plone-
 coredev/branches/4.0/plips/plip7822-review-alecm.txt at 29529#L29 in alec's
 review] is now almost gone:  the request rate for a 600+ byte file when up
 from about 80 to a little more than 100 again — pending further
 investigation the rest is likely due to the extra overhead of fetching two
 zodb objects and opening/reading the blob file...

 > This can be solved by also shipping with `archetypes.schematuning`,
 which has been proposed as PLIP 9376.

 adding `archetypes.schematuning` to the mix now actually make the above
 benchmark run ever so slightly slower — 100 vs 101 req/s...

-- 
Ticket URL: <http://dev.plone.org/plone/ticket/7822#comment:43>
Plone <http://plone.org>
Plone Content Management System


More information about the PLIP-Advisories mailing list