Modify get_records to accept collection name rather then collection object (prevent racing condition)
Reverse look-up keys and make lumi the primary key for file,lumi look-up
Add processing_time helper function
Use processing time instead of request time which is more accurate
Compare set of keys to avoid ordering problem
Increase max_pool_size
Add start_request with clause to ensure consistent reads (see pymongo driver)