互动网站建筑 [英] Architechture for interactive site

查看:114
本文介绍了互动网站建筑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



对于交互式的 Web应用程序来说,这是理想的体系结构,它在任何给定的时间点具有n至1000个用户连接.数据将保存在DB中,但是应该有部分内存缓冲和排队才能更快地提供服务.

我脑子里有一个基本的体系结构:
将会有一个Web服务器来处理用户会话和请求.还有位于数据库和Web服务器之间的服务.
该服务将对数据进行排队以进行保存,并将其保存在内存中以加快响应速度.

我需要有关服务的一些视图,以避免Web服务器之间的请求-响应瓶颈.是否可以将WCF服务配置为处理请求负载.该模型是否足够健壮以维持用户完整性和响应速度.

谢谢,
-oNmEsH

Hi,

What would be an ideal architecture for a Web application which is interactive, having n to 1000 users connected at any given moment of time. The data will be saved in DB but there should be some part of memory buffering and queuing required to serve faster.

I have a basic architecture in my mind:
There would be a Web server handling user sessions and requests; And a services that would sit between DB and Web server.
The service would be queuing data for saving as well as maintaining it in memory for faster response.

I require some views over the service to avoid request-response bottlenecking between web server. Can a WCF service configured to handle request load. Is this model robust enough to maintain user integrity and response speed.

Thanx,
-oNmEsH

推荐答案

看看 http://umbraco.com/ [^ ]

我认为效果会很好-只需观看视频即可:)

最好的问候
Espen Harlinn
Have a look at http://umbraco.com/[^]

I think that will do nicely - just watch the video :)

Best regards
Espen Harlinn


从WCF问题开始,是的,您可以控制WCF如何限制请求以及如何实例化服务实例.但是我不确定这是否完全适合解决您的问题.
如果用户请求不需要繁重的处理(例如数据库事务和计算),那么您提到的排队选项听起来不错.如何实现它有以下几种选择:
-在MSMQ上使用WCF将用户请求排队,以便稍后处理.
-使用专门的消息队列服务,例如Azure服务总线或队列.或Amazon的SQS aws.amazon.com/sqs/

希望对您有帮助
Starting from the WCF question, yes, you have some control over how WCF throttles requests and how it instantiate service instances. However I''m not sure how this will fit exactly into solving your problem.
If the user requests do not require the heavy processing (DB transactions and calculations for example) then the queuing option you''ve mentioned sounds good. How to achieve it has several options as:
-Use WCF over MSMQ to queue user requests to be processed later.
-Using specialized message queuing services like Azure service bus or queues. Or Amazon''s SQS aws.amazon.com/sqs/

I hope this helps


这篇关于互动网站建筑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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