@morojs/engine 1.1.12 → 1.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -72,12 +72,16 @@ platform/ABI falls back to Node's `http` server via MoroJS.
72
72
 
73
73
  ## I/O transport
74
74
 
75
- The engine runs on libuv streams by default. On Linux 6.1+ an io_uring
75
+ On Linux the engine runs its own socket path on libuv's epoll by default
76
+ (since 1.1.10): plain non-blocking sockets as libuv poll handles, one
77
+ `epoll_wait` per loop turn, each turn's sockets served grouped by the CPU
78
+ their peer sends from. macOS and Windows run on libuv streams, which Linux
79
+ can also select with `MORO_ENGINE_TRANSPORT=uv`. On Linux 6.1+ an io_uring
76
80
  transport is available opt-in (`MORO_ENGINE_TRANSPORT=uring`): it is probed
77
81
  once per process by a feature check and a self-test, and anywhere it is
78
82
  unavailable (kernels before 6.1, gVisor, containers under Docker's default
79
83
  seccomp profile, which blocks `io_uring_setup`) the engine silently stays on
80
- libuv. Neither transport changes a byte on the wire. `probe().transport`
84
+ epoll. No transport changes a byte on the wire. `probe().transport`
81
85
  reports which one is live, `probe().transportReason` why, and
82
86
  `probe().transportMode` which io_uring ring mode is running: `defer-taskrun`
83
87
  (completions run as one batch inside the engine's own `io_uring_enter`, woken
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morojs/engine",
3
- "version": "1.1.12",
3
+ "version": "1.1.14",
4
4
  "description": "MoroJS native HTTP engine - Moro-authored C++ core with per-platform prebuilt binaries and automatic Node.js fallback in MoroJS",
5
5
  "license": "MIT",
6
6
  "author": "CM Ventures Inc.",
@@ -38,13 +38,13 @@
38
38
  "provenance": true
39
39
  },
40
40
  "optionalDependencies": {
41
- "@morojs/engine-darwin-arm64": "1.1.12",
42
- "@morojs/engine-darwin-x64": "1.1.12",
43
- "@morojs/engine-linux-x64-gnu": "1.1.12",
44
- "@morojs/engine-linux-arm64-gnu": "1.1.12",
45
- "@morojs/engine-linux-x64-musl": "1.1.12",
46
- "@morojs/engine-linux-arm64-musl": "1.1.12",
47
- "@morojs/engine-win32-x64": "1.1.12"
41
+ "@morojs/engine-darwin-arm64": "1.1.14",
42
+ "@morojs/engine-darwin-x64": "1.1.14",
43
+ "@morojs/engine-linux-x64-gnu": "1.1.14",
44
+ "@morojs/engine-linux-arm64-gnu": "1.1.14",
45
+ "@morojs/engine-linux-x64-musl": "1.1.14",
46
+ "@morojs/engine-linux-arm64-musl": "1.1.14",
47
+ "@morojs/engine-win32-x64": "1.1.14"
48
48
  },
49
49
  "keywords": [
50
50
  "morojs",