Contributors mailing list archives

contributors@odoo-community.org

Re: Idea for performance improvement

by
Therp, Holger Brunn
- 10/10/2017 01:05:31
>  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/connector-interfaces/pull/42

Then 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: holger@therp.nl
web: http://therp.nl