What is the fastest way to communicate through a TCP/IP network?

  5 posts   Feedicon  
Replies: 4 - Last Post: October 11, 2008 16:44
by: Hildeberto Mendonca
« Older Topic » Newer Topic
showing 1 - 5 of 5
 
Posted: October 05, 2008 21:57 by Hildeberto Mendonca
Currently, we are using sockets to make two or more applications interchange data. Is a socket connection the fastest way possible to transfer data on a TCP/IP network? We need your opinion.
 
Posted: October 07, 2008 02:21 by silveiraneto
If you really need to use TCP/IP you can create your own protocol over a UDP socket and create your own algorithm for reliability, based on your own needs.
Another way is to have a socket over UDP and another over TCP just for control and some level of reliability. Is a solution I see them using in a lot of protocols.
 
Posted: October 07, 2008 13:53 by Hildeberto Mendonca
Hi Silveira,

thanks for your contribution. I will consider it during the evaluation. The TCP/IP is a natural choice because I don't need to implement a form to guarantee the consistency of data. I agree about the flexibility of UDP, but I don't know how long an customization will take.

I'm planning to describe the evolution of this feature through this forum topic.

 
Posted: October 11, 2008 14:42 by Giuseppe Guerrasio
You can use UDP, like TCP (+/-) but without integrity of Data Smile
 
Posted: October 11, 2008 16:44 by Hildeberto Mendonca
Yeah. I agree that UDP is faster, but in the context of this project we do need integrity of data. The good thing about TCP/IP connection is that we can connect new modalities dynamically. But I still wondering if we really need TCP/IP. Why not put everything running locally?

Last August we realized that signal processing is a heavy work to do, that is the reason why we thought about to divide the work between machines and share data through the network. But we didn't actually test it in only one machine.

Anyway, a server is needed to support heavy analysis. Next week, I will upload the server code to the SVN repository.

Thank you for sharing your thoughts!
Replies: 4 - Last Post: October 11, 2008 16:44
by: Hildeberto Mendonca
« Older Topic » Newer Topic
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close