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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f299dc783af6453331a635200b8fe3ddf03159b156a3a0cec6cc6377ede1c34
4
- data.tar.gz: f56eabc963912066610c22a98af55af9a6db192f40869dfb1d5743c8f1eff98e
3
+ metadata.gz: c04c055c5cf5faedef6100513bc63a9ada3c69b99b904f701d0be93501aa4ebd
4
+ data.tar.gz: 15e75ed7ed39723f5f0864253196a830ae0413d6609ae504640be2eca7d6b2da
5
5
  SHA512:
6
- metadata.gz: c3167effc0333430719118b2ad3f8d8b53841c8c584b1e45949e256411e1a275eb56b71bd023d4d3778e31ec92f179c338d5814220f11c251f447aad7eee0233
7
- data.tar.gz: d6db35472dfb2847e00f2158fd8677f26da5cb3c19d91e002566d598d9ecd8d67681e35dc2310ffd7fd41dcc0aec5535e822fd52f55f3865f9f65cc267633383
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 scales downstream delivery throughput using the `cdc-concurrent` runtime while maintaining a single PostgreSQL logical replication stream.
111
+ Mammoth includes local benchmarks for the product surfaces operators tune in
112
+ production:
112
113
 
113
- ### Concurrent Delivery Benchmark
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
- Environment:
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
- * 10,000 transactions
118
- * 4 events per transaction
119
- * 40,000 total events
127
+ Create a publishable benchmark snapshot with:
120
128
 
121
- #### Fast Downstream (10ms)
122
-
123
- | Concurrency | Transactions/sec |
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
 
@@ -223,7 +223,7 @@
223
223
  "enum": [
224
224
  "webhook"
225
225
  ],
226
- "description": "Destination adapter type. Mammoth OSS 0.5.0 supports webhook destinations."
226
+ "description": "Destination adapter type. Mammoth OSS 0.5.1 supports webhook destinations."
227
227
  },
228
228
  "url": {
229
229
  "type": "string",
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Mammoth
4
4
  # Current Mammoth gem version.
5
- VERSION = "0.5.0"
5
+ VERSION = "0.5.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mammoth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken C. Demanawa