docs(blog): add backend performance improvements documentation in German and English
All checks were successful
Build latest image / build-container (push) Successful in 1m36s
All checks were successful
Build latest image / build-container (push) Successful in 1m36s
This commit is contained in:
39
content/blog/2026-02-20_performance.de.md
Normal file
39
content/blog/2026-02-20_performance.de.md
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
title: Backend-Leistungsverbesserungen
|
||||
date: 2026-02-20
|
||||
authors:
|
||||
- name: ODIT.Services
|
||||
link: https://odit.services
|
||||
image: https://odit.services/img/profile-pic-no_bg.webp
|
||||
tags:
|
||||
- Release
|
||||
- Backend
|
||||
excludeSearch: true
|
||||
description: "Wir haben einige Leistungsverbesserungen am Backend vorgenommen, die die Plattform schneller und reaktionsfreudiger machen sollten, besonders am Veranstaltungstag, wenn viele Scans und Spenden gleichzeitig stattfinden."
|
||||
lang: de
|
||||
---
|
||||
|
||||
Wir haben einige Leistungsverbesserungen am Backend vorgenommen, die die Plattform schneller und reaktionsfreudiger machen sollten, besonders am Veranstaltungstag, wenn viele Scans und Spenden gleichzeitig stattfinden.
|
||||
Diese Änderungen wurden dadurch motiviert, dass wir bei den letzten Veranstaltungen manchmal Leistungsprobleme am Veranstaltungstag erlebten, besonders wenn viele Scans gleichzeitig stattfanden.
|
||||
|
||||
Die wichtigsten Leistungsverbesserungen sind:
|
||||
|
||||
- Wechsel von Argon2 zu HMAC via SHA256 für das Hashing und die Verifikation der API-Schlüssel der Scanner-Stationen.
|
||||
- Einführung einer neuen Caching-Schicht mit NATS JetStream zum Cachen von
|
||||
- Runner-Karten zu Runner-Zuordnungen
|
||||
- Verfolgung des letzten Scans des Runners (zur Betrugsprävention)
|
||||
- Verfolgung der aktuellen Distanz des Runners
|
||||
- Authentifizierungsergebnisse der Scan-Station
|
||||
- Zuordnungen von Scan-Station zu Track
|
||||
- Statistikergebnisse
|
||||
- Update auf neue Versionen von TypeScript für verbesserte Kompilierungsleistung und bessere Codequalität
|
||||
|
||||
Wir haben auch einige Verbesserungen an der Entwicklererfahrung vorgenommen, indem wir die Runtime zu Bun gewechselt haben. Dies ermöglicht:
|
||||
|
||||
- Schnellere Startzeiten
|
||||
- Schnellere Testausführung
|
||||
- Weniger Abhängigkeiten dank der integrierten Funktionen von Bun und modernen TypeScript-Funktionen
|
||||
|
||||
Insgesamt sind wir sehr zufrieden mit den Leistungsverbesserungen und sind zuversichtlich, dass sie die Plattform am Veranstaltungstag schneller und reaktionsfreudiger machen werden.
|
||||
|
||||
Diese Optimierungen wurden in den Backend-Versionen 1.6.0, 1.7.0, 1.7.1, 1.7.2, 1.8.0 und 1.8.1 eingeführt.
|
||||
39
content/blog/2026-02-20_performance.en.md
Normal file
39
content/blog/2026-02-20_performance.en.md
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
title: Backend performance improvements
|
||||
date: 2026-02-20
|
||||
authors:
|
||||
- name: ODIT.Services
|
||||
link: https://odit.services
|
||||
image: https://odit.services/img/profile-pic-no_bg.webp
|
||||
tags:
|
||||
- Release
|
||||
- Backend
|
||||
excludeSearch: true
|
||||
description: "We have made some performance improvements to the backend that should make the platform faster and more responsive, especially during the event day when there are many scans and donations happening at the same time."
|
||||
lang: en
|
||||
---
|
||||
|
||||
We have made some performance improvements to the backend that should make the platform faster and more responsive, especially during the event day when there are many scans and donations happening at the same time.
|
||||
These changes were motivated by the fact that during the last events we sometimes experienced performance issues during the event day, especially when there were many scans happening at the same time.
|
||||
|
||||
The main performance improvements are:
|
||||
|
||||
- Switched out argon2 for hmac via sha256 for hashing/verifying the API keys of the scanner stations.
|
||||
- Introduced a new caching layer powered by NATS JetStream for caching
|
||||
- Runner card to runner mappings
|
||||
- Runner latest scan tracking (for cheating validation)
|
||||
- Runner current distance tracking
|
||||
- Scan station authentication results
|
||||
- Scan station to track mappings
|
||||
- Stats results
|
||||
- Updated to new versions of TypeScript for improved compilation performance and better code quality
|
||||
|
||||
We also made some improvements to the developer experience by switching the runtime to bun, this enables:
|
||||
|
||||
- Faster startup times
|
||||
- Faster test execution
|
||||
- Fewer dependencies thanks to bun's built-in functionality and modern TypeScript features
|
||||
|
||||
Overall, we are very happy with the performance improvements and we are confident that they will make the platform faster and more responsive during the event day.
|
||||
|
||||
These optimizations were introduced in the backend releases 1.6.0, 1.7.0, 1.7.1, 1.7.2, 1.8.0 and 1.8.1.
|
||||
Reference in New Issue
Block a user