6 ms·
With ipv6 they can now be fully scaled easily but they are absolutely awesome, much easier to scale because you can give your client a simple list of sse servic
by shams93 3y ago
With ipv6 they can now be fully scaled easily but they are absolutely awesome, much easier to scale because you can give your client a simple list of sse services and its essentially stateless if done right.
Websockets get really complex to scale past a certain level of use.
- apitman 3y ago> With ipv6 they can now be fully scaled easily Any day now: https://www.google.com/intl/en/ipv6/statistics.html https://www.google.com/intl/en/ipv6/statistics.html
- freedomben 3y agois anybody actually able to disable ipv4? maybe if you only serve vpn or internal users? This might be the best thing about Elixir/Phoenix LiveView. I haven't actually had to care in quite some time :-) (though to be fair, I keep things over the websocket pretty light)
- nijave 3y agoYeah there's 6to4 schemes. It's common in the U.S. for cell providers to give IPv6 but private IPv4 and do NAT (although IPv4 could be skipped altogether) AWS you can use NAT Gateways for 6to4 and do v6 only subnets
- bawolff 3y agoWhat does ipv6 give you that virtual hosts don't?
- cushpush 3y agowhy dropbox when rsync"
- remram 3y agoI know what you're referencing but I really don't see why. What does IPv6 have to do with this?
- deleted 3y ago[deleted]
- cushpush 3y agoSimilitudes in timbre. There is plenty of room for improving the state of the web. Not 100% certain IPV6 is that, but it certainly offers more address space, and that would be foolish to avoid embracing simply because old tech is duct-tape-able enough.
- remram 3y agoI am not trying to say IPv6 is bad (in fact I'm a fan), I am asking what benefits it offers specifically in the context of SSE. I am not the one making a claim, I expected some arguments with it. "IPv4 is not web scale" is not good enough https://youtu.be/b2F-DItXtZs https://youtu.be/b2F-DItXtZs
- apitman 3y agoIn theory direct connections between all devices on the internet. In practice, everything's still going to be behind a firewall. But it's still an improvement over NAT, and hopefully we'll eventually get universally adopted protocols for applications to open ports. I've been using IPv6 more recently, and one nice thing as a developer is being able to use the same IP address for local connections and internet connections. Simplifies managing TLS certs for example, since the IP address used by Let's Encrypt is the same one I'm connecting to while developing.
- bawolff 3y agoYou misunderstand. I'm asking why IPv6 would help this specific situation, not why ipv6 is nice in general. None of what you said applies to this context.
- apitman 3y agoYou're right, I was responding to your comment directly and not taking context into account. I guess maybe what GP is getting at is that with vhosts on IPv4 you need to have some sort of load balancer in order to share the IP, but with IPv6 you can flatten this out and give every host it's own IP?