mammoth 0.5.0 → 0.5.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/README.md +17 -37
- data/config/mammoth.schema.json +1 -1
- data/lib/mammoth/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c04c055c5cf5faedef6100513bc63a9ada3c69b99b904f701d0be93501aa4ebd
|
|
4
|
+
data.tar.gz: 15e75ed7ed39723f5f0864253196a830ae0413d6609ae504640be2eca7d6b2da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d0b5446e4b5edd10f5d82007dd8ae85e7e9e40f056725ef1faa5e090c2fa844a9007c94c7ac47b41cb7eeec6fe8d9be3eb0dec7685a757da749ff7dbf85ccbd
|
|
7
|
+
data.tar.gz: 3f3185bc9743f100bab26a62f2fa45f94f04aa3243e787ab05d0b13aafc697a22ab432a84da1e40dfd7214e880bafe727e17c8ca4e15236ca97547f55166687c
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.5.1
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added benchmark scripts for webhook delivery, webhook fanout, SQLite operational state, observability snapshots, and dead-letter replay.
|
|
10
|
+
- Added shared benchmark helpers for synthetic CDC work items, local HTTP receivers, table output, JSON output, and environment-driven benchmark knobs.
|
|
11
|
+
- Added a benchmark snapshot runner that writes Markdown, JSON, and per-trial logs for publishable benchmark results.
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Aligned benchmark documentation across `README.md`, `docs/BENCHMARKS.md`, and `benchmark/README.md` around operator config tuning.
|
|
16
|
+
|
|
5
17
|
## 0.5.0
|
|
6
18
|
|
|
7
19
|
### Added
|
data/README.md
CHANGED
|
@@ -108,47 +108,27 @@ Mammoth stores operational memory in SQLite:
|
|
|
108
108
|
|
|
109
109
|
## Performance
|
|
110
110
|
|
|
111
|
-
Mammoth
|
|
111
|
+
Mammoth includes local benchmarks for the product surfaces operators tune in
|
|
112
|
+
production:
|
|
112
113
|
|
|
113
|
-
|
|
114
|
+
- concurrent delivery runtime
|
|
115
|
+
- real webhook delivery
|
|
116
|
+
- multi-destination webhook fanout
|
|
117
|
+
- SQLite operational state
|
|
118
|
+
- observability snapshots
|
|
119
|
+
- DLQ replay
|
|
114
120
|
|
|
115
|
-
|
|
121
|
+
The historical numbers in [Benchmarks](https://github.com/kanutocd/mammoth/tree/main/docs/BENCHMARKS.md) are retained as a
|
|
122
|
+
snapshot, not a universal performance claim. Re-run the scripts in
|
|
123
|
+
[`benchmark/`](https://github.com/kanutocd/mammoth/tree/main/benchmark) on your own hardware when choosing
|
|
124
|
+
`runtime.concurrency`, `destinations`, SQLite storage, scrape frequency, and
|
|
125
|
+
DLQ replay expectations.
|
|
116
126
|
|
|
117
|
-
|
|
118
|
-
* 4 events per transaction
|
|
119
|
-
* 40,000 total events
|
|
127
|
+
Create a publishable benchmark snapshot with:
|
|
120
128
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
| ----------- | ---------------: |
|
|
125
|
-
| 1 | 96.50 |
|
|
126
|
-
| 25 | 2419.65 |
|
|
127
|
-
|
|
128
|
-
#### Realistic Webhook (50ms)
|
|
129
|
-
|
|
130
|
-
| Concurrency | Transactions/sec |
|
|
131
|
-
| ----------- | ---------------: |
|
|
132
|
-
| 1 | 19.85 |
|
|
133
|
-
| 25 | 495.11 |
|
|
134
|
-
|
|
135
|
-
Observed throughput improved from:
|
|
136
|
-
|
|
137
|
-
- 96.50 → 2419.65 transactions/sec (10ms sink latency)
|
|
138
|
-
- 19.85 → 495.11 transactions/sec (50ms sink latency)
|
|
139
|
-
|
|
140
|
-
when increasing delivery concurrency from 1 to 25.
|
|
141
|
-
|
|
142
|
-
The benchmark demonstrates near-linear scaling of delivery throughput without increasing PostgreSQL replication connections.
|
|
143
|
-
|
|
144
|
-
See:
|
|
145
|
-
|
|
146
|
-
- docs/BENCHMARKS.md
|
|
147
|
-
- examples/transaction_webhook
|
|
148
|
-
|
|
149
|
-
For full benchmark methodology and results see:
|
|
150
|
-
|
|
151
|
-
See [Benchmarks](docs/BENCHMARKS.md).
|
|
129
|
+
```bash
|
|
130
|
+
bundle exec ruby benchmark/snapshot.rb
|
|
131
|
+
```
|
|
152
132
|
|
|
153
133
|
## E2E
|
|
154
134
|
|
data/config/mammoth.schema.json
CHANGED
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
"enum": [
|
|
224
224
|
"webhook"
|
|
225
225
|
],
|
|
226
|
-
"description": "Destination adapter type. Mammoth OSS 0.5.
|
|
226
|
+
"description": "Destination adapter type. Mammoth OSS 0.5.1 supports webhook destinations."
|
|
227
227
|
},
|
|
228
228
|
"url": {
|
|
229
229
|
"type": "string",
|
data/lib/mammoth/version.rb
CHANGED