English 中文(简体)
实时网络浏览器游戏
原标题:Real-time webbrowser game

我试图在伙伴关系中创造实时的网络浏览器游戏。 净额MVC3,但我不了解处理服务器方面的实时事件的最佳办法。

Imagine that the client wants to upgrade a building, upgrading a building takes time. A record gets inserted in the database that holds the end-time and on the client a ajax timer start s running. I was thinking about having a windows service running all the time. Every second the service checks the table and does the real processing when the time passed the end-time. However I could imagine that when you have a huge amount of data to process this can get problematic.

What would be the best way of doing this?

乘客。

问题回答

I ve seen games like that before. You do not need to count down yourself, you just need to store the datetime for whenever the building will be ready.

当要求上页时,请你寄出大楼竣工的时间,并用java字母计价。 例如,,类似于





相关问题
Using jquery to get a partial view and updating the UI

I need to render a partial view (returned from the controller) to show some customer summary details. This will need to happen when the user clicks on a button. In the the mean time the user can ...

MVC 2 / MVC 3 / MVC 4

MVC 2 我们可以轻松地创造领域。 现在,我的问题涉及nes地区(地区内)。

Asp.Net MVC 2 - Changing the PropertyValueRequired string

Using a resx file in the App_GlobalResources directory, I ve been able to change the default message for the PropertyValueInvalid string of the model validators. But it doesn t work to translate the ...

ASP.NET MVC 3 - What features do you want to see? [closed]

I know a bunch of people that are really enjoying the improvements that ASP.NET MVC 2 made over the first release. I have just started to migrate our MVC 1 project over and so far areas has totally ...

热门标签