• A
  • A
  • A
  • ABC
  • ABC
  • ABC
  • А
  • А
  • А
  • А
  • А
Regular version of the site

Optimizing Userver Framework Scheduler

Student: Egor Bocharov

Supervisor:

Faculty: Faculty of Computer Science

Educational Programme: Applied Mathematics and Information Science (Bachelor)

Final Grade: 9

Year of Graduation: 2024

The userver framework is a high-performance, asynchronous open-source project developed in C++. It is designed to enhance the scalability of microservices across a wide range of applications. At the core of this framework is a task scheduler that ensures optimal distribution and execution of coroutines, which directly impacts application performance. This work aims to research the improvement and optimization of the scheduler's task queue, responsible for handling coroutines by a specific thread. The primary goal is to minimize bottlenecks in the current implementation that cause excessive thread contention and achieve more efficient resource utilization, especially under peak loads. The plan is to transition from a synchronous queue implementation to a distributed one, minimizing thread contention when adding and retrieving tasks in the scheduler. As a result, a new task queue and its components will be developed in C++, leading to a significant improvement in task processing efficiency.

Full text (added May 19, 2024)

Student Theses at HSE must be completed in accordance with the University Rules and regulations specified by each educational programme.

Summaries of all theses must be published and made freely available on the HSE website.

The full text of a thesis can be published in open access on the HSE website only if the authoring student (copyright holder) agrees, or, if the thesis was written by a team of students, if all the co-authors (copyright holders) agree. After a thesis is published on the HSE website, it obtains the status of an online publication.

Student theses are objects of copyright and their use is subject to limitations in accordance with the Russian Federation’s law on intellectual property.

In the event that a thesis is quoted or otherwise used, reference to the author’s name and the source of quotation is required.

Search all student theses