Advertisement
ivandrofly

online voting problem

Jun 22nd, 2019
539
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. The database-server is connected to 2 WebHosts, and 1 LoadBalancer that supports a country-wide election based application, where
  2. users can vote on candidates via internet.
  3.  
  4. 1. There are 5 candidates to vote and a total of 100000 voting users.
  5. 2. The database can only hold 1 write concurrently and does not support transactions. If
  6. this value is exceeded, the database responds immediately with an error code=68282.
  7. 3. When a user votes it must have an immediate response saying that the vote was
  8. accepted.
  9. 4. There may be 100+ users voting at the same time
  10.  
  11. Problem:
  12. The client is complaining that his users are receiving an error code=68282 while trying to vote.
  13. Elaborate a ​detailed ​solution ​without changing the underlying database​ that can sustain the
  14. demanded load without returning errors to users.
  15.  
  16. DIAGRAM https://ibb.co/M9fKZ9D
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement