h*********o 发帖数: 62 | 1 I am a little surprised to see that even tomcat tries to implement server
push.
is it a trend to do it today? Comments? |
A**o 发帖数: 1550 | 2 server push有什么好处呢?
【在 h*********o 的大作中提到】 : I am a little surprised to see that even tomcat tries to implement server : push. : is it a trend to do it today? Comments?
|
h*********o 发帖数: 62 | 3 the same benefit as observer. |
A**o 发帖数: 1550 | 4 Thanks. Two questions to follow up:
1. It seems IE doesn't support such feature yet. Does M$ have any plan to
support such feature in the near future? Otherwise, how does a site to
utilize such feature to be successful by supporting NON-IE only browsers?
2. How does the observable in this case know when to unregister the observer?
【在 h*********o 的大作中提到】 : the same benefit as observer.
|
h*********o 发帖数: 62 | 5 1. As I know server push has nothing to do with browsers. In most
implementations, either javascript or ajax is used.
2. HTTP protocol inversion is a mechanism for ajax push. If interested, you
can google it to find more explanation
The major issue for server push is scalability (of course there are some
other concerns). Even with java nio, things do not look promising.
As i said I am surprised to see there are many implementations now, even
tomcat tries it. I thought it might take a little lo |