Skip to content

Improve small chunk workload throughput#115

Merged
kjnilsson merged 2 commits into
mainfrom
no-nopush
Jan 17, 2023
Merged

Improve small chunk workload throughput#115
kjnilsson merged 2 commits into
mainfrom
no-nopush

Conversation

@kjnilsson
Copy link
Copy Markdown
Contributor

@kjnilsson kjnilsson commented Jan 16, 2023

Removes the code setting the nopush socket option and leaves that to users of the osiris_log:send_file API.

Removes uses of file:position/2 to maintain read position in the stream and instead keeps this in the read state.

@kjnilsson kjnilsson changed the title No nopush Improve small chunk workload throughput Jan 16, 2023
to let this be a concern of the API user

Keep read position in state
rather than moving it around the file.
This saves syscalls and increases small chunk
workloads throughput
@kjnilsson kjnilsson marked this pull request as ready for review January 17, 2023 12:14
@kjnilsson kjnilsson merged commit 52842e6 into main Jan 17, 2023
@michaelklishin michaelklishin deleted the no-nopush branch January 17, 2023 15:16
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