Modified the way server handles write requests. On receiving update/delete, it simple queues them. A periodic timer is maintained on whose expiry, the server scans its work queue and tries to service pending requests. Also, all write requests are first written to persistent storage in mongoDB in order to prevent the server from losing them in case of outage. Their status is updated on their completion. The server needs to purge the pending requests from the mongoDB  periodically.