Skip to content

Write data in goroutines #19

@MaxvdKolk

Description

@MaxvdKolk

Writing data might be done in goroutines. Each field we add is encoded and possibly compressed individually. This can be done on the background inside a goroutine. The call to add is then not blocking, we just need to ensure that data that we pass in does not change before it is captured?

A variation might be to run each addition inside Add(...) as a separate routine. Then Add(a, b, c...) will run side-by-side, while we still wait on Add to finish before proceeding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions