Change search
ReferencesLink to record
Permanent link

Direct link
Evaluation of using NoSQL databases in an event sourcing system
Linköping University, Department of Computer and Information Science, Database and information techniques.
2015 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

An event store is a database for storing events in an event sourcing system. Instead of storing the current state, a very common way to persist data, an event sourcing system captures all changes to an application state as a sequence of events. Usually the event store is a relational database. Relational databases have several drawbacks and therefore NoSQL databases have been developed. The purpose of this thesis is to explore the possibility of using a NoSQL database in an event sourcing system. We will see how data is stored in an event store and then evaluate di↵erent solutions to find a suitable database. The graph database Neo4j was selected to be further investigated and a Neo4j event store has been implemented. At last the implemented solution is evaluated against the existing event store that uses a relational database. The conclusion of this thesis is that event store data could easily be modeled in Neo4j but some queries became complex to implement. The performance tests showed us that the implemented event store had poorer performance than the existing one using a relational database.

Place, publisher, year, edition, pages
2015. , 49 p.
Keyword [en]
NoSQL, databases, event sourcing, event store
National Category
Computer Science
URN: urn:nbn:se:liu:diva-123193ISRN: LIU-IDA/LITH-EX-A--15/068--SEOAI: diva2:877307
External cooperation
Subject / course
Computer Engineering
2015-11-13, Muhammad al-Khwarizmi, Linköping, 15:15 (Swedish)
Available from: 2015-12-10 Created: 2015-12-06 Last updated: 2015-12-10Bibliographically approved

Open Access in DiVA

fulltext(1138 kB)121 downloads
File information
File name FULLTEXT01.pdfFile size 1138 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Rothsberg, Johan
By organisation
Database and information techniques
Computer Science

Search outside of DiVA

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

Total: 303 hits
ReferencesLink to record
Permanent link

Direct link