Re:Learn from your attackers with a high interactivity SSH H...
by cmroanirgo on Friday January 03, 2020 @10:54PM
(#21952777)
Hug of death? Try: https://web.archive.org/web/20200104032004/https://www.rober...
[ Parent
| on HN ]
Re:Learn from your attackers with a high interactivity SSH H...
by robputt796 on Saturday January 04, 2020 @03:36AM
(#21953708)
Yes, it seems I did not anticipate such traffic and my autoscaling settings did not allow the front end web servers pool to expand big enough. It is times like this I wonder why I switched back to WordPress compared to hosting statically generated content on S3 + Cloud Front :-(. It should be back now, apologies.
Re:Learn from your attackers with a high interactivity SSH H...
by robjan on Saturday January 04, 2020 @04:04AM
(#21953815)
Installing a caching plugin and turning it all the way up should solve most of your problems. There is no real need for every request to hit the DB.
Re:Learn from your attackers with a high interactivity SSH H...
by robputt796 on Saturday January 04, 2020 @04:23AM
(#21953872)
Hello,
Yep, the site already uses a caching plugin (w3TotalCache) and it is configured with memcached at the backend. Unfortunately, even with this the site still makes a couple of DB calls with each page load, but nowhere near as many as without the caching. Maybe I'll shove varnish in front of it too for good measure :joy:
Re:Learn from your attackers with a high interactivity SSH H...
by tecleandor on Saturday January 04, 2020 @09:39AM
(#21955079)
If you're using nginx (haven't checked it) microcaching for a bunch of seconds, let's say five seconds, can solve most of this problems and you don't need to add more components.
Re:Learn from your attackers with a high interactivity SSH H...
by robputt796 on Saturday January 04, 2020 @02:33PM
(#21956880)
Nope sorry, still using Apache 2. :-|
Re:Learn from your attackers with a high interactivity SSH H...
by tecleandor on Saturday January 04, 2020 @05:41PM
(#21958135)
Haven't tried this personally, but it might help you...
https://portal.cloudunboxed.net/knowledgebase/33/Nginx-like-...