Skip to main content

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

kore_fileformat-1.6.5.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kore_fileformat-1.6.5-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file kore_fileformat-1.6.5.tar.gz.

File metadata

  • Download URL: kore_fileformat-1.6.5.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

Hashes for kore_fileformat-1.6.5.tar.gz
Algorithm Hash digest
SHA256 00001e3fe59d0f9dfaeb17f482411abe7ad9d2a4ba291b262fca13b564a4b2be
MD5 7d8c476f7299dc24c2b57c48dec465ba
BLAKE2b-256 aa96125846e63416f937f8cc6642b228641f54f463f03af375e720ea07c38cc7

See more details on using hashes here.

File details

Details for the file kore_fileformat-1.6.5-py3-none-any.whl.

File metadata

File hashes

Hashes for kore_fileformat-1.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 32626371b75d446ac9c6aaba8a8c815fdcf22af57a558209da695bb9590cacd3
MD5 79c59305d12ce26c1de28bd5f568c979
BLAKE2b-256 601613c1dfb43596cda12fcb4ee69be836cc7bc326ece5c10e335654d5554848

See more details on using hashes here.

Release history Release notifications | RSS feed

1.8.0

2 files

1.7.3

2 files

1.6.7

2 files

1.6.6

2 files

This release

1.6.5 This release

2 files

1.6.0

2 files

1.5.1

3 files

1.5.0

3 files

1.3.3

1 file

1.3.2

3 files

1.3.1

5 files

1.3.0

1 file

1.2.9

10 files

1.2.8

3 files

1.2.3

3 files

1.2.2

3 files

1.2.1

3 files

1.2.0

3 files

1.1.6

3 files

1.1.5

3 files

1.1.4

3 files

1.1.3

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page