The purpose of this thesis was to help the company Medius AB with optimization of selected parts in an existing system to minimize the execution time by implementing multithreading. The idea was to manipulate the code so that calculations could be executed at the same time. The main work in this thesis consisted of three optimizations. The first one was to reconstruct a big “for-loop” so it would execute every loop's work in an own thread. The second optimization also was a reconstruct of a “for-loop” so it could execute the work in different threads. The third and last optimization consisted of reconstructing a stored procedure on the database, so different parts of it each could be executed in an own thread to create data at the same time. To implement the optimizations Visual Basic .NET and its support for multithreading and connection-pools was used. The result of the optimizations meant that one of the modules could be executed more efficiently and it was 12 % faster. The other modules execution time was more efficient by 25 % faster. The meanings and requirements for this thesis are fulfilled by now letting the system make use of its resources in a better way.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:liu-53468 |
Date | January 2009 |
Creators | Gustafsson, Daniel, Öberg, Christoffer |
Publisher | Linköpings universitet, Institutionen för datavetenskap, Linköpings universitet, Institutionen för datavetenskap |
Source Sets | DiVA Archive at Upsalla University |
Language | Swedish |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Page generated in 0.0022 seconds