Stochastic lookups with several threading APIs