Performance of VM for concurrent users

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Performance of VM for concurrent users

Giuseppe
Hi all again,

I want to start a project, and I have a "little" doubt.

The project, is a web game. This web game, will be a game like Ogame.

This game, will do a lot of requests to the server through Ajax and or Comet, and I would like to know, about how many concurrents connections can a squeak image hold.

Imagine each user have a little map, a local chat of the place it is, a global chat, a canvas drawing an interface, and so on.

All of this, has to be updated each 500ms

Is this possible?



Reply | Threaded
Open this post in threaded view
|

Re: Performance of VM for concurrent users

Mariano Martinez Peck


On Tue, Nov 24, 2009 at 12:17 PM, Giuseppe Luigi Punzi <[hidden email]> wrote:
Hi all again,

I want to start a project, and I have a "little" doubt.

The project, is a web game. This web game, will be a game like Ogame.

This game, will do a lot of requests to the server through Ajax and or Comet, and I would like to know, about how many concurrents connections can a squeak image hold.


I really don't know. But what you usually do is to put apache or whatever before squeak and have several images opened (ten for example). If you don't need to save the image, they can all open the same image/changes. So, apache does a balance between the images and you can handle a lot of requests per seconds.
 
Imagine each user have a little map, a local chat of the place it is, a global chat, a canvas drawing an interface, and so on.

All of this, has to be updated each 500ms

Is this possible?







Reply | Threaded
Open this post in threaded view
|

Re: Performance of VM for concurrent users

Igor Stasenko
In reply to this post by Giuseppe
2009/11/24 Giuseppe Luigi Punzi <[hidden email]>:

> Hi all again,
>
> I want to start a project, and I have a "little" doubt.
>
> The project, is a web game. This web game, will be a game like Ogame.
>
> This game, will do a lot of requests to the server through Ajax and or
> Comet, and I would like to know, about how many concurrents connections can
> a squeak image hold.
>
> Imagine each user have a little map, a local chat of the place it is, a
> global chat, a canvas drawing an interface, and so on.
>
> All of this, has to be updated each 500ms
>
> Is this possible?
>
>

i think best way to know it is to start writing it, and then when you
will have a good amount of users
bugging about slow & crappy connection speed, ask them for donation
and spend money either for better hardware or development of solutions
which would allow you to scale better :)




--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Re: Performance of VM for concurrent users

Casey Ransberger
+1

Scale when you have players (load.) Worry about getting players first.
If you try to scale before it's time, you'll wind up scaling the wrong
things.

On Thu, Nov 26, 2009 at 4:30 PM, Igor Stasenko <[hidden email]> wrote:

> 2009/11/24 Giuseppe Luigi Punzi <[hidden email]>:
>> Hi all again,
>>
>> I want to start a project, and I have a "little" doubt.
>>
>> The project, is a web game. This web game, will be a game like Ogame.
>>
>> This game, will do a lot of requests to the server through Ajax and or
>> Comet, and I would like to know, about how many concurrents connections can
>> a squeak image hold.
>>
>> Imagine each user have a little map, a local chat of the place it is, a
>> global chat, a canvas drawing an interface, and so on.
>>
>> All of this, has to be updated each 500ms
>>
>> Is this possible?
>>
>>
>
> i think best way to know it is to start writing it, and then when you
> will have a good amount of users
> bugging about slow & crappy connection speed, ask them for donation
> and spend money either for better hardware or development of solutions
> which would allow you to scale better :)
>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
>



--
Ron