TCP UDP and RMI Performance Evaluation

22 Mar 2011 by

TCP UDP and RMI Throughput

TCP UDP and RMI Throughput

It is interesting to see the performance evaluation of TCP, UDP and RMI. This article shows the simple scenario to test their performance by looking at latency and throughput. The test result shows that RMI has poor performance compares to TCP and UDP. TCP and UDP has comparable result though UDP gains slightly higher than TCP.

From this work, I can draw conclusion that RMI is easy to implement the function based program but it is not good for intensive exchange packets. UDP and TCP are good for packet transmissions but they are hard to implement protocol. Though UDP has less overhead, it is not guarantee the packet delivery. At last, TCP is good for almost scenario with good administration.

Continue Reading »

6 responses so far

TCP Object Transmission in Java

07 Mar 2011 by

Marshaling or Serialization

Marshaling or Serialization

A special feature in UDP is multicast. In TCP, object transmission is its special feature. This feature enables programmers to create an instantiated object in the server and then marshalling before it is actually transmitted to client for execution.

The processes of object transmission are:

  • Marshalling object to be transmitted
  • Send marshalled object over the network
  • Unmarshalling object and the execute

What is marshalling?

Marshalling and Serialization can be used interchangeably. It is the process of squashing object into a standard format in order to store in a file or be transmitted over the network.

Continue Reading »

4 responses so far

TCP Programming with Java

04 Mar 2011 by

TCP Programming has been developed for the sake of reliability in data transmission. Unique feature of TCP is Acknowledgment scheme, Packet ordering and congestion control. These make TCP more popular in network transmission control protocol. Nowadays, the protocol dominant in the Internet is HTTP but be remembered that it relies on TCP architecture. There are several variant of TCP protocols that have been extensively researched. For example, TCP Tahoe, TCP Reno, TCP New Reno, TCP Westwood, TCP Vegas, etc. In contrast with UDP Programming, TCP is much easier.

Continue Reading »

4 responses so far