Contributors mailing list archives

contributors@odoo-community.org

Re: Idea for performance improvement

by
Camptocamp SA, Joël Grand Guillaume
- 20/10/2017 12:48:12
IMO Great idea !

On Mon, Oct 16, 2017 at 3:47 AM, Graeme Gellatly <gdgellatly@gmail.com> 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 <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


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




--


camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

Joël Grand-Guillaume
Division Manager
Business Solutions

+41 21 619 10 28