Re: New LinguaPlone releases with large performance improvements
Lachlan Musicman <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.internationalization |
|---|---|
| Message-ID | <[email protected]> |
Hanno, It doesn't affect me directly, but thanks! Great work. L. On Tue, Sep 28, 2010 at 19:25, Hanno Schlichting <[email protected]> wrote: > Hi. > > I spent some time in the last days to speedup LinguaPlone again. > Testing this both locally and over the weekend on a large production > site looks promising. I have seen rendering times to be cut in half. > Locally they went down from 370ms to 190ms. On the production site on > average the rendering times went down from ~2 seconds to ~1 second. > This only affects view performance and has no impact on editing > performance. > > The changes are released in LinguaPlone 3.2a1 for Plone 3.3 and > LinguaPlone 4.0a3 for Plone 4. > > If you have a large LinguaPlone based site, you might want to test > this out. Note that this is very new code and marked as alpha, so be > careful. The test site in question had 6 languages and ~190.000 > content objects in it. The changes I made should be more noticeable > the higher each of those numbers are. > > I'd appreciate feedback from anyone who tests this out. I would expect > improvements in the 30-50% range. > > Note: If you are still using a LanguageIndex and don't need it's > functionality (fallback from content in sublanguage codes like "de-de" > to main language codes like "de"), you should replace it with a normal > FieldIndex. This is the default for new sites created with LinguaPlone > 3.1+ and will give you very noticeable improvements on its own. > > Cheers, > Hanno > > P.S. If you are interested in the actual technical changes, you can > have a look at http://dev.plone.org/plone/changeset/40202/Products.LinguaPlone/trunk > and http://dev.plone.org/plone/changeset/40208/Products.LinguaPlone/trunk. > Basically I side-step the reference catalog search API and operate on > the actual internal index data structures instead. This lets me > replace the silly index restriction on the "relationship" index and > replace it with a more efficient check. > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Plone-i18n mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/plone-i18n > -- These simple functions belong to a sub-class known as strictly dominating functions, meaning that their output is always bigger than their inputs. A striking fact, known as the complementation theorem, holds for all such functions. It says there is always an infinite collection of inputs that when fed into the function will produce a collection of outputs that is precisely the non-inputs. - http://bit.ly/d3Fsrw ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev