@mark1russell7/machines 0.3.16 → 0.3.17
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.
- package/README.md +11 -1
- package/build/index.d.ts +31 -0
- package/build/index.js +978 -163
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,8 +55,11 @@ The algebra reads these documents. It gives the closed form of each timer, the f
|
|
|
55
55
|
| `GRPC_JS` | `grpc-js` | grpc-js 1.14.6: one channel to a gRPC server, its HTTP/2 transport, its keepalive and a unary call | driver | 26 implemented, 1 observed |
|
|
56
56
|
| `GRPC_GO_SERVER` | `grpc-go-server` | A server of grpc-go v1.84.0: one HTTP/2 connection, its keepalive, its policy for PINGs and its TCP socket | server | 13 implemented, 1 documented |
|
|
57
57
|
| `ETCD_SERVER` | `etcd-server` | The server of etcd v3.6.15 on grpc-go v1.83.2: one gRPC connection of a client | server | 19 implemented, 1 documented |
|
|
58
|
+
| `ENVOY_HTTP2` | `envoy-http2` | Envoy 1.39.4 as an HTTP/2 proxy of gRPC: one connection of a client, its streams, the local replies and the close | proxy | 16 implemented |
|
|
59
|
+
| `TOXIPROXY_LINK` | `toxiproxy-link` | Toxiproxy 2.12.0 with no toxic: one proxied TCP connection and its close | proxy | 9 implemented |
|
|
60
|
+
| `DOCKER_PROXY_LINK` | `docker-proxy-link` | docker-proxy of Docker Engine 29.1.5: one proxied TCP connection and its close | proxy | 9 implemented |
|
|
58
61
|
|
|
59
|
-
Twenty-
|
|
62
|
+
Twenty-seven documents operate on Linux TCP (`over`). Linux TCP, conntrack, the Sentinel, the replication of mongod, aten and the member of Ra operate on no other document. The `conditions` of each document give the range where it holds, for example a range of kernels.
|
|
60
63
|
|
|
61
64
|
The package also gives these parts:
|
|
62
65
|
|
|
@@ -102,6 +105,13 @@ A change to the version of a system changes its sources too. Each fact of the do
|
|
|
102
105
|
|
|
103
106
|
In this repository, a snapshot of the predictions of the cells (`packages/cells/src/__snapshots__/predictions.json`) shows each prediction that a change to a document moves.
|
|
104
107
|
|
|
108
|
+
### 0.3.17
|
|
109
|
+
|
|
110
|
+
- **The proxies of T02 for gRPC: Envoy 1.39.4, Toxiproxy 2.12.0 and docker-proxy 29.1.5.** Three new documents, each from the source at its tag:
|
|
111
|
+
- `envoy-http2`: one connection of a client through Envoy to one cluster of h2c. Envoy answers a failure of its upstream itself. Before the headers of a response, it sends a local reply of trailers only: 503 or 504, thus UNAVAILABLE. After the headers, it resets the stream with INTERNAL_ERROR. It retries no call at the defaults. The route ends each call 15 s after the end of its request. Envoy sets no keepalive of HTTP/2 or of TCP, and at SIGTERM it closes each connection with no GOAWAY.
|
|
112
|
+
- `toxiproxy-link`: a TCP copy with no timer. Each socket gets the TCP keepalive of Go (15 s, 15 s, 9). An end of file or a reset of either side closes both sockets: Toxiproxy has no half-close.
|
|
113
|
+
- `docker-proxy-link`: a TCP copy with no timer, with the same keepalive. A FIN passes as a half-close, and a reset of one side becomes a FIN toward the other. Docker stops the proxy with SIGINT at a stop or a restart of its container, and each connection then closes fully.
|
|
114
|
+
|
|
105
115
|
### 0.3.16
|
|
106
116
|
|
|
107
117
|
- **gRPC: grpc-js 1.14.6, a server of grpc-go v1.84.0, and the server of etcd v3.6.15.** Three new documents, each from the source at its tag:
|
package/build/index.d.ts
CHANGED
|
@@ -373,6 +373,37 @@ export declare const PROCEDURES_WS_CLIENT: Machine;
|
|
|
373
373
|
*/
|
|
374
374
|
export declare const PROCEDURES_WS_SERVER: Machine;
|
|
375
375
|
//#endregion
|
|
376
|
+
//#region src/proxy/envoy.d.ts
|
|
377
|
+
/**
|
|
378
|
+
* This document is Envoy 1.39.4 as an HTTP/2 proxy of gRPC, for one connection of a client. Its static
|
|
379
|
+
* configuration is the one of the harness. It has one listener with the HTTP connection manager, one
|
|
380
|
+
* route with no timeout of its own, and one cluster of h2c. Each other field is at its default.
|
|
381
|
+
*
|
|
382
|
+
* Envoy answers a failure of its upstream itself. Before the headers of the response, it sends a local
|
|
383
|
+
* reply: a gRPC response of trailers only, with a status from the HTTP code (503 and 504 give UNAVAILABLE).
|
|
384
|
+
* After the headers, it resets the stream with INTERNAL_ERROR. It retries no call at the defaults. The
|
|
385
|
+
* route ends each call 15 s after the end of its request. Envoy sets no keepalive of HTTP/2 or of TCP. At
|
|
386
|
+
* SIGTERM it closes each connection with no GOAWAY.
|
|
387
|
+
*/
|
|
388
|
+
export declare const ENVOY_HTTP2: Machine;
|
|
389
|
+
//#endregion
|
|
390
|
+
//#region src/proxy/tcp-proxies.d.ts
|
|
391
|
+
/**
|
|
392
|
+
* This document is one proxied connection of Toxiproxy 2.12.0, with no toxic. Toxiproxy copies TCP, and it
|
|
393
|
+
* knows no protocol above it. It has no timer on a link. Each socket gets the TCP keepalive of Go. It has
|
|
394
|
+
* no half-close: an end of file or an error on either side closes both sockets. A stop of the process
|
|
395
|
+
* shuts down only the HTTP API, and the exit of the process then closes each socket.
|
|
396
|
+
*/
|
|
397
|
+
export declare const TOXIPROXY_LINK: Machine;
|
|
398
|
+
/**
|
|
399
|
+
* This document is one proxied connection of docker-proxy, the userland proxy of Docker Engine 29.1.5. It
|
|
400
|
+
* copies TCP with two goroutines and knows no protocol above it. It has no timer. Each socket gets the
|
|
401
|
+
* TCP keepalive of Go. An end of file of one side passes as a half-close. A reset of one side becomes a
|
|
402
|
+
* FIN toward the other side. A stop of the process, which Docker sends at a stop or a restart of the
|
|
403
|
+
* container, closes each connection fully.
|
|
404
|
+
*/
|
|
405
|
+
export declare const DOCKER_PROXY_LINK: Machine;
|
|
406
|
+
//#endregion
|
|
376
407
|
//#region src/rabbit/amqplib.d.ts
|
|
377
408
|
/**
|
|
378
409
|
* This document is amqplib 2.2.0 on Node, for one connection to a broker of AMQP 0-9-1 and one channel
|