Update README.md

This commit is contained in:
florian 2025-11-14 15:34:40 +01:00
parent f51a66078e
commit 55926a82ef

View File

@ -3,15 +3,13 @@
## Overview
This service consumes messages from RabbitMQ, retrieves encrypted push tokens from a MySQL database, decrypts them, and sends notifications via the Expo Push API. It includes comprehensive error handling, automatic retries, dead-letter queuing, and Prometheus metrics.
This service consumes messages from RabbitMQ, retrieves encrypted push tokens from a MySQL database, decrypts them, and sends notifications via the Expo Push API.
## Features
- **Asynchronous Architecture**: Built with `asyncio`, `aio_pika`, and `aiomysql` for high-performance concurrent operations
- **Automatic Retry Logic**: Failed notifications are automatically retried up to 5 times with exponential backoff
- **Dead Letter Queue (DLQ)**: Messages that exceed retry limits are moved to a DLQ for manual inspection
- **Health Monitoring**: Database connection pool health checks every 60 seconds
- **Prometheus Metrics**: Real-time monitoring of queue depths and message processing stats
- **Token Management**: Automatically expires invalid or unregistered device tokens