Lukas Palmer
Lukas Palmer

Reputation: 488

REST API latency on LAN

I'm designing a mobile application that communicates with a laptop over LAN where minimal latency is critical, and I'd like to potentially have the host laptop receive information through a RESTful service. Is there any solid case for using lower-level communication like TCP to reduce delays?

Upvotes: 0

Views: 550

Answers (1)

tutmosis
tutmosis

Reputation: 48

As I understand the RESTful service is based on HTTP protocol that runs over TCP/IP if you need low latency you could to use UDP protocol, but should keep in mind that you can loss some packages.

Upvotes: 1

Related Questions