基于缓存机制的作物模型Web服务并发处理

    Concurrent processing of web service for crop model based on caching mechanism

    • 摘要: 为了改善作物模型Web服务的响应时间,该文提出了基于缓存机制的作物模型Web服务并发处理方案。通过综合分析作物模型Web服务的组合结构、数据Web服务的通信特性以及作物模型Web服务的响应时间特征,以多线程处理和数据缓存技术为基础,设计了基于缓存机制的作物模型Web服务并发处理方案;并以作物栽培管理知识模型Web服务为测试对象,在真实网络环境下,验证了该方案的有效性。结果表明,在单用户多地点请求和多用户多地点请求情况下,采用并发处理方案分别可以缩短32%和35%的模型服务响应时间,极大地提高了模型的多用户并发处理能力。该研究为作物模型的区域应用提供了技术支撑。

       

      Abstract: In order to improve the responding time of web services for crop model, the concurrent processing scenario of web services for crop model was proposed in this paper. By analyzing the combination structure of web services for crop model, communication features of data web services and responding time feature of web services for crop model, the concurrent processing scenario of web services for crop model was designed based on multi-thread processing and data caching technology. Taking web services of crop management knowledge model as the testing target, the effectiveness of concurrent processing scenario was verified in a real network environment. The results showed that the responding time of web service for crop model with concurrent processing scenario reduced 32% and 35% for single-user at multi-location and multi-user at multi-location, respectively, which improved the model ability for multi-user concurrent processing. These results provide the technical support for regional application of crop model.

       

    /

    返回文章
    返回