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

Stack Overflow - It's all about performance - C...

Stack Overflow - It's all about performance - Codemotion Rome 2015

Marco Cecconi

March 28, 2015
Tweet

More Decks by Marco Cecconi

Other Decks in Programming

Transcript

  1. DEV.SO NETWORK META.SE 1-click deploy git push 1-click deploy In

    produzione! Tonnellate di utenti lo usano… BAT!CAVERNA
  2. IRepository<Order>  orderRepository  =            container.Resolve<IRepository<Order>>();  

      Order  order  =  orderRepository.Get(35); La buona, vecchia dependency injection
  3. IRepository<Order>  repository  =      new  ValidatingOrderRepository  (    

         new  SecurityRepository<Order>  (              new  LoggingRepository<Order>  (                  new  CachingRepository<Order>  (                      new  NHibernateRepository<Order>  ()                  )              )          )      );         Order  order  =  repository.Get(35);
  4. •     La  performance  è  una  feature   •   

     Always.  Be.  Shipping.   •     Usate  le  vostre  circostanze.   •     Rilasciate  O/S  le  vostre  librerie   •     3  monitor  grandi  da  far  schifo*.   *  I  miei  3  monitor  da  30”  non  fanno  schifo     MORALE DELLA FAVOLA