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
Evaluating performance of a fault-tolerant system that implements replication and load balancing
Linköping University, Department of Computer and Information Science.
Linköping University, Department of Computer and Information Science.
2017 (English)Independent thesis Basic level (degree of Bachelor), 10,5 credits / 16 HE creditsStudent thesisAlternative title
En utvärdering av prestandan hos ett feltolerant system som implementerar replikering och lastbalansering (Swedish)
Abstract [en]

Companies and organizations increasingly depend on their computer systems to help them in their work. This means that the availability of these computer systems becomes even more important as organizations are increasingly dependent on it to function. Therefore, fault tolerance needs to be considered when designing a computer system. However, when implementing fault tolerance to increase the availability it may affect the performance of the system. This thesis describes an implementation of a system that provides fault tolerance against fail-stop faults and analyzes the performance. The system consist of a primary server and a backup server and each has a GO web server and a MySQL database installed. MySQL has a built-in functionality for replication that is used to replicate the data from the primary to the replica. Two different approaches for replication are used and compared in this thesis. The system also has a load balancing server with a program called HAProxy installed. The program is used to switch between servers in case of a failure and enables load balancing between the servers, although this setup only allows for read requests to be sent to the backup server. The measurements of the implemented system shows that enabling load balancing for read requests has little effect on lower the response time when the system is under low load. For 25 users the response time was just 5 ms faster when enabling load balancing. For 50 users however, the response time was 33 ms faster when enabling load balancing. The system was evaluated using measurements of the response time and the percentage of stale data under different network loads and different requests from the system. Two different methods of replication in MySQL: asynchronous and semisynchronous were tested to see how they affect the response time and the consistency of the system. The measurements show asynchronous replication has a lower response time, but semisynchronous replication has less stale data. This means that choosing between asynchronous or semisynchronous replication is a trade-off between choosing lower response time or choosing less stale data and less risk of losing data.

Place, publisher, year, edition, pages
2017. , 26 p.
National Category
Computer and Information Science
Identifiers
URN: urn:nbn:se:liu:diva-138124ISRN: LIU-IDA/LITH-EX-G--17/063--SEOAI: oai:DiVA.org:liu-138124DiVA: diva2:1107496
Subject / course
Information Technology
Presentation
2017-05-30, Linköping, 14:16 (Swedish)
Supervisors
Examiners
Available from: 2017-06-14 Created: 2017-06-09 Last updated: 2017-06-14Bibliographically approved

Open Access in DiVA

fulltext(972 kB)32 downloads
File information
File name FULLTEXT01.pdfFile size 972 kBChecksum SHA-512
34066b1c2e0f1accf39fed856cfc74d9a35f0ccc9712b6b0c086a543f4dbb4ec44597ad264053a59eaba1637e291ef8e292a013974f1fc1598225686e7ac7461
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Gustafsson, OskarHellenberg, Rickard
By organisation
Department of Computer and Information Science
Computer and Information Science

Search outside of DiVA

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