SOAP/HTTP 协议中频繁出现套接字/连接超时

发布于 2024-10-07 07:43:28 字数 315 浏览 0 评论 0原文

我正在从事一个Web应用程序项目,该项目在GUI中具有基于Web 2.0的功能(意味着大量AJAX调用),并且在业务层具有基于axis1的Web服务来提供数据... 我发现 Web 服务协议中存在性能问题:SOAP/HTTP...因为将会有很多 AJAX 调用,即对 Web 服务器的 HTTP 请求...我们可能会在生产中看到频繁的套接字/连接超时问题...我想要想知道是否有人在此类问题上有任何经验?知道如何纠正这个问题吗?

我用谷歌搜索发现持久 HTTP 连接可以改善它......但想知道你的看法。 这是我的环境详细信息:- 前端:.NET 后端: 雄猫6.0 轴1 甲骨文10g 视窗XP

i am working in a web application project which has .NET based Web 2.0-based features in GUI(means lot of AJAX calls) and axis1 based web services at business layer to serve data...
i see a performance issue in webservice protocol: SOAP/HTTP...since there is going to be lot of AJAX calls i.e. HTTP requests to web server..we may see frequent socket/connection time out issues in production...I want to know does any one have any prior experience in this kind of issue? Any idea how to rectify this?

I googled and found persistent HTTP Connections would improve it...but would like to know your views.
Here is my enviroment details:-
front end: .NET
backend:
tomcat 6.0
axis1
oracle10g
windows XP

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜唯美灬不弃 2024-10-14 07:43:28

是的,持久 HTTP 连接有助于避免创建新连接,这是首先想到的。另一种方法是在客户端/服务器套接字上设置套接字超时值,增加服务器套接字上的积压值(我不知道如何在 Axis* 中执行此操作)。

Yes, persistent HTTP connections help to avoid creating new connections, and this is the first thing that comes to mind. Another way is to set socket timeout values on client/server sockets, increase backlog value on the server socket(s) (I'm not sure how to do it in Axis*).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文