3 ms·
Thanks for the feedback, I really appreciate it. I am running it on the DEV1-S machine from Scaleway. It's 2 vCPUs and 2 GB Ram, not much on the compute side r
by ilovefood 6y ago
Thanks for the feedback, I really appreciate it.
I am running it on the DEV1-S machine from Scaleway. It's 2 vCPUs and 2 GB Ram, not much on the compute side really. So far it peaked at 150 writes per second. Which is not a lot but there are solutions to remediate in case it grows and to be honest I heard SQLite could go as far as 50k inserts per second (never tested)
I think this works well because I'm blocking a lot of bots using this solution as well: I query weird requests from the sqlite database and pipe the output to an ipset blacklist shared accross my servers.
That's correct, I decided to share this approach since it benefited me and is really "lightweight" so to say. Again, glad you liked it.
What are you using for the SMS/Email alerting?
- rudasn 6y agoCool. For sms I'm using a local provider, for email just an alerts@... account on our company's email (via Google). The emails ended up in spam, but after creating filters on the receiving email address they get flagged as non spam. We were using send grid for some other things but their bounce rate wasn't very reassuring, so I preferred the Gmail approach for now (it always works).