[Developers] mqlread queries and caching

Augusto Callejas acallejas at appliedminds.com
Fri Sep 5 23:31:59 UTC 2008


hi-

my question is about the caching that occurs when you query
/api/service/mqlread.

at time t1 i run a query and get back results.
at time t2 i perform mqlwrite operations.
at time t3 i rerun the query i ran at time t1, expecting to see the changes
i made at t2, but only see the results at t1.

(times are t1 < t2 < t3)

i understand the use of query caching for performance reasons, but i need a
way to get the changes i made at t2 at some future point using the query i
made at t1.

can i:

1) disable query caching from the client side on a per-query basis?
2) determine programmatically what time the results of a query (in this
case, the results of querying at time t3 would indicate that the results
were valid at t1) were valid at?
3) know how long a cache of query results stays alive for?

thanks,
augusto.




More information about the Developers mailing list