On 1 Sep 2006, at 16:17, Tom Oinn wrote:
Hi guys,
Following from the recent discussion wrt taverna killing your data
service... One of the issues we have at the moment is that fetching all
the dataset config files takes a while and we have to do it more often
than we'd like. We could cache but at present I don't think there's any
way of knowing whether the cache is valid so it's not a safe thing to
do
in general.
Request - add a method to the service API that returns the last
modification date of any dataset config within that mart.
This should be simple enough, and while not too clever I don't think
these things change that fast and we can live with having to refresh
everything if a single file changes. Taverna (and any other clients
with
similar behaviour) can then call this very simple (and cheap) method to
decide whether to use a cached copy or refresh and everyone's lives
will
be better.
As for format, I don't really care as long as it's parse-able by
sensible languages. Milliseconds from the epoch is the standard date
format for these things and comparing two integers is about as simple
as
it gets when checking whether a refresh is required. Note that I don't
want to use version numbers here, a simple timestamp is more than
sufficient.
this is already implemented on our new 0.5 code so that BioMart clients
can decide how to run updates. I am pretty sure that it can be re-used
by taverna
or any other client. I'll have a look if we can port it to 0.4 so it
could also run on the current version
a.
Cheers,
Tom
-----------------------------------------------------------------------
--
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Taverna-hackers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
------------------------------------------------------------------------
-------
Arek Kasprzyk
EMBL-European Bioinformatics Institute.
Wellcome Trust Genome Campus, Hinxton,
Cambridge CB10 1SD, UK.
Tel: +44-(0)1223-494606
Fax: +44-(0)1223-494468
------------------------------------------------------------------------
-------