Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Agile, agile and to production

Agile, agile and to production

For Lviv .Net Community event "Fuckup Nights"

Avatar for Bohdan Makohin

Bohdan Makohin

February 01, 2019
Tweet

More Decks by Bohdan Makohin

Other Decks in Technology

Transcript

  1. [HttpPost] public ActionResult ChangeSettings(SettingsRequest settingRequest) { LinqToSQLDataContext db = Database.Context;

    Setting setting = db.Settings .FirstOrDefault(s => s.Key == settingRequest.Key); setting.Value = settingRequest.Value; db.SubmitChanges(); return View(); } Spot the lethal
  2. [HttpPost] public ActionResult ChangeSettings(SettingsRequest settingRequest) { using (LinqToSQLDataContext db =

    Database.CreateContext()) { Setting setting = db.Settings .FirstOrDefault(s => s.Key == settingRequest.Key); setting.Value = settingRequest.Value; db.SubmitChanges(); return View(); } } stay HUNGRY stay FOOLISH
  3. üHTTP queue is overloaded üGarbage Collector spends ~80% of CPU

    time üDiagnostics metrics are not consistent Symptoms