An Evaluation of Spring WebFlux: With focus on built in SQL features
2020 (English)Independent thesis Advanced level (professional degree), 20 credits / 30 HE credits
Student thesis
Abstract [en]
In today’s society the need for more hardware efficient software since some people think that the doubling of computer power for the same price that Moore’s law predicted is no more. Reactive programming can be a
step in the right direction, this has led to an increase in interest in reactive programming. This object of this thesis is to evaluate the possibility of using reactive programming and R2DBC in Java to communicate with a relation database. This has been done by creating two Spring applications
one using the standards JDBC and servlet stack and one using R2DBC and the reactive stack. Then connecting them to a MySQL database and selecting and inserting values in to and from it and measuring the CPU usage, memory usage and execution time. In addition to this the possibilities to handle BLOBs in a good enough way were researched. The study shows that there are both advantages and disadvantages with using R2DBC it has basic support and it is based on good idea but at the time of this thesis it still needs more development before it can be used fully.
Place, publisher, year, edition, pages
2020. , p. 60
Keywords [en]
Reactive programming, SQL, database, Java, Spring, JDBC, R2DBC
National Category
Computer Systems
Identifiers
URN: urn:nbn:se:miun:diva-39301Local ID: DT-V20-A2-002OAI: oai:DiVA.org:miun-39301DiVA, id: diva2:1445480
Subject / course
Computer Engineering DT1
Educational program
Master of Science in Engineering - Computer Engineering TDTEA 300 higher education credits
Supervisors
Examiners
2020-06-232020-06-232025-09-25Bibliographically approved