Skip to content

Serialize store writes #1136

@fjtirado

Description

@fjtirado

DB writes are currently performed in the same thread than the task. This is intentional so the next task is not executed till the previous one was written in the db.
But this approach does not really works well for an implementation with real parallelism, where there can be simoultaneus writes (which in some dbs, can cause locks)
So, probably it is better to serialize write requests into background thread(s) and let the workflow to continue without waiting for the db to be updated.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions