Contributors mailing list archives
Re: Idea for performance improvementby
Camptocamp SA, Joël Grand Guillaume
IMO Great idea !
On Mon, Oct 16, 2017 at 3:47 AM, Graeme Gellatly <firstname.lastname@example.org> wrote:
@holger I was just reading this by accident http://stackabuse.com/python-
async-await-tutorial/- its py3.5+ specific , to be honest I'm not sure how it fits, but I know you will.On Tue, Oct 10, 2017 at 2:16 PM, Holger Brunn <email@example.com> wrote:> could we in OCA not just make a small module that > basically uses Queue on Social features? I did something very similar for auditlog: https://github.com/OCA/connect or-interfaces/pull/42Then I'm also planning to move the recomputation of some statistical fields to an asynchronous job. The plan is to have something like @async_depends, which hooks into the depends machinery, but does the actual computation asynchronously. Note that in both cases, some promises on database integrity go to hell. But as per assumption, we don't care so much. -- Therp - Maatwerk in open ontwikkeling Holger Brunn - Ontwerp en implementatie mail: firstname.lastname@example.org web: http://therp.nl