Adopting Test-Driven Development (TDD) is critical for a tech company. TDD serves as a strong safety net against bugs caused by code changes. TDD becomes especially important for large code bases that are changed frequently. At the time of this writing, the Trustious code base is around 20,000 commits large, with over 80,000 lines of code, code that changes rapidly. The frequent changes are a natural consequence of the Lean methodology. As a company we firmly believe in Lean and are continuously running Build-Measure-Learn cycles. This requires us to make frequent experimental changes to the user experience which map to frequent changes to the code base (mostly to the front end). With such a rapidly evolving product, writing and maintaining tests that will truly keep us safe, could easily get out of hand.
This article is a cautionary tale for people using Amazon Web Services (AWS) and a testament to the awesome amazon customer support.
Thu, Jul 3, 2014 at 8:58 AM: The Shock
The day started bright with a light cloud cover and cool refreshing breeze. A rare and lovely day in the blistering summers of Cairo. I was hacking away in the quite morning hours when I noticed that the month’s AWS bill has arrived. I took a look and was rattled to see that it was for over 1800 USD!
This week’s Trustious talk was given by Saher El-Neklawy (engineering lead at Trustious) and was about node.js. Here is a summary of the material covered. Don’t hesitate to ask questions or share your own insights in the comments section. Enjoy!