1,234
edits
Changes
→Why this assignment is stupid
= Why this assignment is stupid =
You're likely not ready for real load balancing on AWS, this assignment is the most I figured is reasonable to ask an average to do. So this assignment has some significant problems:
# Your website will be down for 25% of the requests for each server that's offline, since your load balancer doesn't know whether the slaves are alive or not.
# The storage is only synced in the worst case every 5 minutes (10 if the change is on a slave), that's unacceptably slow for current web applications.
# The two-way rsync syncing you set up won't syncronize deleting files.
# This sort of load balancing won't work with Nextcloud or most other non-trivial web applications that use cookies.
We might fix some of these problems later in OPS345.