evitax / test-driven

Home Page:http://testdriven.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test Driven Development Courses

  1. Run locally - bundle exec jekyll serve
  2. Create build - JEKYLL_ENV=production bundle exec jekyll build

Microservices

  • Complexity shifts from the inside (code, vertical stack) to the outside (platform, horizontal stack), managing each dependency, which can be good if you have a younger team in terms of developers. Junior developers are free to experiment and muck up smaller apps. You must have solid dev ops support though.
  • Less coupling, which makes scaling easier
  • Flexible - different apps can have different code bases and dependencies
  • Can be slower since multiple requests and responses are often required
  • Smaller code base, less coupled, solid API design, not having to understand the full system = easier to read code

More: http://flagzeta.org/blog/a-python-microservice-stack/

Stateful vs stateless services

  • Stateful - databases, message queues, service discovery
  • Stateless - apps

Stateful containers should not come down. You should limit the number of these since they are hard to scale.

What code is common amongst all the services?

Generator for-

  1. Auth
  2. service discovery
  3. RESTful routes
  4. Unit and Integration test boilerplate
  5. Config (via environment variables)

About

http://testdriven.io


Languages

Language:HTML 39.4%Language:CSS 28.0%Language:Ruby 22.4%Language:JavaScript 10.2%