Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On the contrary, I’d say the details of TCP/IP are inseparable from the design, implementation, and practical understanding/configuration of these elements.


The whole point of the internet stack is to abstract away the details of the lower layers.

A web developer does not need to know TCP. They need to know HTTP. Even if they did know stuff about lower level networking the browser completely locks you out of that level.


The abstractions are super leaky. Infrastructure fundamentals are consequently significant in all applications. Failure or refusal to understand and inwardly digest this leads inexorably to bad software, or more precisely, bad systems. Web developers that do not know TCP/IP and do not wish to are a consequent burden to everyone else; a fountain of horrors arises, from latency issues to security blunders, when mechanical sympathy is disregarded.


I still disagree. As a web dev, there is absolutely nothing you can do to affect the networking stack. This is all completely buried in web servers and the like. Most CDNs are complete SaaS tools where you can't anything beyond the highest-level. Everything devs do to optimize performance is at the application layer. You can observe things like latency or number of connections and change your code or infra, but you're absolutely never going to inspect a packet. Unless you're actually developing those web servers.


I have countless times inspected packets on the wire when writing web applications, and there is tons we do to ensure service behaviour aligns with the networking stack.

I have also inspected traffic when investigating/writing patches for server code or the kernel, but that’s a completely separate matter.

What’s more, most nontrivial application code causes additional network activity, from DNS queries to database connections, calls to external APIs et cetera. The all-the-world-is-HTTP fallacy is how wheels get reinvented, but badly, as with websockets or JWTs.


I disagree. I learned the structure of TCP frame in college and that's the last time I've looked at one. 99% of my job is at layer 7. Understanding bits like TLS handshake and http headers is plenty.


And now you’re here handing out authoritative and contextual advice on what to study. Like it or not, you’re still using what you learned. A merely superficial awareness wouldn’t suffice.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: