[Flow] Updating Object with lots of related objects takes really long

David Sporer david.sporer at gmail.com
Thu Jun 12 17:37:13 CEST 2014


But does it also validate every related object on Update?

Dominique, do you have an example for the bounded context you're suggesting?

Thanks
David


2014-06-12 13:36 GMT+02:00 Carsten Bleicker <carsten at bleicker.de>:

> Dont know exactly, but isnt flow running validation on each object?
>
> Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Persistence/Doctrine/PersistenceManager.php:88
> Maybe this one is also a bottleneck?
>
>
>
> Am 12.06.2014 um 13:30 schrieb Dominique Feyer <dfeyer at ttree.ch>:
>
> > That’s not exactly Flow related. The performance problem come from the
> ORM (Doctrine) and maybe the persistance layer (index update, I/O, …).
> >
> > To improve performance on your case, maybe you can apply more strongly
> some Domain Driven Design principle, like bounded context. Sometime you can
> remove the strong relation between objects and use two different context
> with simple model to replace your big model. Bounded context can have a
> lots of advantage, but can also have some side effect like « over
> engineered »
> >
> >
> > --
> > ttree sàrl
> > Dominique Feyer
> > Rue du Valentin 34 et demi
> > CH - 1004 Lausanne
> > +41 21 312 36 35
> > dfeyer at ttree.ch
> > ttree.ch - @ttreeagency - plan d’accès
> >
> > Le 12 juin 2014 à 12:47:48, David Sporer (david.sporer at gmail.com) a
> écrit:
> >
> > Hi,
> >
> > I've noticed that if an object has lots of related objects (1:n
> > relationship) a update to this object takes really long.
> > Are there any tips on how to speed things up?
> >
> > Regards
> > David
> > _______________________________________________
> > Flow mailing list
> > Flow at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
> > _______________________________________________
> > Flow mailing list
> > Flow at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>


More information about the Flow mailing list