[Erp5-dev] expand method performance, ZEO questions
Łukasz Nowak
lukasz.nowak at ventis.com.pl
Thu Dec 27 13:36:56 CET 2007
Hello,
On 2007-12-22, 17:26:21
Yoshinori Okuji <yo at nexedi.com> wrote:
(...)
> > - is there any way/idea to split expand into few smaller expands
> > and use clustering for them?
>
> It is difficult to suggest an appropriate way without looking at your
> system.
>
> Basically, the simulation system in ERP5 is created with flexibility
> and power in mind. This is very good in most cases. But as in your
> case, it can be slow in some cases, thus a sort of optimization is
> required.
>
> The best way is to first profile it and understand what the
> bottleneck is (as written in erp5.org). Intuitively, as you have many
> applied rules, the selections of rules might be the bottleneck,
> because this part is completely dynamic, so that we can specify very
> complex criteria to select an appropriate rule. But this is sometimes
> overkill, and it could be acceptable to "hardcode" rules in many
> cases. However, it is very dangerous to assume something is a
> bottleneck without verifying it, since it can be a premature
> optimization, and can rather decrease the performance / flexibility
So *before* starting any optimisation I'll have to have full unit test
scenarios. I'll play with it as much as possible and share my ideas
here.
> > And another question: are there any updated
> > guidelines/documentation/ideas/experience docs/tips/anything about
> > using ZEO with ERP5?
> >
> > I didn't suppose to find HowToUseZeo on ERP5 wiki ;), but there is
> > not too much info about this on wiki. Well - maybe it is so simple,
> > that is not worth mentioning it?
>
> As you guess, it is so simple. How to set up ZEO is described in the
> Zope Book, so I didn't feel that it would be worth writing in the
> wiki.
Yes - it was so obvious - I left just few notes about ZEO usage on mine
wikipage.
Thanks,
Luke
--
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.
More information about the Erp5-dev
mailing list