Homework 2 forum

Support for parallel search queries

 
Nutzerbild von Elie Daou
Support for parallel search queries
von Elie Daou - Montag, 16. November 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.

profile
Re: Support for parallel search queries
von Kirill Nikitin - Montag, 16. November 2020, 23:35
 

Hi,

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.

Kirill