Closed brianwhu closed 11 years ago
Hi Brian. The Etag is set by the module when two or more messages are published on the same second on the channel, you cannot force this header on POST. You have to send both headers when subscribing, If-None-Match and If-Modified-Since. With these headers the module will filter the messages and deliver only the new ones. Remember to set the messages_store to on.
If you have any problems with that let me know. You can also send a message to the discussion group.
Regards
I see... will do some more tests. Thanks for the very quick response! You are amazing.
Hi Brian,
How is going your tests? Can I close the issue?
We are trying to build a service that delivers large amounts of realtime updates to potentially tens of thousands of subscribers who connect from .NET and Java front ends using HTTP long polling. As updates come in sub-millisecond intervals the last modified time is too coarse a measure for our purpose in determining whether a subscriber has got a certain update. I suspect that use of etag alone might give us a solution.
I've done some simple tests with the sample configuration and curl and has the following discoveries.
Could you shed some light on these observations?
Thanks for the great work!