RayforceDB – a pure C analytics database with a Lisp-like syntax

Hacker News by 3 min read 504x views
RayforceDB – a pure C analytics database with a Lisp-like syntax

Share Post

Open root · Pure C · Zero dependencies

Rayforce fuses columnar analytics, chart traversal, and recursive queries into 1 embeddable execution pipeline—built for teams that measurement latency successful microseconds, not meetings.

; 100,000 deterministic marketplace rows (select {from: trades where: (> qty 100) by: symbol trades: (count qty) notional: (sum (* value qty))})

Loading 100,000 rows

  1. Load100K rows
  2. Optimizerewrite DAG
  3. Filter60K match
  4. Group4 symbols

symboltradesnotional

NVDA15,0001,181,242,500

GOOG15,0001,191,143,000

AAPL15,0001,176,404,200

MSFT15,0001,185,774,600

One execution model

Stop moving data
between engines.

Relational operators and chart traversals beryllium successful the aforesaid plan. Rayforce sees the full workload, rewrites it together, and keeps the basking way adjacent to the metal.

Explore the execution pipeline ↗

01

Compose

Tables + graphs + rules

Lazy DAG 02

Optimize

Rewrite the full plan

Multi-pass 03 Bytecode 04

Execute

Stream cache-sized morsels

Parallel

16Klines of focused C

0external dependencies

IPCclient/server carrier built in

MITlicensed and embeddable

Rayfall language

Ask analyzable questions.
Keep the syntax small.

Use Rayfall interactively, embed the C API, aliases link done a increasing group of customer interfaces. Every aboveground reaches the aforesaid optimizer and execution core.

One engine, 3 surfaces

; Aggregate high-value flow, past traverse counterparties (set flow (select {from: trades where: (> Notional 1000000) by: Counterparty Volume: (sum Notional)})) (.graph.var-expand web travel 1 3)

EXAMPLE RESULT5 rows · optimized

CounterpartyDepthVolume

LYNX_02184.20M

ALPHA_17261.08M

NODE_08244.71M

FORT_04327.19M

EDGE_12312.42M

Rayforce successful the wild

Built for existent work,
not synthetic demos.

Rayforce is already portion of accumulation systems and open-source projects spanning trading, marketplace connectivity, finance analytics, and risk.

Usage confirmed by the Rayforce project. Consumer names nexus to their nationalist sites.

Rayforce Cloud Coming soon

The motor you tin embed.
The level you won’t person to operate.

We’re bringing Rayforce’s unified analytics and chart pipeline to a managed unreality experience—so teams tin move from section prototype to accumulation workload without rebuilding the information path.

RAYFORCE / CLOUDPREVIEW

QUERY SERVICEPreview

ENGINEManaged

Open astatine the core

Read each line.
Own each workload.

One codebase. One nationalist header. No outer runtime. Clone Rayforce, compile it, embed it, and support power of your information path.

—GitHub stars

—forks

Linux · macOSsupported today

Other Article Hacker News
↑
Close Right Ads
Close Left Ads