Namma Yatri interview question

Code a forward proxy, when to use threads and when now. Search nearby drivers algorithm.