When the spwan is false then only 1 thread is handling the messages. The MMObjectBuilder.nodeRemoteChanged() only clears the caches which is fast enough for one thread.
2 improvements in the code would be less resource intensive. The first is a thread pool and the other is sending multiple messages in one packet. Nico > One question: what happens if you set spawn to false? Dous it > use one thread or is there a pool? > ernst > > > -----Oorspronkelijk bericht----- > > Van: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Namens Nico Klasens > > Verzonden: maandag 4 oktober 2004 21:19 > > Aan: [EMAIL PROTECTED] > > Onderwerp: HACK: multicast / unicast 2 > > > > > > Hi, > > > > I made enough fuss about my previous call. I heard from some > > directions that people wamt the code so here is the resubmission. > > Changes with the previous > > one: > > 1 configurable threadspawning (Default is true) > > 2 Removed "MMBase" from some classnames. > > > > Nico > > > > START: 2004-10-04 > > END: 2004-10-08 > > > > [_] +1 (YES 1.8) > > [_] +1 (YES 1.7 and 1.8) > > [_] +0 (ABSTAIN ) > > [_] -1 (NO), because : > > [_] VETO, because: > > >
