Click here to Skip to main content
15,886,919 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionFeature/Addon to get the (C#) CODE sorted? Pin
eclipse2k11-Dec-05 5:48
eclipse2k11-Dec-05 5:48 
QuestionDevelop COM add-ins for Outlook 2003 with Outlook 2002 Pin
cathignol1-Dec-05 1:47
cathignol1-Dec-05 1:47 
QuestionQuick .NET CF Question Pin
garbeechio29-Nov-05 12:03
garbeechio29-Nov-05 12:03 
QuestionSmartphone development - no milliseconds? Pin
Radoslav Bielik28-Nov-05 10:48
Radoslav Bielik28-Nov-05 10:48 
AnswerRe: Smartphone development - no milliseconds? Pin
Dave Kreskowiak30-Nov-05 5:15
mveDave Kreskowiak30-Nov-05 5:15 
GeneralRe: Smartphone development - no milliseconds? Pin
Radoslav Bielik30-Nov-05 6:09
Radoslav Bielik30-Nov-05 6:09 
GeneralRe: Smartphone development - no milliseconds? Pin
Dave Kreskowiak30-Nov-05 10:45
mveDave Kreskowiak30-Nov-05 10:45 
QuestionBest performance for connectionless communication Pin
User 12301628-Nov-05 10:32
User 12301628-Nov-05 10:32 
Hallo,

I'm working on some sort of server/client communication right now. To keep the server (a Windows service) as responsive as possible, I'm looking for a way of connectionless communication. There are four problems/requirements:

1.) All data has to arrive contemporary at the client, because it's used for a (almost) realtime graphical presentation (delay < 100ms).
2.) The data transferred from the server to the client consists of very small chunks (10 bytes + a one byte identifier) each, which obviously is the main problem. Unfortunately there is no (practical) way to group that data into larger packets.
3.) The amount of data can get very high at peak times (up to 5000 packets = 55000 Bytes a second).
4.) A reliable communication is not needed. It's ok if not all data arrives at the client as long as the paket loss doesn't get too high (again 1 packet/100ms minimum).

I've tried several solutions (please don't laugh) and measured the maximum speed, here are the results:

- Windows Message Queues (~20 KByte/s)
- Asynchronous Remoting calls (< 5 KByte/s)
- UdpClient class (~30 KByte/s)
- Self-made managed lower-level socket layer (~120 KByte/s)

As you can see the sockets solution fits my need speed-wise. Unfortunately it eats up 100% CPU power just for the communication which obviously isn't what I'm looking for.

I understand that the small packet size is my problem (sending packets of > 1000 bytes increases the speed enormously, but I can't do that => fixed third party interface). Is there any recommended solution for transporting a lot of packets but each with very small amounts of data? I can't find anything about that topic, so any help would be highly appreciated.

Thanks!

-- modified at 16:32 Monday 28th November, 2005
AnswerRe: Best performance for connectionless communication Pin
Ray Cassick1-Dec-05 11:51
Ray Cassick1-Dec-05 11:51 
GeneralRe: Best performance for connectionless communication Pin
User 1230165-Dec-05 5:39
User 1230165-Dec-05 5:39 
GeneralRe: Best performance for connectionless communication Pin
Dan Neely5-Dec-05 7:50
Dan Neely5-Dec-05 7:50 
GeneralRe: Best performance for connectionless communication Pin
User 1230165-Dec-05 21:12
User 1230165-Dec-05 21:12 
QuestionLoading DLL's from Network Pin
slanted28-Nov-05 2:03
slanted28-Nov-05 2:03 
AnswerRe: Loading DLL's from Network Pin
tarasn19-Dec-05 22:51
tarasn19-Dec-05 22:51 
QuestionHow do I recognize filechanges/fileadds in a dir/subdir .... Pin
MaWeRic27-Nov-05 22:54
MaWeRic27-Nov-05 22:54 
AnswerRe: How do I recognize filechanges/fileadds in a dir/subdir .... Pin
enjoycrack28-Nov-05 12:56
enjoycrack28-Nov-05 12:56 
Questionhow to edit FAT table? Pin
Veelone27-Nov-05 22:43
Veelone27-Nov-05 22:43 
AnswerRe: how to edit FAT table? Pin
Dave Kreskowiak28-Nov-05 5:14
mveDave Kreskowiak28-Nov-05 5:14 
Question.net 2.0 Pin
gadgallea27-Nov-05 22:01
gadgallea27-Nov-05 22:01 
AnswerRe: .net 2.0 Pin
André Ziegler27-Nov-05 23:03
André Ziegler27-Nov-05 23:03 
GeneralRe: .net 2.0 Pin
ricardojb30-Nov-05 10:52
ricardojb30-Nov-05 10:52 
AnswerRe: .net 2.0 Pin
tarasn19-Dec-05 22:08
tarasn19-Dec-05 22:08 
QuestionControl apperance in VS 2005 Pin
ON7AMI26-Nov-05 4:16
ON7AMI26-Nov-05 4:16 
AnswerRe: Control apperance in VS 2005 Pin
Drew McGhie6-Dec-05 5:42
Drew McGhie6-Dec-05 5:42 
GeneralRe: Control apperance in VS 2005 Pin
ON7AMI9-Dec-05 23:34
ON7AMI9-Dec-05 23:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.