Update README.md
This commit is contained in:
parent
f51a66078e
commit
55926a82ef
@ -3,15 +3,13 @@
|
|||||||
|
|
||||||
## Overview
|
## 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
|
## 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
|
- **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
|
- **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
|
- **Prometheus Metrics**: Real-time monitoring of queue depths and message processing stats
|
||||||
- **Token Management**: Automatically expires invalid or unregistered device tokens
|
- **Token Management**: Automatically expires invalid or unregistered device tokens
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user