MongoDB is Web Scale. Lulz, right? Turns out, Mongo is the first NoSQL to nail painless Hadoop and Pig integration…thus becoming the first ‘web scale’ database.
Some tips & hints about Cache reheating
We’ve been doing some updates on Find Lunch In - some nice performance improvements and some better Analytics integration. Check it out over at www.findlunchin.co.uk.
Whilst setting up centralised logging for one of our clients clusters, it was noticed that there are sometimes a large number of failed login attempts. Rather than manually checking each one, I’ve written a script using PHP and MongoDB JS MapReduce to aggregate the data and provide a useful report.
The following code will output a CSV report with the columns;
It’s not 100% fool proof, but provides us with a good guide with where to look / block first.
p.s. We also have a slightly modified version which allows checking of a list of IP addresses against successful logins…