Optimizing LLM Integration Patterns in Enterprise Applications. A Comparative Study of REST, MCP, and Streaming Protocols
Loading...
Date
Authors
AKERMI, YAhia ABderaouf
Journal Title
Journal ISSN
Volume Title
Publisher
DOI
Abstract
Large Language Models (LLMs) have revolutionized natural language processing, enabling
a wide range of applications in enterprise environments. However, the integration of LLMs
into enterprise systems presents unique challenges, particularly in selecting the most efficient
communication protocol for deployment. This thesis investigates and compares three
integration patterns—REST APIs, Message Control Protocols (MCP), and Streaming Protocols—
focusing on their performance, scalability, and suitability for enterprise applications.
The study begins by exploring the architectural foundations of LLMs, including attention
mechanisms and transformer-based models, to establish a technical context. It then
evaluates the three integration patterns across key metrics such as latency, throughput, resource
utilization, and adaptability to real-time and batch processing scenarios. The analysis
is supported by experimental results derived from deploying LLMs in simulated enterprise
environments.
This thesis also examines the trade-offs between protocol simplicity, parallelization capabilities,
and real-time responsiveness, providing actionable insights for enterprise decisionmakers.
By synthesizing these findings, the research highlights best practices for optimizing
LLM integration and offers a roadmap for future developments in enterprise AI systems
Description
Supervisor : Pr. SERIAI Abdelhak-Djamel /Supervisor : Pr. AMAR BENSABER Djamel
