Designing and building orchestrator load testing based on FoundationDB
Jazyk: | ruština |
---|---|
Rok vydání: | 2021 |
Předmět: | |
DOI: | 10.18720/spbpu/3/2021/vr/vr21-4626 |
Popis: | ÐÐ°Ð½Ð½Ð°Ñ ÑабоÑа бÑла поÑвÑÑена иÑÑÐ»ÐµÐ´Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¿ÑинÑипов и Ð¿Ð¾Ð´Ñ Ð¾Ð´Ð¾Ð² к поÑÑÑÐ¾ÐµÐ½Ð¸Ñ Ð¸ пÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ð½Ð°Ð³ÑÑзоÑного ÑеÑÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð²ÐµÐ±-пÑиложений, иÑполÑзÑÑÑÐ¸Ñ Ð¼Ð¸ÐºÑоÑеÑвиÑнÑÑ Ð°ÑÑ Ð¸ÑекÑÑÑÑ, а Ñакже ÑабоÑе оÑкеÑÑÑаÑоÑа â оÑделÑного ÑеÑвиÑа, оÑвеÑаÑÑего за кооÑдинаÑÐ¸Ñ Ð¸ оÑÑÐ»ÐµÐ¶Ð¸Ð²Ð°Ð½Ð¸Ñ ÑабоÑÑ Ð´ÑÑÐ³Ð¸Ñ ÑеÑвиÑов в ÑиÑÑеме. Ð Ñ Ð¾Ð´Ðµ ÑабоÑÑ ÑеÑалиÑÑ ÑледÑÑÑие задаÑи: 1. ÐÑÑледование пÑинÑипа ÑабоÑÑ Ð¾ÑкеÑÑÑаÑоÑа и Ð¸Ñ ÑÑавнение Ñ Ð¾Ð´Ð½Ð¸Ð¼ из попÑлÑÑнÑÑ Ð¾ÑкеÑÑÑаÑоÑов в Ñвободном доÑÑÑпе â Cadence Temporal. 2. РазÑабоÑка плана и поÑÑÑоение ÑобÑÑвенного генеÑаÑоÑа нагÑÑзки Ð´Ð»Ñ ÑеÑÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¿ÑоизводиÑелÑноÑÑи оÑкеÑÑÑаÑоÑа, базиÑÑÑÑегоÑÑ Ð½Ð° СУÐÐ FoundationDB. 3. ÐÑÑледование и анализ ÑезÑлÑÑаÑов ÑеÑÑиÑованиÑ. 4. ÐÑÑвление ÑÐ·ÐºÐ¸Ñ Ð¼ÐµÑÑ ÑабоÑÑ Ð¾ÑкеÑÑÑаÑоÑа и ÑазÑабоÑка ÑекомендованнÑÑ Ð¿Ð°ÑамеÑÑов ÑиÑÑем, пÑи коÑоÑÑÑ Ð¾ÑкеÑÑÑаÑÐ¾Ñ Ð±ÑÐ´ÐµÑ Ð´Ð°Ð²Ð°ÑÑ Ð¾Ð¿ÑималÑнÑе показаÑели пÑоизводиÑелÑноÑÑи. Ð Ñ Ð¾Ð´Ðµ ÑабоÑÑ Ð±Ñл ÑазÑабоÑан ÑобÑÑвеннÑй генеÑаÑÐ¾Ñ Ð½Ð°Ð³ÑÑзки, коÑоÑÑй позволил более ÑоÑно и гибко ÑеÑÑиÑоваÑÑ Ð¿ÑоизводиÑелÑноÑÑÑ ÑиÑÑемÑ. ÐÑли пÑÐ¾Ð²ÐµÐ´ÐµÐ½Ñ Ð¼Ð½Ð¾Ð³Ð¾ÑиÑленнÑе ÑеÑÑÑ, напÑавленнÑе на доказаÑелÑÑÑва ÑÑÑекÑивноÑÑи и маÑÑÑабиÑÑемоÑÑи ÑабоÑÑ Ð¾ÑкеÑÑÑаÑоÑа пÑи непÑекÑаÑаÑÑейÑÑ Ð½Ð°Ð³ÑÑзке. Ð ÑезÑлÑÑаÑе бÑли ÑобÑÐ°Ð½Ñ Ð¼ÐµÑÑики, оÑÑажаÑÑие поведение ÑиÑÑÐµÐ¼Ñ Ð¿Ñи конкÑеÑнÑÑ Ð¿Ð°ÑамеÑÑÐ°Ñ Ð·Ð°Ð³ÑÑзки и помогаÑÑие вÑÑвиÑÑ Ñзкие меÑÑа ÑабоÑÑ Ð¾ÑкеÑÑÑаÑоÑа Ñ Ð½Ð°Ð¿Ð¸Ñанием далÑнейÑÐ¸Ñ ÑекомендаÑий по Ð¸Ñ Ð¼Ð¾Ð´Ð¸ÑикаÑии и ÑлÑÑÑениÑ, коÑоÑÑе на Ð¼Ð¾Ð¼ÐµÐ½Ñ ÑдаÑи ÑабоÑÑ Ñже бÑли Ð²Ð²ÐµÐ´ÐµÐ½Ñ Ð² иÑÑледование и ÑабоÑÑ. This work is devoted to studying principles and approaches to load testing of web applications that use microservice architecture and the workflow of the orchestrator - a separate service that is responsible for coordinating and tracking other services in the system. The research set the following goals: 1. Research of the orchestrator working principles and their comparison with Cadence Temporal, one of the popular free-access orchestrators. 2. Developing a plan and building our own load generator to test the performance of the orchestrator based on the FoundationDB DBMS. 3. Research and analysis of the test results. 4. Identification of orchestrator performance bottlenecks and development of recommended system parameters, at which the orchestrator will give optimal performance. In the course of the work a proprietary load generator was developed, which allowed for more accurate and flexible testing of system performance. Numerous tests were conducted to prove the performance and scalability of the orchestrator under the incessant continuous load. As a result, several metrics were collected that were reflecting the behavior of the system under specific load parameters and that helped to identify bottlenecks in the orchestrator performance with writing further recommendations for modification and improvement of the service, which are already introduced in the research and development at the time. |
Databáze: | OpenAIRE |
Externí odkaz: |