kth.sePublications
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
Prestandaanalys av meddelandesystem och databaser för en patientjournal
KTH, School of Engineering Sciences in Chemistry, Biotechnology and Health (CBH), Biomedical Engineering and Health Systems, Health Informatics and Logistics.
KTH, School of Engineering Sciences in Chemistry, Biotechnology and Health (CBH), Biomedical Engineering and Health Systems, Health Informatics and Logistics.
2024 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Performance Analysis of Messaging Systems and Databases for a patient record (English)
Abstract [sv]

Denna rapport undersöker prestandan av olika meddelandesystem och databaserför en patientjournalapplikation, med fokus på meddelandesystemen ApacheKafka och Redis i kombination med databaserna MongoDB och EventstoreDB.Syftet är att analysera och jämföra systemens prestanda vid hantering avpatientdata, vilket är kritiskt för att säkerställa effektivitet och datatillgänglighet.Event sourcing är en systemarkitektur där alla händelser som påverkar systemetstillstånd lagras vilket möjliggör återskapning av tidigare systemtillstånd. Detta ärviktigt inom sjukvården för att säkerställa korrekta och spårbara patientjournaler.För att ta reda på vilken kombination av databas och meddelandesystem som vareffektivast användes prestandatester för att mäta latens, throughput ochåterskapningshastighet. Testerna visar att MongoDB är bäst för grundläggandefunktioner medan EventstoreDB är överlägset för event sourcing funktionalitet.Slutsatsen för vad som bör användas varierar utifrån önskvärda egenskaper, för enpatientjournal presterar kombinationen av Apache Kafka och EventstoreDB bäst.

Abstract [en]

This report examines the performance of various combinations of messagingqueues and databases for a patient record application, focusing on the messagingqueues Apache Kafka and Redis in combination with the databases MongoDB andEventstoreDB. The purpose is to analyze and compare the performance of thesecombinations in handling patient data, which is critical for ensuring efficiency anddata availability. Event sourcing is a system architecture where all events affectingthe system's state are stored, allowing for previous system states to be recreatedwhen desired. This is important in healthcare to ensure accurate and traceablepatient records. Performance tests were conducted to determine the most effectivecombination of database and messaging queue by measuring latency, throughput,and the time it takes to recreate any given state. The tests show that MongoDB isbest for basic functions, while EventstoreDB excels in event sourcing functionality.The conclusion on what combination should be used varies based on desiredproperties. For a patient record, the combination of Apache Kafka andEventstoreDB performs best. 

Place, publisher, year, edition, pages
2024. , p. 50
Series
TRITA-CBH-GRU ; 2024:326
Keywords [en]
Event Sourcing, Messaging queue, Database, Performance, Apache Kafka, Apache Redis, MongoDB, EventstoreDB
Keywords [sv]
Event Sourcing, Meddelandekö, Databas, Prestanda, Apache Kafka, Apache Redis, MongoDB, EventstoreDB
National Category
Computer Systems
Identifiers
URN: urn:nbn:se:kth:diva-354053OAI: oai:DiVA.org:kth-354053DiVA, id: diva2:1901315
Subject / course
Computer and Systems Sciences
Educational program
Bachelor of Science in Engineering - Computer Engineering
Supervisors
Examiners
Available from: 2024-09-27 Created: 2024-09-26 Last updated: 2024-09-27Bibliographically approved

Open Access in DiVA

fulltext(698 kB)54 downloads
File information
File name FULLTEXT01.pdfFile size 698 kBChecksum SHA-512
4ebed5292bd516c3af04b6ec378c2bbc46ef1908ee52fe13aa6580a42c3c3fe837ce643e3cd63f5ddf12234b804c99c85764bd9d236deef977f7640daac00388
Type fulltextMimetype application/pdf

By organisation
Health Informatics and Logistics
Computer Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 54 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: 103 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