Remote access of stowage planning functions parallel & distribution
Hong, Yun Ting
Date of Issue2017
School of Computer Science and Engineering
Remote access for stowage planning is used for shipping company to provide more flexibility for ground workers in the operation site to input their requests at different computers rather than having only 1 local computer able to access the system/application. However, with multiple computers interacting with the system/application, connection becomes a problem whereby multiple users will be accessing the system/application simultaneously and concurrently which could potentially slow down the server and might result in slow response from the server. One of the ways to reduce such heavy web traffic is to distribute the workload. By implementing a load balancer, web traffic is distributed across all the available servers which is running system/application. Backend should be able to handle multiple requests as well. Multiple clients’ request will be translated into threads and execute the behind-code process. In a typical java application, threads are normally served one by one. An improvement is need to handle large number of requests and thus, multithreading is introduced, along with 3 multithreading algorithms for comparison: (1) Default Multithreading, (2) Round-Robin Scheduling Algorithm, (3) Preemptive Priority Scheduling Algorithm. The usage of Web socket is implemented to enhance the connection between the client-side end and the server-side end. The use of web socket is to be able to push information to the client side at any point of time, such as letting operation know which vessel is full or empty. An automate testing framework is used to evaluate the functional performance of this application and load testing framework is used to evaluate the server performance in handling heavy web traffic requests.
DRNTU::Engineering::Computer science and engineering::Computer systems organization::Computer-communication networks
Final Year Project (FYP)
Nanyang Technological University