Re:What does it take to run a web app with 5K – 10K users?
by clogston on Friday January 09, 2015 @03:18PM
(#8864255)
We're running the Elasticsearch, Logstash, Kibana (ELK) stack with the recommended approach i.e.:
logstash client
\
logstash client --> redis -> logstash "server" process -> elasticsearch <- kibana
/
logstash client
We have a high logging load (we log every request) due largely to IRS requirements. I've been really happy with it over the past 6 months but something that cannot be overstated is that you'll really need to become familiar with each one of the technologies used as each requires it's own setup and configuration. Not being familiar with any of them, it took me a solid 3 days to get to where the whole thing was usable and performant. Troubleshooting it is a breeze, and the whole system scales really easily, but a lot of that time was invested up front.
For an easy and simple solution, spin up a second instance and send logs to it via rsyslog over a private network interface. Most mature frameworks provide a method to send logs over syslog. It's UDP and very lightweight. Another plus: if you are compromised, you have another server with your logs and that server isn't running your vulnerable app.