---
title: "Discussion on \"HTTP on TCP: Stateless Protocol on the Internet's Stateful Network\" | Hashnode"
description: "Discussion on \"HTTP on TCP: Stateless Protocol on the Internet's Stateful Network\". How HTTP Stateless Protocol is built on the TCP Stateful protocol"
url: "https://hashnode.com/posts/http-on-tcp-stateless-protocol-on-the-internets-stateful-network/630c64a843d7308e3e3258e0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [HTTP on TCP: Stateless Protocol on the Internet's Stateful Network](https://blog.sofwancoder.com/http-on-tcp-stateless-protocol-on-the-internets-stateful-network?utm_source=hashnode&utm_medium=feed)

How HTTP Stateless Protocol is built on the TCP Stateful protocol

Aug 29, 2022 · 6 min read · blog.sofwancoder.com  
Updated Dec 26, 2022  
Read the article

-   [#networking](https://hashnode.com/tag/networking)
-   [#tcp](https://hashnode.com/tag/tcp)
-   [#http](https://hashnode.com/tag/http)
-   [#backend](https://hashnode.com/tag/backend)
-   [#engineering](https://hashnode.com/tag/engineering)

## Written by

[Sofwan A. Lawal](https://hashnode.com/@sofwancoder)

@sofwancoder · Ilorin, Kwara, Nigeria

  
[View profile](https://hashnode.com/@sofwancoder)

Senior Software Engineer @ Lifebit.ai

I am a seasoned Software Engineer with over 8 years of diverse experience, primarily focusing on Backend Software Engineering and Complex systems.

## Responses 2

Markdown supported · ⌘↵ to post

[Ajay Chandrasekar](https://hashnode.com/@Ciscoguy)

[Oct 31, 2022](https://hashnode.com/posts/http-on-tcp-stateless-protocol-on-the-internets-stateful-network/630c64a843d7308e3e3258e0/comment/635fb659b09e815e60a5666a)

One question here !! So in general do server keep the session of the users active using keepalIve ? Or is it like clients sent all request at one go and server responds back for all and close the connection?

[Sofwan A. Lawal](https://hashnode.com/@sofwancoder)

[Oct 31, 2022](https://hashnode.com/posts/http-on-tcp-stateless-protocol-on-the-internets-stateful-network/630c64a843d7308e3e3258e0/comment/635fb659b09e815e60a5666a#reply-63604ca29d2c7c624f6998a9)

Using keepalive, the server keeps the connection open so that it can be used again by the browser.

In HTTP/2, there's the stream(tag), which provides us the ability to parallelise requests within a single connection.

Read more about it on this article at [web.dev/performance-http2](https://web.dev/performance-http2)

[Atharva Hinge](https://hashnode.com/@atharva36)

[Aug 30, 2022](https://hashnode.com/posts/http-on-tcp-stateless-protocol-on-the-internets-stateful-network/630c64a843d7308e3e3258e0/comment/630dcb5456df9e8e5025529f)

Nice blog Sir, learned about it in detail!

[Sofwan A. Lawal](https://hashnode.com/@sofwancoder)

[Aug 30, 2022](https://hashnode.com/posts/http-on-tcp-stateless-protocol-on-the-internets-stateful-network/630c64a843d7308e3e3258e0/comment/630dcb5456df9e8e5025529f#reply-630dcf5a56df9e8e502553b1)

Thanks [Atharva Hinge](https://hashnode.com/@atharva36). I'm glad you learned from it.
