Black Friday: a look at the load through the eyes of the developer

Last spring, we began to suffer from mass mailings every Friday: letters piled up in line and left very late. These were ordinary gray Fridays. Already then, six months before Black Friday, it became clear that autumn would not be easy. I had to scale. I tell you how it went.


Spoiler: everything worked out, and we are well done


Was black Friday in Mindbox flawless? No, it didn’t. Was there at least one defect related to sending newsletters? No wasn `t!


For several weeks we digested peak volumes of letters, and nothing accumulated anywhere, did not linger, did not interfere with transactional ones, did not double or beat.


It is important not to forget that the product is perceived from the outside as a whole, and stable email sending is not enough. At the same time, it is important to pay attention to both weaknesses and what turned out well. It is very tiresome to be a fool and learn from your mistakes, sometimes it’s nice to find local success and try to replicate it.


In short, then:


  • sent more than 1,300,000,000 letters in a month (this is one billion three hundred million),
  • it's 59 terabytes (without pictures),
  • in one day - 71 million,
  • at a peak speed of 200,000 per minute.

Below are a few lessons for the future, some of them with pictures.


Black Friday does not exist, there is a black half of November


, : (29 2019 ) β€” , - . β€” !


Sent letters, November 2019


, , .


β€” , - . 40 β€” , .


28 69 175 .


Sent letters, November 28, 2019



, , .


1 300 000 000 β€” , :


Sent letters, December 2019


( 71 ) β€” 26 , , , :


Sent letters, December 26, 2019


- β€” , 18:00. - 200 ( β€” 2 ):


Sent letters, December 26, 2019


? - email-? , .


β„–1:


CDP (, ). 2019 , , , .


2017 Β«, , Β». , .


, : , .


β„–2:


: , , , :


Distribution of sent letters by instance


, , . , , . .


, : , , , .


, ? β€” , ?


, .


β„–3:


, - : MTA , β€” . : .


, ( , ). MTA β€” , 100 , , , AMP- .


, : ( ), β€” .


,


:
The number of letters for a week of black Friday by year


Β« , ?Β» CIO : Β«, Β». , .


, «» - , - .


, ? , :


  • 200–250 ( ),
  • 1 ,
  • 1 , , .

, :


  • 2020 ,
  • - 2021 .

, - , , , .


,


2013 , , 5–15 . , 1 .


, 8–10 . «… , , Β».


, , 100 ! , .


, , . , .


All Articles