Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
API Latency and Frontend Performancein Headless E-Commerce: An Empirical Study of Response Time Thresholds: Measuring What Standard Metrics Miss: API Latency in Production Headless Systems
Blekinge Institute of Technology, Faculty of Computing, Department of Software Engineering.
2026 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Background. Headless architectures, where the frontend and backend are decoupled and communicate through chains of API calls, are becoming more common in modern digital commerce. Despite this adoption, it remains unclear how API latency in these systems translates into user-perceived frontend performance, and organizations may not have formally defined performance thresholds to evaluate against. Standardized frontend metrics such as Largest Contentful Paint (LCP) and Interaction to NextPaint (INP) are often used as metrics for user experience, but their ability to capture latency in headless systems has not been empirically examined.

Objectives. We aim to empirically investigate how API response times affect frontend performance metrics in a production headless e-commerce system, and to demonstrate a repeatable method for identifying performance thresholds in the absence of pre-defined Service Level Agreements (SLAs).

Methods. We conduct a single-case study of a production headless e-commerce system, measuring API response times and standardized frontend performance metrics across baseline and simulated network conditions. User behavior context is collected from production analytics data.

Results. Frontend metrics score well under optimal conditions but degrade under different network conditions, while interaction responsiveness remains unaffected. A critical transactional endpoint consistently introduces a multi-second delay that neither metric captures, and this delay proves independent of network conditions, identifying it as a server-side bottleneck.

Conclusions. Standardized frontend metrics alone are insufficient for estimating performance in headless transactional flows. With 43% of users on mobile devices, Fast 4G represents a realistic everyday condition for a large share of users. Yet LCP already falls outside the good threshold under those conditions. The measurement approach demonstrated in this study, baseline measurement, standardized network condition testing, and threshold identification through metric boundary crossings, offers a repeatable method for any organization building headless systems without formally defined performance standards.

Place, publisher, year, edition, pages
2026. , p. 40
Keywords [en]
API Performance, headless architecture, API latency, frontend performance, Core Web Vitals, response time thresholds, performance evaluation, e-commerce
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:bth-29721OAI: oai:DiVA.org:bth-29721DiVA, id: diva2:2068200
External cooperation
Telenor Karlskrona
Subject / course
PA1445 Bachelor's Thesis in Software Engineering
Educational program
PAGWE Web Programming
Supervisors
Examiners
Available from: 2026-06-11 Created: 2026-06-09 Last updated: 2026-06-11Bibliographically approved

Open Access in DiVA

API Latency and Frontend Performance in Headless E-Commerce(437 kB)35 downloads
File information
File name FULLTEXT01.pdfFile size 437 kBChecksum SHA-512
d2856d249dbc88574824a5f2eec128d2cfd9be94ecbe802d51da0097c7c00594b8e290e4dd69b8952fb3dab2fd0d3a437c439e5561a5dc8bde1456b57559f6f2
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Landefjäll, Jacob
By organisation
Department of Software Engineering
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 37 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf