Using NGINX as a Queue for JSON Payloads
Request Metrics is a performance analytics tool. As such, we need to build a data ingestion pipeline that will consume performance data and process it.
One common approach to ingest is to shove incoming data into a queue. We like simple things, and figuring out fancy distributed queues is anything but. So we're going to eschew best practices and use NGINX as our queue!
In this video you'll see how to create an ingestion endpoint in NGINX, and write incoming request bodies to a JSON formatted log specifically for that endpoint. It's a poor man's queue using nothing but a webserver and the filesystem.
Read more at https://requestmetrics.com/making-of/nginx-queue-screw-best-practices