Table | Card | RUSMARC | |
Allowed Actions: –
Action 'Read' will be available if you login or access site from another network
Group: Anonymous Network: Internet |
Annotation
Данная работа посвящена исследованию подходов к формированию ответов от множества микросервисов в информационных системах, реализованных с применением микросервисной архитектуры. В ходе исследования был проведен анализ существующих методов и выбран подход с применением паттерна Backend For Frontend (BFF), удовлетворяющий наибольшему количеству критериев. В рамках выбранного подхода реализован масштабируемый микросервис с применением языка программирования Golang и инструмента контейнерной оркестрации Docker Swarm, обеспечивающим удобно управление отказоустойчивостью и горизонтальной масштабируемостью системы. В микросервисе также бы реализовано формирование гибкого ответа от множества микросервисов на основе структуры контента, полученной от стороннего микросервиса. Для анализа производительности было проведено пять экспериментов по получению пользовательского ответа с применением паттерна BFF и без него. На основе вычисленного математического ожидания видно, что производительность формирования ответа от множества микросервисов выросла на 12 мс при использовании паттерна BFF.
This work is devoted to the study of approaches to generating responses from a variety of microservices in information systems implemented using microservice architecture. During the study, an analysis of existing methods was carried out and an approach was selected using the Backend For Frontend (BFF) pattern, which satisfies the largest number of criteria. A scalable microservice is implemented using the Golang programming language and the container orchestration tool Docker Swarm, which provides convenient management of fault tolerance and horizontal scalability of the system. The microservice would also implement the generation of a flexible response from multiple microservices based on the content structure received from a third-party microservice. To analyze the performance, five experiments were conducted to obtain a user response with and without the BFF pattern. Based on the calculated mathematical expectation, the performance of generating a response from many microservices increased by 12 ms when using the BFF pattern.
Document access rights
Network | User group | Action | ||||
---|---|---|---|---|---|---|
ILC SPbPU Local Network | All |
![]() |
||||
Internet | Authorized users SPbPU |
![]() |
||||
![]() |
Internet | Anonymous |
Usage statistics
|
Access count: 0
Last 30 days: 0 Detailed usage statistics |