Skip to content

Haskell multithreaded server built for the TCD distributed system course

License

Notifications You must be signed in to change notification settings

HugoDelval/distributed-system-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple multithreaded TCP server

The repository implements a simple TCP multithreaded server for the CS4032 Trinity course.

Dependencies

  • stack
  • haskell libs (cf multithreaded-server.cabal)
  • base
  • network
  • parallel-io
  • split
  • network-info
  • directory
  • iproute

Note : Everything is installed when running stack build (or when running ./compile.sh)

Run using stack

git clone https://github.com/HugoDelval/distributed-system-server
cd distributed-system-server
./compile.sh
./start.sh <PORT>

Run on OpenNebula using Docker + Docker-machine

docker pull hugodelval/server
docker run -i -w /app -p 0.0.0.0:8000:8000 --add-host dockerhost:`docker-machine ip test` hugodelval/server /usr/local/bin/multithreaded-server-exe 8000

Author

Hugo DELVAL - 16336620

About

Haskell multithreaded server built for the TCD distributed system course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published