Загрузка...

Investigating Performance Bottlenecks in a Public API Using Artillery-Based Testing

ITT440 NETWORK PROGRAMMING INDIVIDUAL ASSIGNMENT (2022671538)

This video demonstrates my individual assignment for Parallel Programming (ITT440).

Project Title: Investigating Performance Bottlenecks in a Public API Using Artillery-Based Testing
Target API: https://jsonplaceholder.typicode.com/posts
Language: Python 3.10+

In this project, I investigate which Python execution technique performs best when sending a large number of real HTTP requests to a public API. The program runs three test types — Load, Stress, and Spike — across three different techniques:

✅asyncio (Concurrent) — single-threaded async I/O via event loop
✅ threading (Concurrent) — multi-threaded via ThreadPoolExecutor
✅ multiprocessing (Parallel) — multi-process via ProcessPoolExecutor, bypassing the GIL

Key Finding: asyncio outperformed both threading and multiprocessing in all 9 tests because the workload is I/O-bound. Multiprocessing is best reserved for CPU-heavy tasks.

🔗 GitHub Repository: https://github.com/Meeerow/Individual-Assignment

#PythonProgramming #ParallelProgramming #AsyncIO #Threading #Multiprocessing #ITT440 #APITesting #Artillery

Видео Investigating Performance Bottlenecks in a Public API Using Artillery-Based Testing канала Siti Nur Amirah
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять