gnh1201 / caterpillar

Caterpillar Proxy - The simple web debugging proxy (formerly, php-httpproxy)
https://catswords.social/@catswords_oss
MIT License
15 stars 7 forks source link

Case Study in Real World: Ambiguities in TCP and HTTP #21

Open gnh1201 opened 1 month ago

gnh1201 commented 1 month ago

Summary

(Here's a story from Canada.)

There is an issue in infrastructure management tools (e.g., OpenShift or similar software) where TCP and HTTP are not clearly distinguished. This has led to minor conflicts between infrastructure engineers and developers.

As a result, there is a need for a solution that allows maintaining the business logic while flexibly switching the communication method between TCP (socket) and HTTP.

My Opinion

TCP and HTTP are distinctly different concepts, but since HTTP is the most well-known application protocol running on top of TCP, the mistake of not distinguishing between them often occurs. To better understand this, you can refer to the OSI 7-layer model, which explains this distinction well.

Upon hearing this story, Caterpillar Proxy has decided to work on enabling the endpoint communication method to be switched flexibly between TCP (socket) and HTTP.

Currently, we support existing plugins through the web.py file.