Skip to content

Goroutine creation in FastCommit() #267

@SaveTheRbtz

Description

@SaveTheRbtz

Issue To Be Solved

Currently, PersistentSlabStorage.FastCommit() does create adhoc goroutines, which may add a substantial overhead on servers with a high number of cores.

Suggested Solution

In the ideal world, each slab storage instance can have a goroutine pool of encoders ready to encode a set of keys. As a bonus, it would also be possible to reuse encoders, instead of creating a new one each time.

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