![]() |
|
|||||||
| Register | FAQ | The Twelve Commandments | Members List | Find the Best VPN | Today's Posts | Search |
| General Gnutella Development Discussion For general discussion about Gnutella development. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
What is the best way to create a gnutella client that use least threads as possible ex.(blocking, non-blocking, async, multiplexing)?
I creating a client in csharp. I need alot of feedback about your opinions so I know which to go with this.
|
|
#2
|
||||
|
||||
|
That's not that easy to answer. I know that Phex uses nonblocking IO.
Maybe you could begin by posting your thoughts about the different methods.
__________________
-> put this banner into your own signature! <- -- Erst im Spiel lebt der Mensch. Nur ludantaj homoj vivas. GnuFU.net - Gnutella For Users Draketo.de - Shortstories, Poems, Music and strange Ideas. |
|
#3
|
||||
|
||||
|
Why I ask? Dealing with the UltraPeer system. I don't want to keep starting new threads for every connections that I get when my client become an ultrapeer or not. So I know that non blocking and multiplexing is better, but with this I have to code alot more for this. And other words too many threads will slow your down your client. I want my client to save on cpu, memory, and etc. as much as possible.
|
|
#4
|
||||
|
||||
|
So you want the least thread intensive way of keeping the connections?
In that case, you could ask Gregor from Phex. He's implemented Nonblocking IO in Phex to archieve that goal, and he had a few more longterm ideas. Just post your question to the Phex Development board, so he sees it: - Development Open Discussion - Gnutella Forums But my question was not "why?" - I asked about your thoughts on the different techniques.
__________________
-> put this banner into your own signature! <- -- Erst im Spiel lebt der Mensch. Nur ludantaj homoj vivas. GnuFU.net - Gnutella For Users Draketo.de - Shortstories, Poems, Music and strange Ideas. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why do you keep blocking my IP's? | essog | Connection Problems | 0 | October 12th, 2007 06:40 AM |
| blocking ip's | coupsta | Open Discussion topics | 3 | December 14th, 2005 12:54 PM |
| ISP Blocking HELP | lilthugz | Download/Upload Problems | 5 | July 24th, 2005 12:59 PM |
| blocking ip? | timski | General Mac OSX Support | 2 | June 9th, 2005 03:22 PM |
| IP Blocking | antileech | Site Feedback | 2 | May 7th, 2001 07:35 PM |