  A few potential IoT communication protocols at the application layer have
been proposed, including MQTT, CoAP and REST HTTP, with the latter being the
protocol of choice for software developers due to its compatibility with the
existing systems. We present a theoretical model of the expected buffer size on
the REST HTTP client buffer in IoT devices under lossy wireless conditions, and
validate the study experimentally. The results show that increasing the buffer
size in IoT devices does not always improve performance in lossy environments,
hence demonstrating the importance of benchmarking the buffer size in IoT
systems deploying REST HTTP.
