Architecture
Log collector → infra-serverslog microservice → write new log entry
- An agent collects the log entry, for example for Freenode nasqueron-ops channel, that will be Wearg
- The agent sends a message to the microservice through our broker
- The microservice publishes
Messaging
Note the microservice doesn't need to listen to HTTP, only AMQP. If an agent doesn't speak AMQP, we can add a log gate to the Notifications center: it's built to be an HTTP to AMQP gateway.
Storage
A sqlite db is acceptable: microservice can open the db, gets message from broker, which will deliver them one per one. Messaging solve concurrency issues with queues.