Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

This morning, a dev I work with flagged a server that was struggling.

Uncategorized
3 2 0
  • 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.

  • 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.

    @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. :)

  • @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. :)

    @anparker "we need moooar powaaaar!"


Gli ultimi otto messaggi ricevuti dalla Federazione
  • @braccio982 @Batarea non c'è una data di scadenza, a me uno si è rovinato irrimediabilmente dopo pochi anni, ma tutti gli altri per quel che ne so funzionano ancora. mi risulta che la vita attesa per i cd stampati siano svariate decine di anni (per i masterizzati è diverso)

    però io le copie (in flac o altro formato lossless) nel dubbio inizierei a farle comunque, che non si sa mai (e poi a volte fa comodo averle e ascoltare quelle / usarle per generare mp3 da ascoltare in giro)

    read more

  • @Zambunny @lysander io invece non la consiglio per niente

    qualche anno fa, non ricordo perché, io avevo fatto l'antinfluenzale e @diegor no, o non ancora.

    un giorno lui torna a casa dal lavoro stando poco bene, febbre, la mattina dopo aveva ancora febbre, il medico gli ha dato i soliti 3 giorni, si è fatto un giorno stando maluccio, e due giorni stando benino a riposarsi e cazzeggiare.

    poco dopo, ovviamente, una sera mi sento stanca, un filo di febbre, dico vabbé l'ho presa anche io, domani sarò in malattia e mi riposo. la mattina dopo niente febbre. facendo telelavoro ho pensato “ok, per oggi lavoro, vedo come va, poi semmai chiamo domani”, e invece ora di sera stavo bene. e non ho potuto farmi neanche un giorno di malattia!!!1!ONE!!!

    (ok, forse in fondo la consiglio anche io, nonostante l'effetto collaterale)

    read more

  • Over quota? "du -sh * | sort -h " will give you a sorted list of your
    directory sizes.
    -- David Scheidt <dscheidt@tumbolia.com>

    read more

  • @DigiDavidex a breve leapmotor si prende stellantis

    read more

  • @catavz I'm sure it'll happen. And I'd be delighted, too

    read more

  • How odd I can have all this inside me, and to you it's just words.
    David Foster Wallace
    read more

  • @stefano I would be delighted to see Ferrara and meet you in person. I hope we have the opportunity.

    read more

  • @grabbi_it @mi infatti la colonizzazione britannica con la persecuzione degli irlandesi non si misura nell’ordine degli anni ma dei SECOLI. Se poi ne facciamo una questione di numeri e rischiamo di dare adito alle teorie in base alle quali un popolo ha avuto un genocidio da 6 milioni di vittime è legittimato ad esprimere un governo che fa un genocidio a piacere.

    read more
Post suggeriti