Repository navigation
Releases
Releases · erata/backend-engineering-lab
v1.1.1 — Backend Engineering Lab
Patch release after an external code review. No new labs or technologies; benchmark results unchanged.
Fixed (F16)
- Redis lock release is atomic in all three editions (Lua compare-and-delete instead of GET + DEL): an instance can no longer delete a lock that expired and was taken by another instance. Lease and fencing limitations remain documented.
- JSON in the Redis lab is produced by the framework serializer (Jackson, JSON-B; .NET already used System.Text.Json). Before, the Spring DB-fallback path did not escape product names at all, and other paths escaped only quotes and backslashes.
- Spring single-flight under a Redis failure: followers now receive the leader's exception unwrapped and fall back to MySQL like the leader, instead of failing with a wrapped
CompletionException.
Added
redis_regressionprobe andPOST /lab/redis/lock-check(all editions); results in Lab 08 §7.6.- README: CI, release and license badges and a short "at a glance" summary of selected results.
Changed
- Over-general statements rephrased as workload-specific observations: "Java 17 = 25" (identical only in the thread-bound Lab 04 workload) and "staleness ≤ 10 s" (observed 3.2–8.3 s with a 10 s refresh interval; not a guarantee).
- The two Redis classes changed here use standard Java formatting (one import, field and statement per line).
v1.1.0 — Backend Engineering Lab
Same scope as v1.0.0 (eight labs, three editions). This release completes the Redis part of Lab 08 on every edition, corrects one wrongly confirmed explanation, fixes the dependency advisories and adds Dependabot. No other features.
Added
- Lab 08: Redis on all three editions. The shared-cache experiment now runs on Jakarta EE (Jedis 8, pooled connections) and ASP.NET Core (StackExchange.Redis 3, one multiplexed connection) as well as Spring (Lettuce), with a second instance of each edition in
docker-compose.redis.yml. - Redis client measurements. Hit latency at 2,000 req/s (3–5 runs) and outages (Redis stopped, paused, process killed; 5 runs each) with 500 ms timeouts in every client, plus one A/B per client: Lettuce queue vs
REJECT_COMMANDS, Jedis with JVM DNS cache settings, StackExchange.Redis heartbeat 1,000 / 500 / 100 ms. Result: the clients differ little on a hit but a lot during an outage (~510 / 8–510 / ~1,000 ms per request); each explanation is classified as confirmed, hypothesis or unresolved. See Lab 08 §7.4–7.5 and report §3.8. - Lab 08: effective client settings table and diagrams (connection models, Lettuce disconnected behaviour, Jedis DNS paths, StackExchange.Redis heartbeat); two new charts.
- Every lab README states the test machine and why it limits the results.
.github/dependabot.yml: weekly updates for Maven, NuGet, Dockerfiles, Compose images and GitHub Actions. Major upgrades of libraries and images are ignored because they would change the benchmarked system; security alerts still apply.
Fixed
- Correction (F15): the first single outage run reported a Jedis/DNS root cause as confirmed, based on a JVM system property that the JDK ignores. Repeated runs and a correctly applied setting changed the conclusion; see VALIDATION_STATUS.md and Lab 08.
- Security: the NuGet advisories of v1.0.0 (NU1902) — MySqlConnector 2.4.0 → 2.6.2 (latest 2.x, no major upgrade), OpenTelemetry 1.12.0 → 1.21.0.
dotnet list package --vulnerable --include-transitiveis clean; contract test and end-to-end telemetry re-run after the upgrade. - README technology table, API table and CI status were out of date.
Changed
- CI jobs named
spring/jakarta/dotnet(the Spring job was calledverify); GitHub Actions on their current major versions (Node 24).
Verified
- Maven
clean verify(12 unit + MySQL/Testcontainers), .NET xUnit 4/4, offline checks; HTTP contract on all three editions in Docker and in CI; Redis invariants on all editions (distributed→ 1 load every round, stale until invalidation, DB fallback with 0 HTTP errors in 7,200 outage requests). - Every new number in the docs recomputed from the raw runs; links and anchors checked; charts regenerate byte for byte; new Mermaid diagrams rendered.
v1.0.0 — Backend Engineering Lab
v1.0.0 - Backend Engineering Lab Engineering learning and reference laboratory (not a production application, not a framework ranking). Eight labs implemented, tested and measured on Spring Boot 4.2, Jakarta EE 11 / WildFly 42 and ASP.NET Core (.NET 10/11). Verified: fresh-clone build and tests, common HTTP contract on all editions, raw benchmark data with repetitions, OpenTelemetry ingestion, GitHub Actions 3/3 green on this commit. Scope and limitations: RELEASE_NOTES.md.