File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ Three ways to run JavaScript in the V8 runtime.
44
55## Comparison
66
7- | Mode | Cold Start | Warm Start | Thread Model | Use Case |
8- | ----------------- | ------------- | ---------- | ------------------------ | -------------- |
9- | ** IsolatePool** | ~ µs | Fastest | Multi-thread, v8::Locker | ** Production ** |
10- | ** Worker** | ~ ms | ~ ms | Single, per-request | Max isolation |
11- | ** SharedIsolate** | ~ µs | ~ µs | Thread-local | Legacy |
7+ | Mode | Cold Start | Warm Start | Thread Model | Use Case |
8+ | ----------------- | ------------- | ---------- | ------------------------ | ---------------- |
9+ | ** IsolatePool** | ~ µs | Fastest | Multi-thread, v8::Locker | High throughput |
10+ | ** Worker** | ~ ms | ~ ms | Single, per-request | Max isolation |
11+ | ** SharedIsolate** | ~ µs | ~ µs | Thread-local | Legacy |
1212
13- ## IsolatePool (Recommended)
13+ ## IsolatePool
1414
1515Global LRU cache of isolates, accessible from any thread via ` v8::Locker ` .
1616
@@ -75,9 +75,9 @@ ctx.exec(task).await?;
7575
7676---
7777
78- ## Thread-Pinned Pool (Recommended for Multi-Tenant)
78+ ## Thread-Pinned Pool
7979
80- For multi-tenant security , each thread owns its local pool with per-owner isolation.
80+ For multi-tenant scenarios , each thread owns its local pool with per-owner isolation.
8181
8282``` rust
8383use openworkers_runtime_v8 :: {init_pinned_pool_full, execute_pinned};
You can’t perform that action at this time.
0 commit comments