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
Network Sockets, Threading or select for multiple concurrent connections
Blekinge Institute of Technology, School of Engineering, Department of Interaction and System Design.
2008 (English)Independent thesis Basic level (degree of Bachelor)Student thesis
Abstract [en]

The purpose of the thesis is to present a foundation for selecting an appropriate model while building a concurrent network server, focusing on a comparison between a select() based server and one thread for each connection. The test conducted herein is based two echo servers ( the message sent is echoed back to the sender ) and the time they take to serve a number of clients. The programs written for it are run on both Windows and Linux to show if the choice of platform affects the methods efficiency. Also looking at the return time of select() when we have a number of sockets, as well the time it takes to create a set number of threads. The conclusion drawn in this thesis is that for up to 512 sockets there is really no significant difference in the time it takes for the test program to return, this was true for both the Windows and the Linux test. Note however that the threading implementation requires much more memory than the select based one. So in the end it is basically up to personal preferences.

Place, publisher, year, edition, pages
2008. , p. 25
Keywords [en]
Network, Socket, Select, Threads
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:bth-5501Local ID: oai:bth.se:arkivex68EB576AFCDCA17DC125745F004057E3OAI: oai:DiVA.org:bth-5501DiVA, id: diva2:832884
Uppsok
Technology
Supervisors
Note
E-Mail: Nicklas.Franzen@gmail.com Mobile: 0703-506904Available from: 2015-04-22 Created: 2008-06-05 Last updated: 2018-01-11Bibliographically approved

Open Access in DiVA

fulltext(290 kB)187 downloads
File information
File name FULLTEXT01.pdfFile size 290 kBChecksum SHA-512
17b9b2d58c3e0bb9d57e5d68942af87dfad58719252efdda50ca9c47922710e3303d49c58be861c4d770dd11a4a437bcc54bfaa9e017ed2c602e4b4ea687c87c
Type fulltextMimetype application/pdf

By organisation
Department of Interaction and System Design
Computer Sciences

Search outside of DiVA

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