Development and Deployment

Problems in Development

  • Developer is owner of some of the microservices
  • Dependency Hell
  • Local setup problems
  • Hard to test before push

Developer Friendly Codes

  • Configs and Settings
  • Dependency flags
  • Readme and Docs
  • Dockerfile and Makefiles

Common Solutions

  • Setup all services on local environment
  • Service Virtualization
  • Setup some services locally and connect them to the cloud
  • Development in Cloud

Setup all services on local environment

  • docker-compose
  • Development kit

Service Virtualization

Partially Connecting to the Cloud

  • Services are up to date
  • Can be damaging for production services
  • Staging?

Development in Cloud Evironment

  • Maintaining a cloud envrionment for development
  • Hard maintenance

Database

  • Pasha
  • Local Dump
  • Test Fixtures

Deployment

Deployment Friendly Codes

  • Tests
  • Deployment Requirements
  • Backward Compatibility

Pipeline

  • Reliability
  • Standard
  • Rollback

Canary

Operation/Feature Flag

  • Decoupling code deployment from feature deployment
  • Disable feature on demand
  • Dangerous for code quality if done wrong

Thank You!

Have a good deploying!

Made with Slides.com