Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
86102cb
Build portable and CPU-tuned Parseable releases
VibeSWE Dec 2, 2026
05df866
perf(low-level): enable simdutf8 std, lock-free shutdown, borrowed JS…
VibeSWE Dec 2, 2026
7dc2272
perf(ingest,query): single-pass simdutf8 flat JSON parse, prefix-buff…
VibeSWE Dec 2, 2026
b37aaa4
build(release): add opt-in PGO generate/use hooks to build-release.sh
VibeSWE Dec 2, 2026
dde8efa
Count native numeric field values and overlap unclustered log statistics
VibeSWE Dec 2, 2026
2d448de
Reduce stream invalidation, HTTP auth and schema key overhead
VibeSWE Dec 2, 2026
2466138
Build known OTLP log batches directly and reuse sorted metric labels
VibeSWE Dec 2, 2026
e937174
perf(query): optimize flat JSON serialization and Arrow column reads
VibeSWE Dec 2, 2026
ef27b2d
perf(clustering,build): fast packed-u128 severity sort and switch ton…
VibeSWE Dec 2, 2026
d5b6fa2
perf(staging): coalesce IPC conversion reads, add none compression, a…
VibeSWE Dec 2, 2026
c21d4d2
perf(ingest): move POST /api/v1/logstream/{stream} off Actix workers …
VibeSWE Dec 2, 2026
87939a4
perf(query): elide certified staging filters and compact TopK winners
VibeSWE Dec 2, 2026
8a9b9d4
perf(query): decode Parquet strings as views across stream scans
VibeSWE Dec 2, 2026
042550e
perf(json): replace flat JSON serde visitor with zero-unsafe single-p…
VibeSWE Dec 2, 2026
c191a93
test(compat): update partitiontypes oracle for PR #86 atomic schema a…
VibeSWE Dec 2, 2026
ad14d82
perf(query): pre-compile ILIKE patterns and add Unicode-sound ASCII f…
VibeSWE Dec 2, 2026
fbd42f9
perf(sched): eliminate Rayon sched_yield storms with FutexWorkerPool …
VibeSWE Dec 2, 2026
818a4fa
perf(sched): size default ingest workers to available CPUs and fix li…
VibeSWE Dec 2, 2026
a17f843
fix(storage): keep multipart uploads within 10,000 parts and the uplo…
VibeSWE Dec 2, 2026
fff716a
fix(kafka): wire ConsumerConfig flags, add (partition, minute) batchi…
VibeSWE Dec 2, 2026
a3a35b1
Maintain HotTier byte totals and checkpoint dirty state off-lock
VibeSWE Dec 2, 2026
69facc5
Defer local Parquet payload reads until progressive TopK winners are …
VibeSWE Dec 2, 2026
7bbd33b
perf(otel): read OTLP protobuf levels once as an index and decode log…
VibeSWE Dec 2, 2026
704cece
Decode OTLP JSON log exports in a single pass
VibeSWE Dec 2, 2026
892aa7f
Validate and reuse decoded manifests across metastore reads
VibeSWE Dec 2, 2026
56db987
perf(query): borrow selected manifest files and separate Parquet cach…
VibeSWE Dec 2, 2026
269c975
perf(otel): extend direct columnar Arrow batch building to OTLP metri…
VibeSWE Dec 2, 2026
35695d7
perf(otel): unify json_fast export and wire columnar metrics/traces s…
VibeSWE Dec 2, 2026
6044d1b
fix(polish): log worker pool panics, cap ASCII ILIKE contains needle …
VibeSWE Dec 2, 2026
df268bc
perf(query): sharded small_file_cache with bound ParquetMetaData, Loc…
VibeSWE Dec 2, 2026
a290ffb
perf(query): wire LocalImmutable small_file_cache, zero-clone *_share…
VibeSWE Dec 2, 2026
169d4ac
test(query): pass explicit disabled cache options in ordering_tests M…
VibeSWE Dec 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 25 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ on:
# Each job builds the frontend into this absolute path before cargo runs.
env:
NEXT_ASSETS_PATH: ${{ github.workspace }}/frontend/dist
RELEASE_PROFILE: release

jobs:
# Default build without Kafka
build-default:
name: Build Default ${{matrix.target}}
name: Build Default ${{ matrix.target }} ${{ matrix.cpu }}
env:
CARGO_BUILD_TARGET: ${{ matrix.target }}
PARSEABLE_TARGET_CPU: ${{ matrix.cpu }}
runs-on: ${{ matrix.os }}
timeout-minutes: 180
strategy:
Expand All @@ -21,6 +25,9 @@ jobs:
# Linux builds - both native, matching the release workflow
- os: ubuntu-24.04
target: x86_64-unknown-linux-gnu
- os: ubuntu-24.04
target: x86_64-unknown-linux-gnu
cpu: x86-64-v3
- os: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu

Expand Down Expand Up @@ -82,17 +89,25 @@ jobs:
- name: Cache Rust build
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.target }}-default-release
key: ${{ matrix.target }}-${{ matrix.cpu || 'portable' }}-default-release

- name: Build native
env:
CC: ${{ runner.os == 'Linux' && 'gcc-11' || '' }}
CXX: ${{ runner.os == 'Linux' && 'g++-11' || '' }}
run: cargo build --target ${{ matrix.target }} --release
shell: bash
run: ./scripts/build-release.sh

# Kafka build for x86_64 Linux only
build-kafka:
name: Build Kafka x86_64-unknown-linux-gnu
name: Build Kafka x86_64-unknown-linux-gnu ${{ matrix.cpu }}
strategy:
fail-fast: false
matrix:
cpu: [portable, x86-64-v3]
env:
CARGO_BUILD_TARGET: x86_64-unknown-linux-gnu
PARSEABLE_TARGET_CPU: ${{ matrix.cpu }}
runs-on: ubuntu-24.04
timeout-minutes: 180
steps:
Expand Down Expand Up @@ -156,7 +171,7 @@ jobs:
- name: Cache Rust build
uses: Swatinem/rust-cache@v2
with:
key: x86_64-unknown-linux-gnu-kafka-release
key: x86_64-unknown-linux-gnu-${{ matrix.cpu }}-kafka-release

- name: Find and fix librdkafka CMakeLists.txt
run: |
Expand All @@ -180,11 +195,13 @@ jobs:
CC: gcc-11
CXX: g++-11
LIBRDKAFKA_SSL_VENDORED: "1"
run: cargo build --target x86_64-unknown-linux-gnu --features kafka --release
run: ./scripts/build-release.sh --features kafka

# Kafka build for aarch64 macOS
build-kafka-mac:
name: Build Kafka aarch64-apple-darwin
env:
CARGO_BUILD_TARGET: aarch64-apple-darwin
runs-on: macos-latest
timeout-minutes: 120
steps:
Expand Down Expand Up @@ -228,7 +245,7 @@ jobs:
- name: Cache Rust build
uses: Swatinem/rust-cache@v2
with:
key: aarch64-apple-darwin-kafka-release
key: aarch64-apple-darwin-apple-m1-kafka-release

- name: Find and fix librdkafka CMakeLists.txt
run: |
Expand All @@ -250,4 +267,4 @@ jobs:
- name: Build with Kafka
env:
LIBRDKAFKA_SSL_VENDORED: "1"
run: cargo build --target aarch64-apple-darwin --features kafka --release
run: ./scripts/build-release.sh --features kafka
90 changes: 66 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-linux:
name: Build for ${{matrix.target}}
name: Build for ${{ matrix.target }}${{ matrix.suffix }}
env:
CARGO_BUILD_TARGET: ${{ matrix.target }}
PARSEABLE_TARGET_CPU: ${{ matrix.cpu }}
ASSET: Parseable_OSS_${{ matrix.target }}${{ matrix.suffix }}
runs-on: ${{ matrix.os }}
permissions:
id-token: write
Expand All @@ -101,16 +105,33 @@ jobs:
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-24.04
cpu: portable
- target: x86_64-unknown-linux-gnu
os: ubuntu-24.04
cpu: x86-64-v3
suffix: -v3
# A hosted runner lost contact during the cross-compiled LTO build,
# so aarch64 builds natively on an Arm runner.
- target: aarch64-unknown-linux-gnu
os: ubuntu-24.04-arm
cpu: portable
timeout-minutes: 180
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.build-profile == 'release-thin-lto' && inputs.tag || format('refs/tags/{0}', inputs.tag) }}

# A manually selected release ref can predate this build helper.
- &release-tools
name: Check out release tooling from the workflow revision
uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
path: .release-tools
sparse-checkout: /scripts/build-release.sh
sparse-checkout-cone-mode: false
persist-credentials: false

- name: Prepare Linux build resources
if: runner.os == 'Linux'
run: |
Expand Down Expand Up @@ -153,33 +174,33 @@ jobs:
- name: Cache Rust build
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.target }}-default-${{ env.RELEASE_PROFILE }}
key: ${{ matrix.target }}-${{ matrix.cpu }}-default-${{ env.RELEASE_PROFILE }}

- name: Build native
run: cargo build --profile "$RELEASE_PROFILE" --target ${{ matrix.target }}
run: ./.release-tools/scripts/build-release.sh

- name: Rename binary
run: |
mv target/${{ matrix.target }}/$RELEASE_PROFILE/parseable Parseable_OSS_${{ matrix.target }}
mv "target/$CARGO_BUILD_TARGET/$RELEASE_PROFILE/parseable" "$ASSET"

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: Parseable_OSS_${{ matrix.target }}
subject-path: ${{ env.ASSET }}

- name: Create Artifact
uses: actions/upload-artifact@v4
with:
name: Parseable_OSS_${{ matrix.target }}
path: Parseable_OSS_${{ matrix.target }}
name: ${{ env.ASSET }}
path: ${{ env.ASSET }}

- name: Publish Archive to Release Page
if: env.RELEASE_PROFILE == 'release-lto'
uses: softprops/action-gh-release@v0.1.15
with:
draft: false
tag_name: ${{ inputs.tag }}
files: Parseable_OSS_${{ matrix.target }}
files: ${{ env.ASSET }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -254,6 +275,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-mac:
env:
CARGO_BUILD_TARGET: ${{ matrix.target }}
runs-on: macos-latest
timeout-minutes: 120
permissions:
Expand All @@ -271,6 +294,8 @@ jobs:
with:
ref: ${{ inputs.build-profile == 'release-thin-lto' && inputs.tag || format('refs/tags/{0}', inputs.tag) }}

- *release-tools

- name: Set up Node.js
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -298,16 +323,16 @@ jobs:
- name: Cache Rust build
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.target }}-default-${{ env.RELEASE_PROFILE }}
key: ${{ matrix.target }}-apple-m1-default-${{ env.RELEASE_PROFILE }}

- name: Build
run: |
cargo build --profile "$RELEASE_PROFILE" --target ${{ matrix.target }}
strip target/${{ matrix.target }}/$RELEASE_PROFILE/Parseable
./.release-tools/scripts/build-release.sh
strip "target/$CARGO_BUILD_TARGET/$RELEASE_PROFILE/parseable"

- name: Rename binary
run: |
mv target/${{ matrix.target }}/$RELEASE_PROFILE/Parseable Parseable_OSS_${{ matrix.target }}
mv "target/$CARGO_BUILD_TARGET/$RELEASE_PROFILE/parseable" Parseable_OSS_${{ matrix.target }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
Expand All @@ -331,7 +356,18 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-kafka-linux:
name: Build Kafka for x86_64-unknown-linux-gnu
name: Build Kafka for x86_64-unknown-linux-gnu${{ matrix.suffix }}
strategy:
fail-fast: false
matrix:
include:
- cpu: portable
- cpu: x86-64-v3
suffix: -v3
env:
CARGO_BUILD_TARGET: x86_64-unknown-linux-gnu
PARSEABLE_TARGET_CPU: ${{ matrix.cpu }}
ASSET: Parseable_OSS_x86_64-unknown-linux-gnu${{ matrix.suffix }}-kafka
runs-on: ubuntu-24.04
timeout-minutes: 180
permissions:
Expand All @@ -343,6 +379,8 @@ jobs:
with:
ref: ${{ inputs.build-profile == 'release-thin-lto' && inputs.tag || format('refs/tags/{0}', inputs.tag) }}

- *release-tools

- name: Prepare Linux build resources
if: runner.os == 'Linux'
run: |
Expand Down Expand Up @@ -401,7 +439,7 @@ jobs:
- name: Cache Rust build
uses: Swatinem/rust-cache@v2
with:
key: x86_64-unknown-linux-gnu-kafka-${{ env.RELEASE_PROFILE }}
key: x86_64-unknown-linux-gnu-${{ matrix.cpu }}-kafka-${{ env.RELEASE_PROFILE }}

- name: Find and fix librdkafka CMakeLists.txt
run: |
Expand All @@ -424,35 +462,37 @@ jobs:
CC: gcc-11
CXX: g++-11
LIBRDKAFKA_SSL_VENDORED: "1"
run: cargo build --profile "$RELEASE_PROFILE" --target x86_64-unknown-linux-gnu --features kafka
run: ./.release-tools/scripts/build-release.sh --features kafka

- name: Rename binary
run: |
mv target/x86_64-unknown-linux-gnu/$RELEASE_PROFILE/parseable Parseable_OSS_x86_64-unknown-linux-gnu-kafka
mv "target/$CARGO_BUILD_TARGET/$RELEASE_PROFILE/parseable" "$ASSET"

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: Parseable_OSS_x86_64-unknown-linux-gnu-kafka
subject-path: ${{ env.ASSET }}

- name: Create Artifact
uses: actions/upload-artifact@v4
with:
name: Parseable_OSS_x86_64-unknown-linux-gnu-kafka
path: Parseable_OSS_x86_64-unknown-linux-gnu-kafka
name: ${{ env.ASSET }}
path: ${{ env.ASSET }}

- name: Publish Archive to Release Page
if: env.RELEASE_PROFILE == 'release-lto'
uses: softprops/action-gh-release@v0.1.15
with:
draft: false
tag_name: ${{ inputs.tag }}
files: Parseable_OSS_x86_64-unknown-linux-gnu-kafka
files: ${{ env.ASSET }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-kafka-mac:
name: Build Kafka for aarch64-apple-darwin
env:
CARGO_BUILD_TARGET: aarch64-apple-darwin
runs-on: macos-latest
timeout-minutes: 120
permissions:
Expand All @@ -465,6 +505,8 @@ jobs:
with:
ref: ${{ inputs.build-profile == 'release-thin-lto' && inputs.tag || format('refs/tags/{0}', inputs.tag) }}

- *release-tools

- name: Set up Node.js
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -502,7 +544,7 @@ jobs:
- name: Cache Rust build
uses: Swatinem/rust-cache@v2
with:
key: aarch64-apple-darwin-kafka-${{ env.RELEASE_PROFILE }}
key: aarch64-apple-darwin-apple-m1-kafka-${{ env.RELEASE_PROFILE }}

- name: Find and fix librdkafka CMakeLists.txt
run: |
Expand All @@ -524,12 +566,12 @@ jobs:
env:
LIBRDKAFKA_SSL_VENDORED: "1"
run: |
cargo build --profile "$RELEASE_PROFILE" --target aarch64-apple-darwin --features kafka
strip target/aarch64-apple-darwin/$RELEASE_PROFILE/Parseable
./.release-tools/scripts/build-release.sh --features kafka
strip "target/$CARGO_BUILD_TARGET/$RELEASE_PROFILE/parseable"

- name: Rename binary
run: |
mv target/aarch64-apple-darwin/$RELEASE_PROFILE/Parseable Parseable_OSS_aarch64-apple-darwin-kafka
mv "target/$CARGO_BUILD_TARGET/$RELEASE_PROFILE/parseable" Parseable_OSS_aarch64-apple-darwin-kafka

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ webpki-roots = "1"
arrow = "59.2.0"
arrow-array = "59.2.0"
arrow-flight = { version = "59.2.0", features = [
"tls-aws-lc",
"tls-ring",
"tls-native-roots",
] }
arrow-ipc = { version = "59.3.0", features = ["zstd"] }
Expand All @@ -43,7 +43,7 @@ actix-web-static-files = "4.0"
http = "1.0"
http-auth-basic = "0.3.3"
tonic = { version = "0.14.1", features = [
"tls-aws-lc",
"tls-ring",
"tls-native-roots",
"transport",
"gzip",
Expand Down Expand Up @@ -167,7 +167,7 @@ crossterm = "0.29.0"
hostname = "0.4.0"
human-size = "0.4"
num_cpus = "1.15"
sysinfo = { version = "0.34.2", features = ["multithread"] }
sysinfo = "0.34.2"
uptime_lib = "0.3.0"

# Utility Libraries
Expand Down Expand Up @@ -202,6 +202,9 @@ prost = "0.14.1"
dashmap = "6.2.1"
parking_lot = "0.12.5"
indexmap = { version = "2.14.0", features = ["serde"] }
# Enable simdutf8's default `std` feature (runtime CPUID dispatch to AVX2/SSE4.2/NEON)
# so arrow-json and parquet do not compile down to scalar UTF-8 validation on baseline builds.
simdutf8 = "0.1.5"

[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = { version = "0.7.0", features = [
Expand Down
Loading
Loading