Contributors mailing list archives

contributors@odoo-community.org

Re: Idea for performance improvement

by
Open for Small Business, Graeme Gellatly
- 16/10/2017 01:35:24
@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 <hbrunn@therp.nl> 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/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

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe