高性能服务器 - 我应该怎么用? [英] High Performance Server - what should I Use?

查看:541
本文介绍了高性能服务器 - 我应该怎么用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个大的游戏引擎供应手机客户端和网站。该数据库是MSSQL2008,发动机是用C#编写的。

I have a large game engine which serves mobile phone clients and a web site. The DB is MSSQL2008 and the engine is written using C#.

该网站是建立与ASP.NET MVC,为手机Web服务也是建立在ASP .NET MVC(可能会迁移到WCF或纯套接字服务器)。

The web site is built with ASP.NET MVC and the web service for the mobile phones is also built on ASP.NET MVC (probably will be migrated to WCF or pure socket server).

该网站和网络服务都位于一个IIS 7服务器和数据库所在在专用服务器上。两者都连接上的本地快速兰

The web site and the web service are located on an IIS 7 server and the DB is located on a dedicated server. Both are connected on a local fast Lan.

游戏需要为每个用户实时响应(在1秒)。当我做了一些服务的负载测试 - 它似乎是在250〜它的用户达到了1秒的响应(50是200ms左右)。它应该支持超过10000用户连接。 (服务器复制我猜的)

The game requires real-time response (under 1 sec) for each user. When I did some load testing on the service - it seemed that on ~250 users it reached 1 second response (at 50 it was about 200ms). It should support well over 10000 users connected. (server replication I guess).

我想过再增加一个层 - 为游戏Web服务的专用实时服务器。我听说的Python可以用来构建极高性能的服务 - 那会是一个聪明的想法添加这一层? (该层应该具有在内存临时数据库服务于实时播放器,然后将其所有转储到后端DB每隔X秒)。

I thought about adding one more layer - a dedicated real-time server for the game web service. I've heard that Python could be used to build very high performance services - would that be a clever idea to add this layer? (the layer should have in-memory temporary database to serve the real time players and then dump it all to the back-end DB every X seconds).

时我的架构有什么好处?怎么可能提高?

Is my architecture any good? How could that be improved?

非常感谢!

推荐答案

的您使用的是问这个问题网站也是一个非常类似的堆栈,他们已经写了关于它的blog.stackoverflow.com还有的 serverfault博客。你可以通过他们的事情已经做可能偷看,但我怀疑你可能需要考虑是某种缓存层。

The site you are using to ask this question is also on a very similar stack and they've written about it on blog.stackoverflow.com as well as the serverfault blog. You could probably peek through things they've been doing, but I suspect that what you may need to look into is some sort of cache layer.

这篇关于高性能服务器 - 我应该怎么用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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