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
A Comprehensive Evaluation of Cloud Storage Access in Flutter Applications – Direct and API Based
Jönköping University, School of Engineering, JTH, Department of Computer Science and Informatics.
Jönköping University, School of Engineering, JTH, Department of Computer Science and Informatics.
2025 (English)Independent thesis Basic level (university diploma), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Efficient access to cloud hosted data is an important factor for modern cross-platform applications. Developers working with Flutter must decide between different data retrieval strategies, these include direct database connections and API based intermediaries. However, existing studies often overlook key factors such as PaaS environments, network variability, cross-platform feasibility, and scalability under load. This thesis offers an evaluation of directly connecting to the Azure SQL database through the server, versus a RESTful ASP.NET Core API in a Flutter assessment app.

Two application versions were created, one issuing SQL commands directly to the server using an MSSQL library, the other routing requests through an API; both were then subjected to tests simulating diverse network conditions and concurrent user activity. The investigation also examined platform compatibility for direct access and reviewed caching strategies from theliterature to understand their effects on performance and scalability. The findings highlight that secure direct connections from Flutter to the Azure SQL database are unreliable on the Web and Android versions of the app, effectively requiring an API layer to meet security and compatibility demands. However, direct access was successfully established on Windows, where all subsequent performance and scalability tests were conducted. Then a review of the literature examined caching strategies and their impact on performance and scalability.

Results revealed that although direct access delivers faster responses in single-user, ideal network scenarios, API mediated interactions maintain consistent performance as user loadgrows and allow for centralized caching to reduce backend load. Both methods slow down inpoor networks, but the additional network hop of the API may contribute to a larger increase in absolute latency. Overall, while direct database connections can offer latency advantages in isolated cases, the API-based approach emerges as the more scalable and practical solution for Flutter apps interfacing with cloud databases. Its strengths in managing concurrent requests, conserving client resources, simplifying maintenance, and ensuring platform-agnostic security support a clearer path for developers aiming to build scalable applications.

Place, publisher, year, edition, pages
2025. , p. 46
Keywords [en]
Flutter, cloud database, Azure SQL, REST API, performance evaluation, scalability, network variability, cross-platform compatibility.
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:hj:diva-69211OAI: oai:DiVA.org:hj-69211DiVA, id: diva2:1981755
External cooperation
Atea Sverige AB
Subject / course
JTH, Computer Engineering
Supervisors
Examiners
Available from: 2025-07-30 Created: 2025-07-05 Last updated: 2025-10-13Bibliographically approved

Open Access in DiVA

FinalReport(8484 kB)466 downloads
File information
File name FULLTEXT01.pdfFile size 8484 kBChecksum SHA-512
7aecde7c1f72e6d7a024c71d7639e6afcf02fe74f5d14cfae2a0f7bf3ce2368f99977f38d379c00849fd04a509868539fa31da8b9ad4ce5b31aa1a2bcb7ebf6a
Type fulltextMimetype application/pdf

By organisation
JTH, Department of Computer Science and Informatics
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 468 downloads
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: 650 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