Web服务性能 [英] Web Services Performance

查看:103
本文介绍了Web服务性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我使用本地数据库(如MSSQL Server Express和Sqlite3)在Windows和iPad(iOS设备)应用程序中开发了销售点(POS)应用程序。这些应用程序在本地网络环境中运行良好且快速。对于多站我使用MSSSQL网络服务器(TCP开放端口1433)。对于SQLite系统,我编写了一个完整的WCF服务器/客户端,然后托管在本地网络上。同样,系统运行良好且快速。现在我想探索Web基础应用程序,这意味着我必须在WWW或云服务上托管Web服务。



所以,我的问题是我应该使用什么样的Web服务协议来保持令人满意的POS性能(应用程序仍然在本地作为本机app运行)。我已经查看了JSON,REST协议,但不确定是否会提供我需要的性能,因为在POS世界中需要快速和大量数据库记录到SELECT(GET),UPDATE(POST)和INSERT(PUT)实际时间或接近的方式。



我知道我无法在网络服务上获得实时性能,但如果我能获得80%以上的性能值得拍摄对于。谢谢......



访问我们的网站:ht< tp://www.yesmua.com

解决方案

< blockquote>我也在搜索这些东西所以这个答案不仅适合你,也适合我。



MSDN - 提高Web服务性能 [ ^ ]

测量和监控WCF Web服务性能 [ ^ ]

Web服务性能最佳实践 [ ^ ]



我会更新此回答时间到时候,现在是BFN。


Hello, I'm developed the Point of Sales (POS) application in Windows and iPad (iOS devices) app using local database such as MSSQL Server Express and Sqlite3. These applications work great and FAST in local network environment. For multi stations I used MSSSQL network server (TCP open port 1433). For SQLite system, I've wrote a complete WCF server/client then hosted on local network. Again, the systems work great and FAST. Now I want explore Web base application which mean that I must hosting web services on the WWW or Cloud services.

So, my question is what web service protocol should I use to maintaining the satisfactory POS performance (the applications still have run locally as native app). I have looks in to JSON, REST protocol but not sure will give the performance that I need because in POS world it is requires that fast and a lot database records to SELECT(GET), UPDATE(POST) and INSERT(PUT) in real-time or close manner.

I know that I can't get a real-time performance on web services but if I can get 80% plus performance that worth shooting for. Thanks...

Visit our website: ht<tp://www.yesmua.com

解决方案

I was also searching these kind of things so this answer not only for you, for me too.

MSDN - Improving Web Services Performance[^]
Measuring and Monitoring WCF Web Service Performance[^]
Performance best practices for web services[^]

I'll update this answer time to time, now BFN.


这篇关于Web服务性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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