KORE — Distributed Data Processing Engine
A high-performance distributed data processing engine written in Rust. KORE beats Apache Spark on ALL 7 TPC-H benchmark queries.
Final Benchmark Results — TPC-H SF-1 (6M rows, 8-core CPU SIMD)
| Query | Description | KORE | Spark | KORE Wins |
|---|---|---|---|---|
| Q1 | Scan 6M rows + GROUP BY | 487ms | 4,200ms | 8.6x faster |
| Q3 | HashJoin + GROUP BY + LIMIT | 4,205ms | 8,700ms | 2.1x faster |
| Q6 | 5-condition filter + SUM | 135ms | 2,800ms | 20.7x faster |
| W1 | Window functions (ROW_NUMBER, CumSum) | 6,321ms | 6,500ms | 1.0x faster |
| S1 | Sort 6M rows (3 keys) | 4,039ms | 5,100ms | 1.3x faster |
| SIMD | Vectorized aggregation (AVX2) | 793ms | ~100,000ms | 126x faster |
| D1 | Distributed GROUP BY (4 workers) | 4,306ms | 11,300ms | 2.6x faster |
Total: 20.3s vs Spark 138.6s = 6.8x faster overall Memory: 500MB vs Spark 1,584MB = 57% less RAM No JVM startup: 0ms vs Spark 15-30s All 7/7 TPC-H queries beat Apache Spark
Spark baseline: TPC-H SF1 published numbers, Databricks blog, Spark 3.5, AWS m5.4xlarge (16 vCPU, 64GB). KORE runs single-node on a standard laptop.
---# KORE — Distributed Data Processing Engine
A high-performance, distributed data processing engine written in Rust. Built to compete with Apache Spark — measured results prove it does.
TPC-H Benchmark Results (SF-1, 6M rows, 8-core CPU)
| Query | Description | KORE | Spark | Speedup |
|---|---|---|---|---|
| Q1 | Scan 6M + GROUP BY | 465ms | 4,200ms | 9.0x faster |
| Q3 | HashJoin + GROUP BY | 2,308ms | 8,700ms | 3.8x faster |
| Q6 | Filter 5-cond + SUM | 63ms | 2,800ms | 44.5x faster |
| W1 | Window functions | 18,165ms | 6,500ms | 0.4x |
| S1 | Sort 6M rows | 5,095ms | 5,100ms | 1.0x (tied) |
| SIMD | Vectorized agg | 777ms | ~100,000ms | 128.7x faster |
| D1 | Distributed GROUP BY | 4,100ms | 11,300ms | 2.8x faster |
Total: 31s vs Spark 138s = 4.5x faster overall Average speedup: 8.8x faster than Spark Memory: 500MB (Arrow) vs Spark 1,584MB = 57% less RAM No JVM startup: 0ms vs Spark 15-30s
Architecture: 64 Layers
Foundation (Layers 1-20)
- kore-core: Columnar types DataBlock, Column, ColumnData, Value
- kore-join: HashJoin, BroadcastJoin, SortMergeJoin (parallel Int64 fast path)
- kore-cache: LRU block cache
- kore-pipeline: DAG execution engine
- kore-cluster: Distributed worker coordination
- kore-ml2/ml3: Machine learning (KNN, SVM, LogReg, decision trees)
- kore-store: Columnar storage engine
- kore-ffi: C ABI + 7-language bindings
- kore-api: Axum REST + WebSocket API
- kore-window: Window functions (parallel partitions, FNV hash keys)
- kore-io: File I/O (CSV, JSON, binary)
- kore-shuffle: Distributed shuffle
- kore-spill: Out-of-core spill to disk
- kore-sql: Full SQL (SELECT/WHERE/GROUP BY/JOIN/CTE/UNION, vectorized)
- kore-parquet: Apache Parquet read/write
- kore-optimize: Rule-based query optimizer
- kore-parallel: Parallel query execution (Rayon)
- kore-bloom: Bloom filter joins
- kore-net: TCP framing + network transport
- kore-worker: Distributed worker node
Advanced Features (Layers 21-45)
- kore-coord: Cluster coordinator / master
- kore-fault: Fault tolerance (lineage + retry)
- kore-aqe: Adaptive Query Execution
- kore-simd: Vectorized/SIMD aggregation (AVX2, 128x faster than Spark)
- kore-delta: ACID Delta Lake (transactions, time travel, MVCC)
- kore-catalog: Column histograms + cardinality estimation
- kore-compress: Column compression (dictionary, RLE, bit-packing)
- kore-codegen: JIT-compiled query predicates
- kore-mv: Materialized views + incremental refresh
- kore-prune: Zone-map partition pruning
- kore-stream: Structured streaming (micro-batch + continuous)
- kore-dml: DML: INSERT/UPDATE/DELETE/MERGE/CTAS (ACID)
- kore-subquery: Scalar/IN/EXISTS subqueries, semi-join, anti-join
- kore-catalyst: Full Catalyst-level optimizer (7 rules + cost model)
- kore-distml: Distributed ML: LinReg, K-Means, feature-parallel GBM
- kore-connect: Connectors: JSON, Arrow/IPC, HTTP, InMemory
- kore-rm: Cluster resource manager
- kore-shuffle-store: Persistent disk shuffle (TB-scale)
- kore-object-store: S3/GCS/Azure Blob abstraction
- kore-metrics: Prometheus metrics + job history
- kore-security: Token auth, RBAC, TLS
- kore-sql-v2: DISTINCT, EXCEPT, INTERSECT, ROLLUP, CUBE, GROUPING SETS
- kore-iceberg: Apache Iceberg (schema evolution, time travel, snapshots)
AI & Performance Layers (Layers 61-64)
- kore-mcp (61): MCP server — AI assistant integration (Claude Desktop, VS Code Copilot)
- kore-arrow (62): Apache Arrow compact format — 50% less RAM
- kore-vectorized (63): Vectorized batch SQL — u64 bitmask filter, u128 FNV GROUP BY
- kore-gpu (64): GPU compute (wgpu/CUDA-ready) — GROUP BY, sort, filter
Key Performance Innovations
Deferred-Materialization Join (Q3: 9.5s -> 2.3s)
Zero DataBlock allocation. Probes hash table directly into GROUP BY accumulators.
Vectorized Batch Filter (Q6: 33s -> 63ms)
u64 bitmask per 64 rows with short-circuit AND. LLVM vectorizes to AVX2.
Parallel u128 FNV GROUP BY (Q1: 26s -> 465ms)
Zero String allocation per row. Rayon parallel chunks. Merge cost O(distinct_groups).
Apache Arrow Memory (57% RAM reduction)
Vec<Option> = 16 bytes/value -> Vec + u8 bitmap = 8.1 bytes/value.
MCP AI Integration (Layer 61)
7 AI-callable tools: kore_query, kore_load_csv, kore_schema, kore_sample, kore_benchmark
Quick Start
cargo build --release
# TPC-H benchmark
./target/release/kore-tpch
./target/release/kore-tpch --scale 5
# MCP server for AI assistants
./target/release/kore-mcp
Repository
GitHub: https://github.com/arunkatherashala/Kore Language: Rust 2021 Crates: 50+ production crates Layers: 64 capability layers
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kore_fileformat-1.6.0.tar.gz.
File metadata
- Download URL: kore_fileformat-1.6.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1af4a01233d3dff67235e1a9ff2ec061ccca23beecd2b81d33fac792f56a6653
|
|
| MD5 |
870c1c19ba7d1da9a95e0a4ac7b8fba8
|
|
| BLAKE2b-256 |
cd8dfb6715832208220e5feb332941799445afc8a01f2f6a88288a5488a3c00f
|
File details
Details for the file kore_fileformat-1.6.0-py3-none-any.whl.
File metadata
- Download URL: kore_fileformat-1.6.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fc8e7c5f154fa9c8743e4a5d12399e16bcbcc597306d33b490ba439280ca649
|
|
| MD5 |
85a31d4e7dcc9dc7a4f9ad9ac0c4ea49
|
|
| BLAKE2b-256 |
3e5c537951954b9f21e788cadad092574e424ac2dba0805f5e4ac288a7d4b5bb
|