Skip to content

Move db writer to a separate process with a single queue #32

@robobenklein

Description

@robobenklein

All processes will append docs to insert to a queue which will be consumed by the writer process.

This helps prevent the write-write conflict / locking over the db updates which could result in dedup conflicts.

Would also simplify writing to file if all docs written pass through the queue.

Writer process will need to be extremely efficient though in order to handle thousands of docs/second.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions