Question

In: Computer Science

1. Consider running real-time traffic, like VoIP, over a TCP or UDP socket. Why might you...

1. Consider running real-time traffic, like VoIP, over a TCP or UDP socket. Why might you prefer to run such an application using a UDP transport layer?

2. Consider running real-time traffic, like VoIP, over a TCP or UDP socket. Suppose you chose to use TCP for your application; what would you need to do to ensure that the robust transport algorithm does not harm real-time performance?

Solutions

Expert Solution

VoIP is a technology that allows us to make voice calls using internet in place of regular analog telephone lines. It converts the sender's voice into a digital signal that travels over the internet. Before reaching the receiver's phone which acts as the destination, the digital signal gets converted to a telephone signal.

1 )TCP is a reliable connection set up which sends each packet of data or voice from source and waits for its acknowledgement from the destination point. If no acknowledgement is received, or any error suspected, it resends the packet again. This process causes delay t transmission process. Whereas UDP is a process where packets are send without waiting for acknowledgements and cannot detect error hence no delays in retransmission of packets occurs. UDP is faster and is concerned in keeping the flow of data packets.

2) If TCP is used for the application, a LAN environment can be used to overcome the problem of delay, which will not harm the real- time performance. TCP does a registration o connect with the receiver before sending the packets and keeps the connection until all the packets are send. Eg. Junction network is used to build a connection between the two parties.


Related Solutions

Consider real time process for the following 3 process with the period and running time below:...
Consider real time process for the following 3 process with the period and running time below: Process Period Running time 1 80 40 2 60 25 3 39 15 Show that Rate Monotonic Scheduling will fail to schedule the 3 processes to satisfy their requirements. b. Suppose you can change the period that process 1 will take to run. What is the minimum value such that Rate Monotonic Scheduling will work? Explain your answer
. If population density is rising over time, then why might it be possible to have...
. If population density is rising over time, then why might it be possible to have decreasing geographic mobility but increasing occupational mobility?
Consider your current position, or consider a job that you might like to have in the...
Consider your current position, or consider a job that you might like to have in the future. Describe how budgeting might affect you in that role.
why might you be interested in per capita real GDP rather than real GDP? and why...
why might you be interested in per capita real GDP rather than real GDP? and why might you be interested in real GDP rather than per capita real gdp?
For this discussion, imagine you are running your own company. Consider how and why you would...
For this discussion, imagine you are running your own company. Consider how and why you would communicate your Corporate Social Responsibility (CSR) strategy with employees and with external stakeholders.
Discuss why the stocks of small firms might outperform large firms over long periods of time?...
Discuss why the stocks of small firms might outperform large firms over long periods of time? Will be true over short periods of time, too?
1. Explain why you can maintain contraction of the hamstring muscles over time. 2. Explain why...
1. Explain why you can maintain contraction of the hamstring muscles over time. 2. Explain why you can sustain the same contraction with a 5-lb weight attached to the ankle. 3. Explain why the hamstring muscles fatigue faster with the 5-lb ankle weight. 4. State the order of recruitment of muscle fiber types.
Why is the real interest parity condition more likely to hold true over long time periods...
Why is the real interest parity condition more likely to hold true over long time periods that over short time periods?
Imagine you were a physicist in the time of Faraday, Lenz, and Ampere. Why might you...
Imagine you were a physicist in the time of Faraday, Lenz, and Ampere. Why might you conclude that electricity and magnetism were in fact two aspects of the same phenomenon?
Suppose that exchange rates are not constant over time. How would you modify the real interest...
Suppose that exchange rates are not constant over time. How would you modify the real interest rate parity equation between Canada and the US to cancel investment arbitrage opportunities?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT