• 0 Posts
  • 3 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • Edit: wait, you might be right. As I understand, net neutrality is for the last mile ISPs, not the L1/L2 providers. So uh… what I explained below isn’t relevant. Eh, I’ll leave it in case people wanna learn stuff.

    It was a bad explanation, assuming you had knowledge of network infrastructure things, but it does make sense. I’ll explain things if you’re interested.

    Net neutrality is the idea that ISPs must treat all content providers equally. Your phone is not a content provider (most likely. You could run a web server on your phone, but… no). YouTube, Netflix, Facebook, TikTok, and your weird uncle’s WordPress site are content providers. Without net neutrality, ISPs can say, “Hey YouTube, people request a ton of traffic from you on our network. Pay up or we’ll slow down people’s connections to you.” The “neutrality” part means that ISPs must be neutral towards content providers, not discriminating against them for being high demand by consumers.

    For the L1 and L2 part, that’s the networking infrastructure. The connection to your home is just tiny cables. I don’t recall how many layers there are, but it’s just “last mile” infrastructure. The network infrastructure between regions of the country or across the ocean are giant, giant cables managed by internet service providers you’ve never heard of. They’re the kind of providers that connect AT&T to Comcast. These are considered L1 or L2 providers. The data centers of giant companies, like Google for YouTube’s case, often pay these L1 or L2 providers to plug directly into their data centers. Why? Those providers are using the biggest, fastest cables to ferry bits and bytes across the planet. You might be pulling gigs from YouTube, but YouTube is putting out… shit, I don’t even know. Is there a terabyte connection? Maybe even petabyte? That sounds crazy. I dunno, I failed Google’s interview question where they asked me to estimate how much storage does Google Drive use globally. Anyway, I hope that gives you an idea of what L1 and L2 providers are.

    I’m not a network infrastructure guy, though. If someone who actually knows what they’re talking about has corrections, I’d love to learn where I’m wrong


  • All of that can be the same as other stacks except the Apache bit. You can stand up a Go application on Ubuntu hitting MariaDB as its persistence layer. Or Python. Or Node. Or Java. Or even Ruby. Shit, Haskell can do it.

    Also, exec is a code smell. Arbitrary code execution is a massive security risk, and the effort to mitigate that risk is often less than explicitly building out the required functionality.

    I think you need to explore more technologies, my friend. And read up on some security things

    Edit: I now realize you mean exec as in calling out to a shell. All languages have this. Still, the overhead of spawning and managing a new process is often more than just implementing the logic in your application itself.