April 27, 2022, 11:43 a.m. | Dan Lebrero

DEV Community dev.to

I was happily complaining reviewing some pull request, when the following piece of code make me shudder:



var unsent-messages = new List();

function log(message) {
unsent-message =+ message
}

every (5 secs) {
send-all(unsent-messages)
unsent-message = new List();
}


Then it made me smile. I had seen a similar piece of code cause a major outage on a billion dollar company.





Outage 1


As all good outages, it all started with some network misconfiguration.


In this case, the network issue …

architecture attack ddos resilience service

SOC 2 Manager, Audit and Certification

@ Deloitte | US and CA Multiple Locations

Werkstudent (w/m/d) - Cyber Security

@ IONOS | Karlsruhe, Germany

Security Operations Manager

@ BambooHR | Utah | Hybrid

Senior Risk and Compliance Analyst

@ Cricket.com | Hyderabad

Cyber Security Architect

@ Lilium | Munich

Senior Security Analyst

@ BETSOL | Bengaluru, India