A kiválasztott változat és az aktuális verzió közötti különbségek a következők.
Előző változat mindkét oldalon Előző változat | |||
tanszek:oktatas:iss_t:integration_based_on_tcp_ip_sockets [2024/02/25 15:42] knehez [Non-blocking loop] |
tanszek:oktatas:iss_t:integration_based_on_tcp_ip_sockets [2024/02/25 15:43] (aktuális) knehez [Blocking and non-blocking TCP sockets in Java] |
||
---|---|---|---|
Sor 45: | Sor 45: | ||
**Performance and Scalability**: Non-blocking sockets can lead to more efficient and scalable applications. A single process or thread can manage multiple socket connections without spawning new threads or processes for each connection, using system resources better and enabling the server to handle many connections concurrently. | **Performance and Scalability**: Non-blocking sockets can lead to more efficient and scalable applications. A single process or thread can manage multiple socket connections without spawning new threads or processes for each connection, using system resources better and enabling the server to handle many connections concurrently. | ||
- | Reading: | + | Reading (Java implementations): |
* http://tutorials.jenkov.com/java-nio/nio-vs-io.html | * http://tutorials.jenkov.com/java-nio/nio-vs-io.html |