On Monday 07 January 2002 17:26, Oskar wrote: > ... > - We want to avoid rejecting incoming connections whenever possible, > because in 0.4 this leads us fail to get replies as often it leads us to > accept less queries. Thus, if we get close to running out of threads > entirely, we should start dropping existing connections to make way for > new ones.
What if no connections are idle? > I think now that the whole pruning algorithm is unenecessary, > this should simply be done by a one for one system. It seems logical to > me to that the connection that we should drop should the least recently > used one, but GJ believes this is bad through some arguments about > attackers who cannot mount real attacks that make no sense to me, and if > it matters to others then a random currently idle connection probably > works as well. I am coming around to your point of view because of the cost of the constantly re-establishing connections from aggressive nodes. If you want to go with the LRU algorithm that's fine with me. Are you planning on making the changes to the OCM? It would be good to to fix the connection issue before Tavin's DS changes land. That way we are not debugging both at the same time. --gj -- Freesites (0.3) freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage// (0.4) freenet:SSK at npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage// _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
