Skip to content

Buffer for updateContext "bulk" processing #1153

@fgalan

Description

@fgalan

Current Orion version (0.23.0) processes updateContext containing N elements in sequential mode, doing N query/insert operations, even when the N refer to the same entity/attributes. This is a suboptimal behaviour.

It would be better to keep a buffer while updateContext is being processed, doing the modifications (and any futher brokering logic, i.e. notification on changed values) in the buffer. The buffer will be consolidated in the DB once updateContext processing is finalized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions