I will tell about some facts and personal experience of the transition from a monolithic application to a micro service architecture. When such a transition makes sense, what pitfalls to expect during the transition and how “Ruby on Rails” allows us to solve problems with the scaling of the monolith.
In my report I want to talk about what PEG parsers are, using the treetop library as an example.
I'll tell you about how to describe the grammar of the PEG parser. How they can be useful and in what cases they should be used.
Let us analyze the practical case of using the PEG parser using the example of parsing user input.
Imagine the beginning: a geographically distributed service with 18 servers on board and more than 3 thousand corporate users, who at different times should have a lightning-fast response from the authentication server via the API or the RADIUS protocol.
The service is used in 1C accounting, a corporate portal for 1,400 users, integrated with Linux sudo and many other applications and services. Any unavailability of the authentication service means only one thing - users will hate you.
You need to be released in such a way that the service does not stop for a second, can roll back if any error occurs and at any time check the user data. It took us a year and a half.
In this short report, I will tell you about our experience of using Ansible to manage an authentication platform that can handle any workload, and why you need to be friends with admins or devops.
Source: https://habr.com/ru/post/332548/
All Articles