Ladynobug

In the case of HTTP, before a client and server can exchange an HTTP request/response, they must establish a TCP connection first. Therefore, HTTP relies on the TCP standard in order to successfully do its job.

Different Layer

HTTP is in the Application layer of the Internet protocol suite model and in the Session Layer of the OSI Model.

Transmission Control Protocol (TCP) In terms of the OSI model, TCP is a transport-layer protocol.

Websocket

WebSocket is distinct from HTTP. Both protocols are located at layer 7 in the OSI model and depend on TCP at layer 4. Although they are different, RFC 6455 states that WebSocket “is designed to work over HTTP ports 443 and 80 as well as to support HTTP proxies and intermediaries”, thus making it compatible with HTTP.

--

--

Task queues receive tasks and their related data, run them, then deliver their results. They can support scheduling and can be used to run computationally-intensive jobs in the background.

Celery has support for scheduling and primarily has python support.

Usually, it uses celery task + queue (e.g. Redis/Rabbitmq/SQS etc.), and the queue can be a priority queue as well, so not strictly FIFO

--

--

Ladynobug

Ladynobug

A growing software engineer. An aspiring entrepreneur. A curious life learner