at the Ruby on Rails site reviews many Rails features aimed at thwarting common

At the ruby on rails site reviews many rails features

This preview shows page 485 - 487 out of 517 pages.

at the Ruby on Rails site reviews many Rails features aimed at thwarting common attacks against SaaS apps, and this article from CodeClimate (a company that provides code metrics as a service) lists a number of important security pitfalls in Rails apps. Finally, at some point the unthinkable will happen: your production system will enter a state where some or all users receive no service. Whether the app has crashed or is “hung” (unable to make forward progress), from a business perspective the two conditions look the same, because the app is not generating revenue. In this scenario, the top priority is to restore service, which may require rebooting servers or doing other operations that destroy the postmortem state you want to examine to determine what caused the problem in the first place. Generous logging can help, as the logs provide a semi- permanent record you can examine closely after service is restored. In The Evolution of Useful Things ( Petroski 1994 ), engineer Henry Petroski proposes changing the
Image of page 485
maxim “Form follows function” (originally from the world of architecture) to “Form follows failure” after demonstrating that the design of many successful products was influenced primarily by failures in early designs that led to revised designs. For an example of good design, read Netflix’s technical blog post on how their design survived the Amazon Web Services outage in 2011 that crippled many other sites reliant on AWS. ACM IEEE-Computer Society Joint Task Force. Computer science curricula 2013, Ironman Draft (version 1.0). Technical report, February 2013. URL http: // . L. Barroso and J. Dean. The tail at scale: Tolerating variability in large-scale online services. Communications of the ACM , 2012. N. Bhatti, A. Bouch, and A. Kuchinsky. Integrating user-perceived quality into web server design. In 9th International World Wide Web Conference (WWW–9) , pages 1–16, 2000. E. Brewer. Personal communication, May 2012. S. Hansma. Go fast and don’t break things: Ensuring quality in the cloud. In Workshop on High Performance Transaction Systems (HPTS 2011) , Asilomar, CA, Oct 2011. Summarized in Conference Reports column of USENIX ;login 37(1), February 2012. B. W. Kernighan and R. Pike. Unix Programming Environment (Prentice-Hall Software Series) . Prentice Hall Ptr, 1984. ISBN 013937681X. A. Marcus. The NoSQL ecosystem. In A. Brown, editor, The Architecture of Open Source Applications ., 2012. ISBN 1257638017. URL http: // . R. B. Miller. Response time in man-computer conversational transactions. In Proceedings of the December 9-11, 1968, fall joint computer conference, part I , AFIPS ’68 (Fall, part I), pages 267–277, New York, NY, USA, 1968. ACM. doi: 10.1145/1476589.1476628. URL . M. T. Nygard. Release It!: Design and Deploy Production-Ready Software (Pragmatic Programmers) . Pragmatic Bookshelf, 2007. ISBN 0978739213.
Image of page 486
Image of page 487

You've reached the end of your free preview.

Want to read all 517 pages?

  • Spring '19
  • Dr.Marcos

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors