Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add wal record buffer #194

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add wal record buffer #194

wants to merge 1 commit into from

Conversation

crwen
Copy link
Contributor

@crwen crwen commented Oct 23, 2024

#189

Now data wiil be appended to file every time encoding. This PR add a simple buffer to cache record encoded data when write WAL.

Here are the results of a test on my machine(macbook pro 18) with 10000 DynRecords inserted

without buffer with buffer wal disabled
7.747s 0.714s 0.160s

@ethe
Copy link
Member

ethe commented Oct 23, 2024

Could it be able to become a general buffered writer in fusio? Always using 4KB or 8KB as a chunk, flush to disk, Record bounding type makes it not general.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants