[webservices] time order in event service

Philip Crotwell crotwell at seis.sc.edu
Thu Mar 14 10:44:47 PDT 2013


Hi

So, the event web server returns events in "descending" time order. That
makes sense for a person looking at a listing. But a system like SOD that
does processing on events, it is much more natural to do the processing in
natural time order, ie ascending. Obviously I can flip the order on the
client side, so maybe a minor quibble, but it is additional work and it
makes it harder to take advantage of the limit/offset functionality to step
through a large number of events. Just my $0.02.

On that point, if I am running a series of queries to the event server
using limit and offset and it just happens to bridge the insertion of new
data into your event database, will I have missing or duplicate events? In
other words, if I care very much about a consistent batch of events, should
I stay away from limit and offset and manually batch the queries by time
for example?

thanks
Philip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/webservices/attachments/20130314/48dc9fb9/attachment.htm>


More information about the webservices mailing list