开发者

Cache Hessian services results base on the service name and parameters

开发者 https://www.devze.com 2023-03-08 15:20 出处:网络
I have to call to get many data from Hessia开发者_高级运维n services, the services are quite slow. Because the Hessian calls do not update data and the results are rarely changed. I wonder is there an

I have to call to get many data from Hessia开发者_高级运维n services, the services are quite slow. Because the Hessian calls do not update data and the results are rarely changed. I wonder is there anyway to cache the result base on the service name and parameters in a predefined time. I use Hessian with Spring. Thanks, Loc


I would build a cache and when you have a cache miss, then ask the Hessian service.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号