What are the merits if any in using UDP instead of TCP when transferring large objects across the network?

1)Write a 100- to 200-word response that addresses the following:

What are the merits if any in using UDP instead of TCP when transferring large objects across the network?

 

2)Write a 100- to 200-word response that addresses the following:

 

Where should one compress data: at the sensor, server, or end user? Why? What techniques would you consider?