Skip to content

Commit e37a41d

Browse files
Copilotmax-lt
andcommitted
Remove prescriptive labels, let users choose execution mode
Co-authored-by: max-lt <9805205+max-lt@users.noreply.github.com>
1 parent a1c22ae commit e37a41d

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/execution_modes.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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

1515
Global 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
8383
use openworkers_runtime_v8::{init_pinned_pool_full, execute_pinned};

0 commit comments

Comments
 (0)