Skip to content

This is a implementation of an elastic cluster of web servers that receive a post request with a single parameter, a semiprime that is going to be factorized and replied with the request back to whoever made the request.

License

Notifications You must be signed in to change notification settings

carlosfaria94/CloudPrime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudPrime

This is a implementation of an elastic cluster of web servers that receive a post request with a single parameter, a semiprime that is going to be factorized and replied with the request back to whoever made the request.

Our main goals were to make sure that the workers were not overwhelmed with requests, therefore a good scheduling and scaling algorithm were necessary to ensure that and provide a reasonable client experience. Our other main goal was not to lose any request, therefore making the cluster fault-tolerant.

More detailed information in Project Report.

WebServer execution:

export _JAVA_OPTIONS="-XX:-UseSplitVerifier"

bash compile.sh

LoadBalancer execution:

javac *.java & java LoadBalancer

Do a request with this structure:

http://Load_Balancer_Public_IP:8000/f.html/n?=Intended_Number

Contributions

NOTE: This project is a culmination of work of the following members:

About

This is a implementation of an elastic cluster of web servers that receive a post request with a single parameter, a semiprime that is going to be factorized and replied with the request back to whoever made the request.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages