4 ms·
It is not too difficult to implement Comet on news.yc. But, the limitation I have is the maximum request I can make to the server. It is impossible for my web a
by siong1987 18y ago
It is not too difficult to implement Comet on news.yc. But, the limitation I have is the maximum request I can make to the server. It is impossible for my web app to request to the news.yc server every single minute just to detect the change. And, eventually, the server will refuse the web app request.
The only possible way to implement this technique is to create an iframe that will contain news.yc and refresh the iframe every single minute automatically using javascript. Then, the request will be made from your IP instead of my server. But, I believe that news.yc will refuse your request to the server eventually.
But, I do like to see YC implement this feature.