generated from y-scope/public-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 5
docs(clp): Rewrite clp
methodology docs for better clarity; Bump clp
asset version to 0.5.1
.
#10
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
Open
quinntaylormitchell
wants to merge
9
commits into
y-scope:main
Choose a base branch
from
quinntaylormitchell:docs-restructure-rename-logarchivalbench
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
3ffeb34
Change reference to user docs to comply with docs PR from clp repo
quinntaylormitchell 1320eb7
Rewrite links and follow line limit
Bill-hbrhbr 7b7e646
Update versions used in dockerfile
Bill-hbrhbr f328b0e
Address coderabitaai comments and reword
Bill-hbrhbr cbd2d16
Clarify stage names
Bill-hbrhbr 18bc69a
use v0.5.1 commit hashes
Bill-hbrhbr ed4c997
minor doc nit
Bill-hbrhbr a42d244
Merge branch 'main' into docs-restructure-rename-logarchivalbench
Bill-hbrhbr 78e0f66
Apply suggestions from code review
Bill-hbrhbr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,27 @@ | ||
# CLP methodology | ||
|
||
**Version:** [0.4.0](https://github.com/y-scope/clp/releases/tag/v0.4.0) | ||
**Version:** [clp-0.5.1] | ||
|
||
**File with Formatted Queries:** [Config File](/assets/clp/config.yaml) | ||
**File with Formatted Queries:** [Config File] | ||
|
||
## Setup | ||
|
||
The benchmark builds on the public [**CLP core Ubuntu-Jammy**](http://ghcr.io/y-scope/clp/clp-core-dependencies-x86-ubuntu-jammy) docker image. | ||
The benchmark builds on the public [CLP core Ubuntu-Jammy] docker image. | ||
|
||
We use the clp-s binary, which is a variant of CLP optimized for semi-structured logs like JSON. We run clp-s with a target encoded size of 256MB, balancing compression ratio with search speed. Increasing the target encoded size can yield even better compression. Additional tuning options are documented in the user guide, [here.](https://docs.yscope.com/clp/v0.4.0/user-guide/core-clp-s) | ||
We use the clp-s binary, which is a variant of CLP optimized for semi-structured logs like JSON. We | ||
run clp-s with a target encoded size of 256MB, balancing compression ratio with search speed. | ||
Increasing the target encoded size can yield even better compression. Additional tuning options are | ||
documented in the [user guide]. | ||
|
||
There is no need to launch clp-s, once built it can just be called on the command line and will be just shut down when it’s completed its command execution. The only thing we do before calling clp-s is to make a directory for its output files. We provide this as one of the parameters to the ingestion and search commands. | ||
There is no need to launch clp-s, once built it can just be called on the command line and will be | ||
just shut down when it’s completed its command execution. The only thing we do before calling clp-s | ||
is to make a directory for its output files. We provide this as one of the parameters to the | ||
ingestion and search commands. | ||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
CLP doesn’t maintain any internal caches for us to clear, so before each query we flush the file system buffers and clear the filesystem caches. | ||
CLP doesn’t maintain any internal caches for us to clear, so before each query we flush the file | ||
system buffers and clear the filesystem caches. | ||
|
||
[CLP core Ubuntu-Jammy]: http://ghcr.io/y-scope/clp/clp-core-dependencies-x86-ubuntu-jammy | ||
Bill-hbrhbr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
[clp-0.5.1]: https://github.com/y-scope/clp/releases/tag/v0.5.1 | ||
[Config File]: /assets/clp/config.yaml | ||
Bill-hbrhbr marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[user guide]: https://docs.yscope.com/clp/v0.5.1/user-docs/core-clp-s.html | ||
Bill-hbrhbr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.