Date post: | 22-Jun-2018 |
Category: |
Documents |
Upload: | nguyencong |
View: | 225 times |
Download: | 0 times |
This fast-moving session will guide us along the evolution from a .NET application running on a server to a microservices architecture with zero-downtime deployments and advanced techniques for maximizing performance. If you’re ready to use your .NET skills and jump into the future with microservices and Linux containers, this is for you.
The Technologies● Linux Containers● Kubernetes● OpenShift● Zero-downtime deployments● Blue/Green release● Canary release● The “Circuit Breaker” pattern
Just SOME of The issues:1. Deploying software just takes too long!2. Software is too complex3. It takes forever to scale up (or down)
(demo: building and running docker image)
./pub.sh
docker build -t dotnethello .
docker run -d -p 5000:5000 dotnethello
http://10.1.2.2:5000
(demo: OpenShift)
oc login
oc new-project mydotnet
./create_green_1.sh
http://10.1.2.2:5000
./curl_dotnet.sh (in new ssh terminal)
(demo: Canary Release)
./canary_create_1.sh
(optional: edit and publish Startup.cs)
./canary_create_2.sh
./curl_dotnet_canary.sh
(demo: Circuit Breaker)
/howdy/docrun.sh
/circuitbreaker_console_app/dotnet run
use /slowdown & /normal switches in URL