October 27, 2026
Performance Evaluation of Microservice-Based Architectures on Scheduling Platforms
Victor Balbino Machado; Ariel Da Silva Dias
DOI: 10.22167/2675-6528-202601490
Article prepared by the ResumeAI tool, an artificial intelligence solution developed by the Pecege Institute focused on synthesis and writing.
Summary
The growing demand for efficient and scalable digital systems, especially in scheduling platforms, motivated the evaluation of microservices-based architectures. The study aimed to analyze the performance of a distributed solution, developed in C# and .NET, for managing services and reservations, identifying areas for improvement through controlled load and performance experiments. A modular application with independent microservices was developed, using synchronous and asynchronous communication via AMQP, Redis cache, relational database, Docker containers, and Kubernetes orchestration, with monitoring via Elastic Stack. The experimental methodology employed the k6 tool to simulate scenarios of progressive load, access peaks, sustained load, and simultaneous concurrency, as well as to compare different communication flows and intensive write operations. The structural optimizations implemented throughout the research stages contributed significantly to reducing latency, better utilization of computational resources, and increased system predictability under critical conditions. A substantial improvement in scalability and responsiveness was observed, particularly in read and availability query flows. However, the scheduling flow, especially under high concurrency, proved to be the most sensitive component, with an increase in transactional failures even with reduced latency and high throughput. It was concluded that the adoption of practices such as caching, asynchronous communication, observability, and selective scalability favored the overall application performance. The research demonstrated the benefits of the microservices architecture in high-demand environments, but also highlighted the persistent challenges related to concurrency in write operations and time slot reservations, suggesting the need for additional mechanisms to ensure transactional effectiveness.
Keywords: Load; Scalability; Latency; Messaging; Observability.
1. Introduction
The digital era is marked by a growing dependence on software systems operating under high-demand conditions, requiring continuous efficiency, scalability, and resilience. Scheduling platforms, for example, have become ubiquitous across various sectors, from healthcare and education to personal services, managing millions of daily interactions. The ability to process a large volume of simultaneous requests, ensure resource availability, and maintain transactional integrity are critical factors for the success and acceptance of these solutions. In this complex scenario, microservices architecture emerges as a promising paradigm for addressing the challenges posed by distributed and high-concurrency environments (Dragoni et al., 2017). Unlike traditional monolithic systems, where all functionalities are packaged into a single unit, microservices propose the decomposition of an application into a set of smaller, independent, and loosely coupled services, each performing a specific business function (Newman, 2020). This modular approach aims to enhance the system’s responsiveness and adaptability to variable loads.
The benefits inherent to the microservices architecture are multifaceted and directly relevant to the context of scheduling platforms. Flexible scalability, for example, allows individual system components to be expanded autonomously, without the need to replicate the entire application. This feature is particularly advantageous in scenarios where only certain services, such as checking available time slots, experience demand peaks, optimizing the use of computational resources. Furthermore, resilience and fault isolation are significantly improved, as the autonomy of each service prevents failures in one part of the system from compromising overall functionality, making the application more robust and ensuring a consistent user experience (Newman, 2020). Agility in the development and delivery of new features or fixes is also a differentiator, as teams can work on specific services more quickly and efficiently. The adoption of distributed architectures, such as microservices, is fundamental to ensuring the high availability and consistent performance required by platforms that deal with demand peaks (Bass et al., 2013).
To optimize performance in distributed environments, several complementary strategies and technologies are employed. Load balancing distributes requests among service instances, preventing overload and improving throughput (Kurose & Ross, 2021). Caching, such as Redis, stores frequently accessed information, like service schedules and details, reducing the load on the database and speeding up response time (Tanenbaum & Van Steen, 2016; Wang et al., 2019). Asynchronous communication, via AMQP messaging, decouples services, allowing long-running operations not to block the main flow and improving responsiveness to demand peaks (Microsoft, 2022). Infrastructure with containerization (Docker) and orchestration (Kubernetes) facilitates the deployment, scalability, and management of microservices (Burns et al., 2019; Docker, n.d.). Finally, observability, with tools like the Elastic Stack, is essential for monitoring real-time performance, identifying bottlenecks, and ensuring operational health (Elastic, 2023; Nascimento, 2020). Despite these approaches, the challenge of maintaining transactional effectiveness in high-concurrency write operations, such as simultaneous scheduling, remains a critical issue on reservation platforms.
Given the complexity and criticality of scheduling platforms in microservices, and the persistence of challenges related to write operation concurrency, it becomes imperative to investigate the behavior of these architectures under high demand conditions. Understanding how different structural optimizations and communication patterns impact performance metrics, such as latency, scalability, and transactional failure rate, is fundamental for the development of more robust and efficient systems. Thus, this study aims to analyze the performance of a distributed solution, developed in C# and .NET, for service and reservation management, identifying areas for improvement through controlled load and performance experiments, with a particular focus on transactional effectiveness under high concurrency.
2. Material and Methods
The research employed an experimental approach, as outlined by Gil (2007), who defines this method as the determination of an object of study and the selection of variables capable of influencing it, with control and observation of the produced effects. In this study, the object of investigation was the developed microservices, and the primary variables analyzed included response time and log records. This methodology allowed for a controlled analysis of the architecture’s performance under different load conditions, aligning with the objective of identifying areas for improvement in distributed systems.
The study was conducted in the context of scheduling platforms, which operate in high-demand digital environments, requiring continuous efficiency and scalability. Although there is no specific physical location or explicitly delimited data collection period for the research execution, the application was developed and evaluated in simulated scenarios to replicate real usage conditions. The central unit of analysis consisted of the developed microservices architecture, focusing on its behavior and performance under various stress and concurrency conditions.
There was no population or sample of human participants or documents in the traditional sense. Instead, the research “sample” was the microservices-based scheduling application itself, which was subjected to a series of load and performance tests. The selection criteria for the architecture components were based on the need to build a robust and scalable distributed system, capable of simulating the challenges of a real scheduling platform, according to software engineering practices for high-concurrency environments.
The application was developed using the C# language and the .NET framework version 10.0. The choice of .NET was justified by its maturity, development productivity, support for API construction, and ability to integrate with modern resources for distributed applications, as highlighted by Noronha (2022). The architecture was organized into four main microservices: Customer, responsible for user control; Schedule, for managing employee schedules; Service, for the service catalog; and Notification, for asynchronous sending of notifications to clients.
Communication between microservices was implemented using gRPC for synchronous calls, leveraging the advantages of HTTP/2, such as multiplexing and lower overhead, which contributes to greater reliability and performance (Google, 2023; Burns et al., 2019). For asynchronous data propagation, such as user updates, AMQP-based messaging was used, promoting system decoupling and scalability (Newman, 2020). Data persistence was managed by a SQL Server database, chosen for its relational architecture and guarantee of transactional consistency.
To optimize performance, the application incorporated a caching system with Redis, which stores frequently accessed information for faster access and reduced load on the database (Cassio, 2023). Observability and monitoring were ensured by the Elastic Stack (Elasticsearch, Logstash, and Kibana), which allowed for the storage, processing, and visualization of logs and metrics (Elastic, 2026). Agents such as Metricbeat and Heartbeat were employed to collect system metrics and monitor service availability, respectively (Nascimento, 2023).
The application’s infrastructure was based on Docker containers, which provide isolation and standardization for deployment (Docker, 2026). NGINX acted as a reverse proxy, optimizing request routing and load balancing (Cloudflare, [n.d.]; Nginx Inc., 2022). Container orchestration was performed by Kubernetes, which automated the deployment, horizontal scalability (Horizontal Pod Autoscaler – HPA), and lifecycle management of microservices, ensuring resilience and automatic fault recovery in distributed environments (Burns et al., 2019).
Performance tests were executed in multiple evolutionary stages of the application, accompanying the progressive implementation of architectural improvements and the correction of identified bottlenecks. The k6 tool, from Grafana Labs, was used to simulate multiple simultaneous virtual users and measure performance metrics, such as response time, error rate, and throughput, in APIs and distributed applications. This approach allowed for the creation of customized scenarios through scripts, essential for evaluating system resilience under different load conditions.
The test scenarios were planned to represent typical scheduling system situations, including stress, breakpoint, soak, spike, staircase, concurrent booking, write heavy, full E2E, async vs sync, isolation, massive, and availability burst. The metrics collected for evaluation included throughput (requests per second), average response time, P90, P95, and P99 latency percentiles, error percentage, total requests, and the number of created and failed bookings. This variety of scenarios and metrics allowed for a comprehensive analysis of the architecture’s behavior.
The treatment and analysis of the collected data focused on comparing performance metrics across different experimental stages and test scenarios. The objective was to identify architectural bottlenecks, system operational limits, and the impact of optimizations implemented throughout development. The analysis allowed for observation of the system’s evolution in terms of latency, throughput, and reliability, providing an empirical basis for understanding the architecture’s behavior under conditions of high demand and concurrency.
Ethical procedures or methodological limitations were not explicitly described in the methodology section of the original term paper. The research focused on the technical performance evaluation of a software architecture, without directly involving human participants or sensitive data that would require ethics committee approval. Discussions on system limitations and potential areas for improvement were addressed in other sections of the paper, outside the scope of the methodological description.
3. Results and Discussion
Performance tests conducted on a microservices architecture, developed for scheduling platforms, revealed a complex and multifaceted evolutionary trajectory. The application, structured into independent services for user management (Customer), scheduling (Schedule), service catalog (Service), and notifications (Notification), utilized synchronous communication via gRPC and asynchronous communication via AMQP, with persistence in SQL Server, Redis caching, and observability via the Elastic Stack. The experimental methodology, employing the k6 tool, allowed for the simulation of various load scenarios, such as stress, soak, concurrent booking, and breakpoint, and the evaluation of crucial metrics like response time, throughput, failure rate, and transactional effectiveness. The results obtained throughout the experimental stages, which included progressive optimizations, provide a robust empirical basis for understanding the behavior of distributed systems in high-demand and concurrent environments.
The analysis of Scenario 1 – Stress, which simulated a progressive increase in load until system saturation, was adopted as the main reference to evaluate the architecture’s evolution. This scenario is particularly relevant for scheduling platforms, as it exposes the application’s response capacity, operational limits, and the impact of optimizations under continuous pressure conditions.
Table 1. Evolution of average latency and failure rate in the stress scenario over the experimental stages.
Source: Original research results.
|
Stage |
Description |
Latency (ms) |
P95 average (ms) |
Failure rate (%) |
Throughput (req/s) |
|
01 |
Baseline without optimizations |
24.734,89 |
60.000,32 |
31,95 |
8,55 |
|
02 |
Identification of bottlenecks |
3.276,85 |
9.772,95 |
0,14 |
65,66 |
|
03 |
First structural optimizations |
1.625,10 |
5.249,26 |
4,11 |
127,00 |
|
07 |
Consolidated main round |
1.789,06 |
6.185,37 |
6,64 |
115,99 |
|
08 |
Final refinement |
2.024,27 |
5.484,65 |
1,31 |
103,62 |
As presented in Table 1, Stage 01 (Baseline), which represents the initial version of the system without optimizations, exhibited the worst performance. The average latency reached 24,734.89 ms, and the P95 percentile (60,000.32 ms) indicated that a significant portion of requests exceeded the configured timeout limit. The failure rate was alarming at 31.95%, with an extremely low throughput of 8.55 requests per second. These figures demonstrate that, in its original state, the architecture was not capable of supporting progressive loads, quickly entering severe saturation. This behavior strongly contrasts with the expected benefits of a microservices architecture, which, according to Newman (2020) and Dragoni et al. (2017), should offer inherent scalability and resilience. The inability to process requests efficiently and the high failure rate suggest that the components were tightly coupled or that there were severe bottlenecks in accessing shared resources, such as the database, without adequate load balancing or caching mechanisms. The practical implication is that a system in this state would be unviable for any real production environment, resulting in an unacceptable user experience and operational losses.
Stage 02, focused on bottleneck identification, even without structural code optimizations, has already shown significant improvement. Average latency dropped to 3,276.85 ms, P95 to 9,772.95 ms, and throughput increased to 65.66 req/s. This improvement, despite not being the result of direct optimizations, can be attributed to a refinement in the diagnostic process, which allowed for the isolation of read and write flow effects and confirmed that the main issue lay with the availability endpoint and queries related to the scheduling microservice. This finding highlights the importance of observability in distributed systems, as advocated by Nascimento (2023) and Elastic (2026), who emphasize the role of tools like the Elastic Stack (Elasticsearch, Logstash, and Kibana) and agents such as Metricbeat and Heartbeat in precise bottleneck identification. The ability to clearly diagnose problems is the first step towards effective resolution, and the observed improvement, even if indirect, validates the methodological approach to monitoring.
Step 03 marked a significant turning point in the system’s performance, following the implementation of the initial structural optimizations. Average latency dropped to 1,625.10 ms, a reduction of approximately 93.4% compared to the baseline. Throughput soared to 127 req/s, and P95 was reduced to 5,249.26 ms. These results indicate that improvements in the processing of the `/available` endpoint, such as reducing excessive database queries, optimizing access, and in-memory data handling, had a direct and substantial impact. This performance gain validates the effectiveness of strategies like caching with Redis (Cassio, 2023; Wang et al., 2019) and SQL query optimization, which reduce the load on the database and speed up access to frequently requested information. The implication is that applying optimizations focused on specific bottlenecks, identified in the previous step, can generate exponential returns in terms of performance and scalability.
In Stage 07, corresponding to the consolidated main round, the system maintained superior performance to the baseline, but showed a partial regression compared to Stage 03. Average latency increased to 1,789.06 ms, P95 to 6,185.37 ms, the failure rate rose to 6.64%, and throughput dropped to 115.99 req/s. This performance oscillation is a common phenomenon in distributed environments, where the complexity of interactions between microservices, load variability, and resource management (Kubernetes, Burns et al., 2019) can introduce new sources of instability. The partial regression suggests that, although initial optimizations were effective, maintaining performance in a dynamic environment requires continuous monitoring and fine-tuning. This reinforces the idea that optimizing distributed systems is not a linear process, but an iterative cycle of implementation, testing, and refinement.
Finally, Stage 08, which incorporated additional cache and compression refinements, registered an average latency of 2,024.27 ms, P95 of 5,484.65 ms, and a throughput of 103.62 req/s. Although the average latency increased slightly compared to previous stages, the failure rate dropped to 1.31%, the best result among all post-optimization stages. This behavior suggests that the final refinements contributed more to the system’s stability and reliability than to the reduction of raw latency. HTTP response compression, for example, can reduce the volume of data transmitted, improving network efficiency and, consequently, the perception of speed, even if the service’s internal latency does not decrease drastically. This finding aligns with literature emphasizing the importance of network and protocol optimizations (Google, 2023; Burns et al., 2019) for the overall performance of distributed systems. The practical implication is that, in some cases, stability and error reduction may be more valuable than absolute minimum latency, especially in transactional systems.
In summary, the results of the stress scenario demonstrate a significant evolution of the architecture, which moved from a state of critical saturation to substantially superior performance. The main improvement focused on the availability flow, especially in the scheduling microservice, where the reduction in query costs and the refinement of internal processing elevated the platform’s responsiveness. However, the performance fluctuations between intermediate and final stages reinforce the dynamic and complex nature of optimization in distributed environments, where gains are not always linear or easily sustainable without continuous adjustments.
The Scenario 3 – Concurrent Booking was crucial for evaluating the application’s behavior in the face of multiple simultaneous booking attempts, an inherent challenge in scheduling platforms. This test is not limited to response speed but also to the ability to successfully complete booking operations under high concurrency, considering metrics such as latency, throughput, failure rate, and the number of bookings created and failed.
Table 2. Comparison between the quantity of created and failed bookings in the concurrent booking scenario along the analyzed stages.
Source: Original research results.
|
Stage |
Average HTTP latency (ms) |
P95 HTTP (ms) |
Failure rate (%) |
Throughput (req/s) |
Bookings created |
Failed bookings |
|
01 |
7171.65 |
52899.11 |
37.73 |
29.05 |
14 |
697 |
|
02 |
5109.36 |
15306.99 |
0.10 |
53.96 |
1249 |
1 |
|
03 |
787.29 |
2393.82 |
33.00 |
318.31 |
57 |
7477 |
|
07 |
870.48 |
2994.52 |
33.31 |
274.53 |
4 |
6761 |
In Step 01 (Baseline), according to Table 2, the concurrent booking scenario revealed strongly degraded performance. The average HTTP latency was 7,171.65 ms, with a P95 of 52,899.11 ms, a failure rate of 37.73%, and a throughput of only 29.05 requests per second. More concerningly, only 14 bookings were created against 697 failed bookings. This demonstrates that the initial architecture was completely inadequate for handling multiple simultaneous scheduling attempts, failing to ensure the consistency and effectiveness of operations. This result underscores the complexity of managing concurrency in distributed systems, where contention for shared resources, such as schedule slots, can lead to deadlocks or inconsistencies if robust transactional control mechanisms are not in place.
Stage 02 showed a notable improvement in transactional reliability, despite latency still being high (5,109.36 ms on average and P95 of 15,306.99 ms). The failure rate was drastically reduced to only 0.10%, and throughput rose to 53.96 req/s. The system registered 1,249 bookings created and only 1 failed booking. These results are a highlight, indicating that, even before structural optimizations, the application was able to successfully complete scheduling operations in a much higher proportion than the other stages analyzed in this scenario. This suggests that, at this diagnostic stage, some of the most critical containment or blocking issues that prevented transaction completion were identified and perhaps mitigated, even if the system was not yet fast. The implication is that transactional stability, even with latency, is a crucial health indicator in high-concurrency scenarios.
In Stage 03, after the initial structural optimizations, there was an expressive change in the speed indicators. Average HTTP latency dropped to 787.29 ms, P95 to 2,393.82 ms, and throughput rose to 318.31 req/s, the highest value observed in this scenario. However, this raw performance improvement was not accompanied by equivalent operational effectiveness: only 57 bookings were created against 7,477 failed bookings, with a failure rate of 33.00%. This is a paradoxical result: the system became much faster and processed a larger volume of requests, but the success rate of scheduling operations dropped drastically. This suggests that the increased throughput capacity more intensely exposed the limitations of concurrency and contention in the write flow. In other words, the system was processing more requests, but many of them were failing due to simultaneous disputes over the same resources (scheduling slots), a well-known challenge in distributed transactional systems (Newman, 2020).
Stage 07 , corresponding to the consolidated main round, maintained a high level of raw performance, with an average HTTP latency of 870.48 ms, P95 of 2,994.52 ms, and a throughput of 274.53 req/s. However, the operational result remained critical: only 6 bookings created against 6,761 failed bookings, with a failure rate of 33.31%. This behavior reinforces that, although the system was much faster than in the initial stages, high concurrency continued to strongly compromise the effective completion of appointments. The speed gains did not translate into greater transactional effectiveness, indicating that the concurrency problem in the scheduling flow persisted as a fundamental bottleneck. This scenario illustrates the complexity of optimizing distributed systems, where improving one metric (speed) can actually exacerbate problems in another (transactional reliability) by exposing underlying limitations.
The results of the concurrent booking scenario show that the evolution of the architecture did not occur uniformly between raw performance and effective operation success. Steps 03 and 07 presented a strong reduction in latency and a significant increase in throughput, indicating an expressive improvement in processing capacity. However, these same steps exhibited very high volumes of failed bookings, in contrast to Step 02, which, although slower, presented a superior result in creation effectiveness. This difference suggests that, as the architecture processed more requests simultaneously, the limitations associated with concurrency in the scheduling flow became more evident. A plausible hypothesis is the simultaneous contention for the same set of available time slots, leading multiple requests to attempt to book the same slot at the same time. This means that the observed failures may be associated not only with technical unavailability but also with natural business contention between scheduling attempts. This scenario, therefore, reinforces that performance analysis in domains such as scheduling must consider not only latency and throughput but also the actual effectiveness of successfully completed operations.
The comparative synthesis of the analyzed scenarios (stress, soak, concurrent booking, and breakpoint, although only stress and concurrent booking have been detailed with tables here) allows us to observe that the evolution of the architecture did not occur homogeneously in all evaluated aspects. In general, the optimizations implemented throughout the experimental stages were effective in reducing latency, increasing throughput, and shifting the application’s operational degradation point to higher levels. In the stress scenario, the most evident transformation was the substantial reduction in average latency, the significant drop in the failure rate, and the considerable increase in throughput, mitigating the main bottlenecks associated with the availability flow and the scheduling microservice. In the soak scenario (not detailed with a table here, but mentioned in the original text), the results indicated that performance gains were maintained under constant load for a prolonged period, suggesting an evolution in the architecture’s scalability.
However, this limitation became even more evident in the concurrent booking scenario. Although the later stages showed a strong gain in speed and throughput compared to the baseline, operational effectiveness remained compromised under conditions of high contention for the same time slots. This indicates that the architecture clearly evolved in the direction of HTTP reading and processing, but still maintained relevant fragility in the transactional write path, especially when multiple requests simultaneously attempt to book the same schedule slot. The breakpoint scenario (also not detailed with a table here, but mentioned in the original text) reinforced this interpretation, showing that the system’s operational limit was shifted to higher levels, but not eliminated. The optimizations allowed for an increase in application capacity before degradation, however, in the phases where the system began to sustain higher throughput, contention over the booking flow became more visible as a limiting factor. Thus, the saturation point ceased to be concentrated solely on raw latency and also began to manifest in the effectiveness of successfully completed operations. Together, the results suggest that the main contribution of the implemented optimizations was the substantial improvement in the scalability and responsiveness of the architecture, especially in read and availability query flows. However, the tests also show that the scheduling flow remained the most sensitive component of the system, particularly in scenarios of intense concurrency.
Based on the results obtained, relevant improvement possibilities are observed, especially regarding data storage scalability and handling of high-concurrency write operations. One possibility for evolution consists of expanding the database scalability strategy through a more explicit separation between read and write. In this model, the application could operate with a primary instance responsible for write operations and one or more replicas dedicated to read operations (Microsoft, 2025). This approach would allow offloading queries from the main database, reducing resource contention and improving the performance of more frequent read flows, such as availability and service catalog queries. It is, therefore, a strategy primarily aimed at expanding read capacity and analytical throughput, without necessarily characterizing, by itself, a complete high-availability solution (Microsoft, 2025). However, this type of architecture requires adequate handling of synchronization between the primary instance and the replicas, as the consulted data may present a temporary lag compared to the most recent writes. Thus, it is a strategy that favors scalability and throughput, but demands attention to the effects of eventual consistency, especially in flows sensitive to concurrency, such as simultaneous scheduling of appointments (Kurose & Ross, 2021; Microsoft, 2022). The practical implication is that the choice between strong and eventual consistency must be carefully evaluated based on business requirements.
Another possible evolution would be the broader adoption of an asynchronous flow for write operations. In this model, instead of immediately persisting certain commands directly to the database during synchronous request processing, the application could publish the write intention to a message queue (AMQP, Newman, 2020). From there, a specialized consumer would be responsible for processing the command and effecting persistence in the database. This strategy would reduce the blocking time of the main flow, increase decoupling between components, and allow for greater elasticity in handling write peaks (Microsoft, 2022). For this model to be reliable, it would be necessary to expand or consolidate the idempotency mechanisms already adopted in the solution, ensuring that the same message or command, even under redelivery, retry, or reprocessing, does not result in duplicate persistences or inconsistencies in the scheduling flow. Furthermore, the use of reliable event publishing strategies would be recommended, so that the recording of the operation and its asynchronous propagation occur in a coordinated manner, reducing the risk of inconsistencies between the application, messaging system, and database. In this context, the transactional outbox pattern proves relevant by allowing the business object state and its events to be confirmed in the same transactional batch, with subsequent retransmission of messages by a background processor (Microsoft, 2022; Microsoft, 2026). This aligns with the principles of resilience in distributed systems, where the failure of one component should not compromise the integrity of the entire system (Burns et al., 2019).
In this context, the use of cache can continue to play an important role in supporting the transient state of the operation, temporarily storing data associated with the command until its definitive confirmation or discard in case of error. Nevertheless, the cache should not be treated as a primary mechanism for guaranteeing persistence, but as a support for performance and temporary coordination within a more robust asynchronous flow, since caches store temporary copies of data and should not replace the original persistent repository (Microsoft, n.d.; Cassio, 2023). The implementation of more advanced caching strategies, such as distributed cache invalidation or the use of cache-aside for writes, can mitigate consistency issues and further improve performance (Wang et al., 2019).
In summary, the results obtained throughout the research indicate that future architectural evolutions can focus on two complementary directions: increasing database capacity through read-oriented replicas and broader decoupling of write operations through asynchronous messaging, with reinforcement of idempotency, controlled eventual consistency, and reliable event propagation mechanisms. These strategies have the potential to reduce the remaining bottlenecks identified in high-concurrency scenarios, especially in the scheduling flow, and transform the architecture into an even more robust and scalable system.
4. Conclusion
It is concluded that the objective was achieved, as this study analyzed the performance of a distributed solution in C# and .NET for service and reservation management, identifying areas for improvement through controlled load and performance experiments, focusing on transactional effectiveness under high concurrency. The results demonstrated a significant evolution of the architecture, with optimizations that drastically reduced latency, increased throughput, and improved operational stability in stress and soak scenarios. The application’s responsiveness was substantially enhanced, especially in read and availability query flows, validating the effectiveness of caching strategies, query optimization, and inter-service communication.
However, a crucial limitation was observed: transactional effectiveness in write operations under high concurrency, such as simultaneous scheduling, remained a challenge. In scenarios of
simultaneous booking
, despite the gain in speed, the failure rate in effective schedules was high, indicating that the dispute for shared resources, such as time slots, is still a bottleneck. For future studies, it is suggested to deepen the scalability of data storage with read replicas and the adoption of more robust asynchronous flows for writing operations, using messaging with idempotency mechanisms and the pattern
Outbox for transactions
. Such approaches can mitigate remaining bottlenecks and enhance system resilience in highly competitive environments.
Bibliographic References
Aqui está a lista bibliográfica final:
BASS, Len; CLEMENTS, Paul; KAZMAN, Rick. Software Architecture in Practice. 3. ed. Upper Saddle River, NJ: Addison-Wesley, 2013.
DRAGONI, Nicola et al. Microservices: Yesterday, Today, and Tomorrow. arXiv, 2017. Disponível em: https://arxiv.org/abs/1606.04036. Acesso em: 30 mar. 2025.
KUROSE, J. F.; ROSS, K. W. Redes de Computadores e a Internet: uma abordagem top-down. 8. ed. São Paulo: Pearson, 2021.
MICROSOFT. Asynchronous message-based communication. Microsoft Learn, 2022. Disponível em: https://learn.microsoft.com/en
NEWMAN, Sam. Building Microservices: Designing Fine-Grained Systems. 2. ed. Sebastopol: O’Reilly Media, 2021.
TANENBAUM, A. S.; VAN STEEN, M. Sistemas Distribuídos: Princípios e Paradigmas. 3. ed. São Paulo: Pearson, 2016.
WANG, L. et al. A Survey on Caching Strategies in Distributed Systems. IEEE Access, v. 7, p. 121843-121863, 2019.
Article originating from the Final Course Work of the Specialization in Software Engineering of the MBA USP/Esalq
To learn more about the course, click here and access the MBX Academy platform