some simple matters take a long long time to have a solution# Java - 爪哇娇娃
c*n
1 楼
netty/SEDA/ finally comes down to UNIX select
all these years all these fancy concepts, basically people were still
trying to solve the problem of parallelly handling network/io requests,
until recently the only approach used by industry is to excessively
relying on OS and do
while ( conn = accept() ) {
new Thread(conn).start()
}
amazing this went on for so long and still a lot of servers (not only
web servers, but proprietory servers , for example cassandra) still do
this
all these years all these fancy concepts, basically people were still
trying to solve the problem of parallelly handling network/io requests,
until recently the only approach used by industry is to excessively
relying on OS and do
while ( conn = accept() ) {
new Thread(conn).start()
}
amazing this went on for so long and still a lot of servers (not only
web servers, but proprietory servers , for example cassandra) still do
this