Ill - does not mean died

Hey! This is Sergey Kalinets from Parimatch Tech, and we will talk about the sustainability of our services.





Long time ago

- , , . Delphi Windows, “- ”. , , . , . , , , , try / catch, “- ”. , , – . , . , .





. .NET, IIS, Windows . ( , , - OK. , .) , . . , . - PETROVICH, ( ). , , . , . . 





. . , . . , , , . , , – , .





? – – , (, , , ). :





  • ;





  • ;





( Release It!). , .





, , , . , ? – , . . , . – deadlock . - , ( ) . ( health checks :) ), ѓ , . , , . , , , “”. 





, . ? , , , :





  • . . , “ , ” .





  • . , .





, . , Kubernetes ( - :) ), . , Kubernetes.





Kubernetes

(probes). , , , ( / ) . :





  • liveness ( ?). , ;





  • readiness ( ?). (load balancer);





  • startup ( ?). .





. , , , , . Readiness , . , , . , “” , . , , readiness liveness – . Startup , , . , ( Java .NET). ,   . , , .





, , kubernetes readiness startup , , , http ( , ). (workers), Kafka RabbitMQ, . , , , , “ ”, . 





, ( – ) . – ? , ( ).





, , . ? , . (liveness readiness). ? – .





, – . , . , , . , , , , . – . , , .





Liveness. , . ? , . . , , . liveness + . – , , ( , startup ). , . . , , .





, readiness ? , : – ; – . ? , -, , , , , – , . , . -, . , . 503 , . ( 503 → → ). , , , . .





, liveness . . . , liveness , /ping /info. , , - . , . , , - deadlock, , , - . . 





– , , “ -, ”? liveness . , , – , - exit(). , , kubernetes . , liveness , ( , ). , . RedHat , , , , , .





?

, ? , . , – . . , , , . - ( , , , , , - ). ?





– , . . 





, , , , . 





, :) !








All Articles