Add debug log for cached requests in idamClient#105
Add debug log for cached requests in idamClient#105stephen-dixon merged 1 commit intoukaea:developfrom
Conversation
|
Thanks for looking into this. Happy to merge this change. I did just want to highlight though that a lot of the memcache and filecache caching was a bit experimental and never fully tested or completed. It's not something we use in production at UKAEA, and although we'd like to develop it further, hasn't been top of the priority list for us. One issue I know of will be serverside caching of structured data (which I doubt you use -- IMAS is all CAPNP types I believe which should work better), but clientside will probably be much more robust. We're happy to support if this is functionality you're interested in using more and will review PRs and we've also just added a "discussions" tab to this repo which may be a good place we can track any ongoing discsussions on the caching topic in more detail. |
|
note that this variable |
|
Thank you for your prompt response! I am not familiar with the caching feature, so I'm unsure if I can offer helpful advice. |
|
Oh, in that case I'd suggest making sure you don't have the CMake option for disabling caching unset when you configure your build, |
|
I didn't know that! |
|
No IMAS benefits I'm aware of. I think there may be different levels of caching, maybe in the imas uda access layer or the imas plugin, for improved remote-mapping performance within a single client session. But that's something separate. The use-case for memcached is different, mostly if you have multiple clients all accessing the same (remote) data items e.g. just following an experiment there may be a lot of scientists all analysing the same new data so a cluster-wide cache of recently requested data saves the repeated download time. |
So, it seems that a UDA server needs to manage the caching system not only on the client side. |
* Add debug log for number of cached requests in idamClient (#105) * Feature/bytes plugin path expansion (#109) * fixing issue with serverside path expansions in get_bytes plugin * adding negative error codes to log parsers regex * removing gitlab CI and unused plugins --------- Co-authored-by: Koyo MUNECHIKA <51052381+munechika-koyo@users.noreply.github.com>
Hello!
Whan I compiled the UDA client, I ran into the following error:
To use this variable outside the for loop statement as well, I would like to introduce a debug log to track the number of cached requests in the idamClient function.
I would appreciate it if you could confirm whether this handling is correct.