每天第一次调用网络服务很慢 [英] First call to web service each day is slow

查看:42
本文介绍了每天第一次调用网络服务很慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在构建此 Web 服务和调用它的应用程序时,我们注意到每天对 Web 服务的第一次调用非常缓慢.它甚至会在某些天超时.但是,此后的每次通话都很棒.任何人都可以解释为什么会这样以及我们如何摆脱这种痛苦?

While building this web service and the app that calls it, we have noticed that the first call to the web service each day is extremely slow. It even will time out on some days. However, every call after that work great. Can anybody shed light on why this might be and how we can get rid of this pain?

提前致谢!

推荐答案

如果是 ASP.NET Web 服务,则可能是 CLR 首次初始化、加载和验证程序集.您可能需要考虑预编译

If it's an ASP.NET web service, it may be the CLR initializing and loading and verifying the assemblies for the first time. You may want to consider pre-compilation

这篇关于每天第一次调用网络服务很慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆