Homework 2 forum

Support for parallel search queries

Avatar Elie Daou
Support for parallel search queries
par Elie Daou, lundi, 16 novembre 2020, 17:11

Are we supposed to support running multiple search queries in parallel on a single gossiper? 

I'm asking mostly because of the 0 budget threshold implementation. Since SearchReply doesn't hold any information on which request it is for it becomes nearly impossible to keep a state of how many complete file we received for a specific search request especially if we might have multiple requests running at the same time.

Re: Support for parallel search queries
par Kirill Nikitin, lundi, 16 novembre 2020, 23:35


Yes, this part is a bit ambiguous. From our side, it is ok if you count the same search reply in all the outstanding searches. In other words, if you receive a search reply that can correspond to more than one ongoing search, count it as a match in all of them.