[dipl] Perustieteiden korkeakoulu / SCI
Permanent URI for this collectionhttps://aaltodoc.aalto.fi/handle/123456789/21
Browse
Browsing [dipl] Perustieteiden korkeakoulu / SCI by Author "Aalto, Markus"
Now showing 1 - 1 of 1
- Results Per Page
- Sort Options
- Measuring and improving the performance of a latency-sensitive Java real-time system
School of Science | Master's thesis(2024-09-30) Amadei, AndreaThis thesis investigates the performance challenges of Java-based real-time systems, with a specific focus on latency-sensitive environments such as game servers. Java, widely recognized for its portability and safety, presents unique challenges when used in real-time applications due to the inherent unpredictability introduced by its platform. Key features of the JVM, such as just-in-time compilation and garbage collection, can cause significant variability in execution times, making it difficult to meet the strict timing requirements essential for real-time performance. The study examines the impact of Java features on system latency and predictability through a combination of profiling tools, real-time monitoring, and controlled load testing. It also evaluates several optimization techniques, including garbage collection tuning, platform configuration adjustments, and programming techniques to ease just-in-time compilation. The findings reveal that while these optimizations can reduce latency and improve predictability to some extent, they do not fully eliminate the unpredictability associated with Java. The research highlights that particular care should be taken when implementing features that might conflict with the inner workings of the Java platform. The broader implications of this study indicate that for applications where real-time performance is critical, further refinement of platform configurations is almost a necessity, although the performance advantages are worth the effort.