Microservices development architecture for PSS

For PSS, we delivered the implementation of a microservices-based architecture that supported the transition to the new infrastructure. We used the Spring Boot Framework, Apache Kafka and the ELK stack. 

Kategory

Aspecta vám zabezpečí služby DevOps

Delivered services

Technologies and platforms

aspecta logo

Client - Prvá stavebná sporiteľňa

Prvá stavebná sporiteľňa was founded in 1992 as the first specialized savings bank of its kind in Central and Eastern Europe. It focuses on building savings and since its foundation has served 2.5 million customers, concluded 5 million contracts and granted 700,000 building loans worth 11.4 billion euros. As a result, it has long held a dominant share of the building society market. PSS is aware that not only high-quality services but also an efficient IT infrastructure will ensure that it maintains its dominant position in the future. This was also the reason why we successfully worked on several projects in the field of digitalization and modernization of IT. One of these projects was the development of a microservice architecture. 

aspecta logo

Issue

Given the trends towards modernization of IT and digital transformation, PSS decided to move to a new infrastructure platform (containerization platform, which we also provided) based on Docker technology. However, the existing software services were based on legacy technologies, were highly interconnected and integrated through a common database. As a result, they were not able to take full advantage of the new platform, especially in terms of scalability and independent deployment. At the same time, extensive extensions to the core banking system were planned for the future, but these would be difficult to integrate into the existing architecture.
aspecta logo

Solution

The ideal solution to this problem was to move to a microservices architecture. This type of architecture (as opposed to the "traditional" monolithic architecture) uses an approach where an application is made up of many loosely connected and independently non-interchangeable smaller components or services. This approach has a number of advantages, such as fast and inexpensive upgrades, easier and cheaper scaling of certain parts of the application without affecting the rest of the parts, and so on. To ensure the optimal functionality of the chosen solution, we decided to implement a new generation of REST services built on the Spring Boot framework. Thanks to containerization, the services can also have their own instances of the NoSQL database, which helps reduce their interdependencies. In addition to the REST interface, the services also use asynchronous communication via the Apache Kafka platform.
We used the ELK stack to manage the logs, with asynchronous logging and the ability to perform analytics and visualisations over the logs. ELK stack, pričom logovanie je asynchrónne a je možné nad logmi robiť analytiku a vizualizácie.
microservices mikroslužby
aspecta logo

Results and benefits

The result is a scalable and sustainable platform based on modern technologies. The architecture we designed also proves itself in practice and, with a few exceptions, all services are migrated comprehensively. New services, including outsourcing, are developed only for the new platform. Asynchronous communication helps to resolve dependencies between individual services, speeds up development and, above all, simplifies the integration of new components. The solution also ensures that new components are deployed without interruption, which greatly simplifies the overall deployment process. The services are operated in multiple instances, which also increases resilience while allowing the capacity of the solution to be adapted to increased demand (eg during migrations).

Do you like the case study?

Sign up for the newsletter
Share it on social media
Author

Senior Java Developer so zameraním na microservice architektúru a Docker Swarm infraštruktúru.

Štefan Sabo Senior Java Developer
saArtboard 54avatar aspecta