Coding Blocks

The Twelve-Factor App: Backing Services, Building and Releasing, Stateless Processes


Listen Later

 

Surveys – Wow we forget about them and ramble...sorry guys!

 

Mark Tinsley – PHP Composer – thanks for the tip!
https://getcomposer.org/

 

Joe made a game in Javascript (using dozens of libraries):

Box Pusher! (game name of the year)
https://github.com/THEjoezack/BoxPusher

 

Allen's cry for writing black-boxed, encapsulated code...
Episode on Encapsulation: http://www.codingblocks.net/episode23

Episode on SOLID Design: http://www.codingblocks.net/episode7

 

Probably want to listen to the first three parts of the 12 Factor App if you missed it:

http://www.codingblocks.net/episode32


IV. Backing Services

  • Any resource consumed over the network: databases, mail servers, cloud services, etc.

  • Anything external to your app (but could be local to your environment)

  • Should not have to change any code to redeploy – should be config changes if anything

  • Clearly Tech – Importance Rating: High

     

    We've mentioned Splunk, and if you're not familiar, it's an enterprise piece of software that will aggregate logs from multiple sources (servers, computers, etc):
    http://www.splunk.com/en_us/products/splunk-enterprise.html

     

    Bug in Visual Studio that cost one person $6,500 in a few hours:

    https://www.humankode.com/security/how-a-bug-in-visual-studio-2015-exposed-my-source-code-on-github-and-cost-me-6500-in-a-few-hours

     

    V. Build, Release, Run

    • Build stage – transform which converts the code repo into an executable bundle

    • Release stage – combines the build with the required config and deposits it somewhere

    • Run – runs the app in the execution environment (development, staging, production, other)

    • Rolling back may be more complicated when you start talking about database schemas / data changes

    • Clearly Tech – Importance Rating: Conceptual???

       

      Version numbers? What do you prefer? Version numbers with major and minor revisions? Or do you prefer timestamps?

       

       

      VI. Processes

      • Stateless and Share Nothing

        • No local session

        • Make sure saving files go to an available repository

        • Clearly Tech – Importance Rating: High (Joe wants higher than high)

           

          Resources We Like

          • http://www.12factor.net

          • http://www.clearlytech.com/2014/01/04/12-factor-apps-plain-english/

          • http://devcenter.heroku.com/articles/architecting-apps

             

            Tips

             

            Allen: Find problematic queries that are killing your SQL Server...replace 123 with the spid from sp_who2.

             

            sp_who2 'active'

            DBCC INPUTBUFFER(123)

             

            If you want to be mean....replace 123 with the spid from sp_who2

            KILL 123

             

            Additionally, if there's high CPU and low I/O, it's likely either a missing or a fragmented index.

             

            Joe: Tortoise Git

            https://tortoisegit.org/

             

            Mike: Tip of the week is the Pseudocode podcast
            http://pseudocode.fm/

             

            And...don't be lazy. We can't seem to get off our tails and get a business card made!

             

             

            ...more
            View all episodesView all episodes
            Download on the App Store

            Coding BlocksBy Allen Underwood, Michael Outlaw, Joe Zack

            • 4.9
            • 4.9
            • 4.9
            • 4.9
            • 4.9

            4.9

            931 ratings


            More shows like Coding Blocks

            View all
            Hanselminutes with Scott Hanselman by Scott Hanselman

            Hanselminutes with Scott Hanselman

            377 Listeners

            Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

            Software Engineering Radio - the podcast for professional software developers

            272 Listeners

            .NET Rocks! by Carl Franklin and Richard Campbell

            .NET Rocks!

            246 Listeners

            The Changelog: Software Development, Open Source by Changelog Media

            The Changelog: Software Development, Open Source

            282 Listeners

            The Vergecast by The Verge

            The Vergecast

            3,660 Listeners

            Talk Python To Me by Michael Kennedy

            Talk Python To Me

            590 Listeners

            Software Engineering Daily by Software Engineering Daily

            Software Engineering Daily

            626 Listeners

            Soft Skills Engineering by Jamison Dance and Dave Smith

            Soft Skills Engineering

            271 Listeners

            AWS Podcast by Amazon Web Services

            AWS Podcast

            203 Listeners

            Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

            Syntax - Tasty Web Development Treats

            984 Listeners

            Darknet Diaries by Jack Rhysider

            Darknet Diaries

            7,875 Listeners

            CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

            CoRecursive: Coding Stories

            189 Listeners

            Hacking Humans by N2K Networks

            Hacking Humans

            314 Listeners

            Practical AI by Practical AI LLC

            Practical AI

            189 Listeners

            The Stack Overflow Podcast by The Stack Overflow Podcast

            The Stack Overflow Podcast

            64 Listeners