Search Typeahead How do we handle the case where our application server dies?


#1

Q: How do we handle the case where our application server dies?


#2

Might be the case for a messaging system like Redis queues or Rabbit MQ: load balanced frontend server places a query into a queue with a special tag, API server fetches a task and processes it and places a response into another queue. Then frontend server responds with a result (optionally is frontend server dies - client can request a reply by tag)