Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Stefano Marinelli
@stefano@mastodon.bsd.cafe  ·  activity timestamp last week

This morning, a dev I work with flagged a server that was struggling. I logged in and, unfortunately, a bunch of "Scrapers" were hammering it, causing an overload. This dev is very sharp and understood the situation. He started extending the caching margins. I prepared a list of countries of interest and, using pf, blocked the rest of the world.
The load plummeted, and the client doesn't care about their products being visible outside of specific markets.

Shortly after, a similar situation on another server I manage (subcontracted, to be precise). I didn't know this dev and saw there was no caching in place, so I spoke to him and asked him to implement it. His response, sadly predictable, was that another one of his clients just moved to $CLOUD_PROVIDER and no longer has these problems, simply paying more when these "attacks" become more intense. I suggested he try enabling caching and thinking about their markets of interest. He's a positive person, so he agreed to give it a shot. A short while later, just by adding Varnish and some good VCL, the load dropped from 100% to 5%. Without any blocking.

He called me a little while ago, incredulous and happy.

It's always a pleasure to work with people who are willing to experiment, explore, and listen. With people who don't just follow the herd or ad banners, but who think for themselves. I've earned myself a walk outside the office now.

#IT #SysAdmin #BeFree

  • Copy link
  • Flag this post
  • Block
Tom
@pertho@mastodon.bsd.cafe replied  ·  activity timestamp last week

@stefano I love stories like this!!

  • Copy link
  • Flag this comment
  • Block
Schamschula
@schamschula@mastodon.social replied  ·  activity timestamp last week

@stefano Indeed, blocking the IP space of non target countries is a great way to limit scrapers. I’ve been doing that for several years.

  • Copy link
  • Flag this comment
  • Block
anparker
@anparker@techhub.social replied  ·  activity timestamp last week

@stefano About paying more. We used to have that classic approach of "just add some resources for now".
Until a magic point where boss asked "why the hell are we paying twice as much with same amount of users?"
And then was painful and frustrating process of optimizing and downscaling working system.
Most cliche IT story ever. :)

  • Copy link
  • Flag this comment
  • Block
Stefano Marinelli
@stefano@mastodon.bsd.cafe replied  ·  activity timestamp last week

@anparker "we need moooar powaaaar!"

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login