RaisFastRaisFast
Getting Started

Benchmark

RaisFast performance benchmarks against Payload, Strapi, and WordPress on identical hardware.

All benchmarks run on the same hardware: 2 vCPU, 4 GB RAM VPS, single instance, SQLite (RaisFast) / PostgreSQL (Payload, Strapi) / MySQL (WordPress). Test tool: wrk with 100 concurrent connections, 30 seconds.

Throughput (Read)

GET /api/v1/posts?page=1&limit=20 — the most common API call.

API Throughput (requests per second)

RaisFast  ████████████████████████████████████████  30,000+
Payload   █████                                       3,200
Strapi    ████                                         2,000
WordPress █                                             500
CMSLanguageRPSvs RaisFast
RaisFastRust30,000+1x
Payload CMSNode.js3,2009.4x slower
StrapiNode.js2,00015x slower
WordPressPHP50060x slower

Latency (Read)

GET /api/v1/posts/:id — single item fetch.

CMSP50P90P99
RaisFast0.3 ms0.8 ms3 ms
Payload CMS5 ms18 ms45 ms
Strapi8 ms25 ms60 ms
WordPress30 ms100 ms250 ms+

Write Performance

POST /api/v1/posts — authenticated create, JSON body.

CMSRPS
RaisFast12,000+
Payload CMS1,500
Strapi800
WordPress200

Memory Usage

CMSIdleUnder Load (1K connections)
RaisFast~10 MB~30 MB
Payload CMS~200 MB~500 MB
Strapi~150 MB~400 MB
WordPress~80 MB~250 MB

RaisFast uses 20-50x less memory than Node.js alternatives.

Cold Start

Time from process start to first successful HTTP response.

CMSStartup TimeDependencies
RaisFast< 0.5s0 (single binary)
WordPress~2sApache + PHP + MySQL
Payload CMS~3sNode.js + PostgreSQL
Strapi~5sNode.js + PostgreSQL

Concurrency Scalability

RPS as connections ramp from 1 to 1000:

RPS
30K ┤                                              ████████████ RaisFast
    │                                         ██████
    │                                    █████

 3K ┤                     █████████████████          Payload
    │                ██████
    │           █████
 2K ┤      ████████████████████                       Strapi
    │ ██████

 500┤ █                                             WordPress
    └──┬──────┬──────┬──────┬──────┬──────┬────
       1     10     50    100    500   1000    Connections

RaisFast throughput scales linearly with connections. Node.js CMS platforms hit a ceiling due to single-threaded event loop and GC pressure.

Why RaisFast Is Faster

FactorRaisFast (Rust)Node.js CMSPHP CMS
No GCZero-cost ownership, deterministic cleanupStop-the-world GC pausesGC pauses
Async I/OTokio, true multi-coreSingle-threaded event loopBlocking I/O
HTTP FrameworkAxum (zero-copy)Express/Koa (overhead)Apache module
Database DriverSQLx (async, compile-time checked)ORM (query builder overhead)PDO/MySQLi
Serializationserde (zero-copy)JSON.parse (allocation-heavy)json_encode
Memory layoutStack-first, cache-friendlyHeap-heavy, GC pressureHeap-heavy

Reproduce These Benchmarks

All benchmark scripts are open source:

git clone https://github.com/RaisFast/raisfast.git
cd raisfast/benchmarks
./run-all.sh

Each script provisions identical test data (1,000 posts with categories and tags) before measuring.

Disclaimer: Benchmark results depend on hardware, data size, and configuration. These numbers represent typical results on a 2 vCPU / 4 GB VPS. Your results may vary. We publish our methodology and scripts for full transparency and reproducibility.

On this page