Back to search

University of North Texas

Enhancing Api Gateway Performance And Security In Event Driven Architectures

Abstract

dc:description

Modern event-driven microservice systems depend on API gateways that handle large volumes of heterogeneous requests. The gateway directly influences latency, throughput, and reliability, yet traditional designs rely on static configurations that cannot adapt to dynamic workloads. This dissertation presents a performance- and security-aware gateway architecture built on three coordinated components. First, a two-lane scheduling model isolates high-priority events from background traffic to protect latency-sensitive requests. Second, an adaptive event processing mechanism applies reinforcement learning, using a Proximal Policy Optimization (PPO) controller that observes real-time gateway metrics such as arrival rate, queue depth, and resource utilization, and adjusts batch size and dispatch interval to balance latency and throughput. Third, a lightweight anomaly detection layer operates on gateway-visible metadata features to identify abnormal or malicious traffic in real time. It uses inexpensive attributes such as payload size, request rate, endpoint type, and IP reputation to detect deviations without deep inspection. The design minimizes computational overhead and supports staged mitigation, allowing the gateway to slow, isolate, or block suspicious requests before they reach backend services. The system is implemented and evaluated under realistic workloads. Results show that the PPO-based controller improves latency stability and resource efficiency under bursty conditions, while the detection layer maintains high accuracy and a low false-positive rate during live operation. Together, these components form a unified and explainable framework that enhances responsiveness, throughput, and resilience in event-driven microservices, providing a deployable foundation for intelligent API gateway management.

Degree

thesis:*
Grantor dc:publisher
University of North Texas
Year dc:date
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ghobadi, Mohammadmahdi
Contributors dc:contributor
  • Yuan, Jing
  • Bryce, Renee C.
  • Hochstetler, Jacob
  • Qiu, Chenxi

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • Public
  • Ghobadi, Mohammadmahdi
  • Copyright
  • Copyright is held by the author, unless otherwise noted. All rights Reserved.
Language dc:language
English

Identifiers

dc:identifier.*
Identifier
local-cont-no: submission_4581
ark: ark:/67531/metadc2566458

Chain of custody

source
Harvested from
University of North Texas
Base URL
digital.library.unt.edu/oai/
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Ghobadi, Mohammadmahdi. Enhancing Api Gateway Performance And Security In Event Driven Architectures. University of North Texas, 2025. https://digital.library.unt.edu/ark:/67531/metadc2566458/