Achieving 5M persistent connections with Project Loom virtual threads
1–10 of 150 posts
Re: Achieving 5M persistent connections with Project Loom virtual threads
#2I'm very excited about the possibilities of Loom. Would love to have a more realistic sample with Spring Boot that would demonstrate the real world scale. I saw a few but nothing remotely as ambitious as that.
Re: Achieving 5M persistent connections with Project Loom virtual threads
#3Re: Achieving 5M persistent connections with Project Loom virtual threads
#4Re: Achieving 5M persistent connections with Project Loom virtual threads
#5Re: Achieving 5M persistent connections with Project Loom virtual threads
#6With a maximum of 64k TCP connections per single server IP, you need 77 different IP on the server side. This is a fact.
Re: Achieving 5M persistent connections with Project Loom virtual threads
#7With a maximum of 64k TCP connections per single server IP, you need 77 different IP on the server side. This is a fact.
Clients can connect to the server on the same server port, so connection limit is more like 64k*2 for every Client IP-Server IP pair.
Re: Achieving 5M persistent connections with Project Loom virtual threads
#8With a maximum of 64k TCP connections per single server IP, you need 77 different IP on the server side. This is a fact.
Re: Achieving 5M persistent connections with Project Loom virtual threads
#9With a maximum of 64k TCP connections per single server IP, you need 77 different IP on the server side. This is a fact.
If you suppose just one open server port, you’ll probably need 77 client ips to do this test to get unique socket pairs.
But it’s a client problem, not a server one.
Re: Achieving 5M persistent connections with Project Loom virtual threads
#10With a maximum of 64k TCP connections per single server IP, you need 77 different IP on the server side. This is a fact.
How do you figure? Clients can connect to the server on the same server port, so connection limit is more like 64k*2 for every Client IP-Server IP pair.