Skip to content

Latest commit

 

History

115 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

Chinese translation for Test Driven Development Courses

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages