Hosting on VPS Minimum requirement

All Union Platform questions, comments, feature requests, and bug reports.

Hosting on VPS Minimum requirement

Postby divyaaditya91 » Mon 23 Feb 2015 12:23

Hello,
I read some previous posts which guided me to host union on a vps.
I wanted to know what is the minimum configuration needed for union on VPS.
I developed an android multiplayer game using union.
Please guide.
divyaaditya91
 
Posts: 3
Joined: Sun 26 Oct 2014 08:03

Re: Hosting on VPS Minimum requirement

Postby toby » Thu 19 Nov 2015 14:46

This reply is probably too late to be of any use,
but I thought I'd share my experience anyway.

What is the minimum requirement for a multi-player game?

Well, of course that depends on just how "multi" it is.
Do you 10 simultaneous players, 100, 1000, 10000 ?

My site runs an online turn-based board game with either
two or 4 players playing (kind of like chess, say, but a different game).
At most we have about 30 people online at one time, usually less.

For some time this ran fine on a 256 MB Linux VPS, using Union 2.0.
However, there was a memory leak issue, which required fairly frequent restarts of Union.

When we moved to Union 2.1, we also updated the OS and Java at the same time,
while growing to 512 MB.

That runs fine, too, and while memory use grows over time, it is much slower,
and we only have to restart now maybe once a week, or less.

Since your post was months ago, by now you are either successfully running,
or have abandoned the project, but maybe you can let everyone know what you did.

For reference, Unioncloud.io says 128 MB is "small", and 256 MB is "large",
but I think those characterizations are, shall we say, "optimistic".
toby
 
Posts: 162
Joined: Sun 24 Jun 2012 14:18

Re: Hosting on VPS Minimum requirement

Postby toby » Sun 25 Jun 2017 03:34

I recently deployed my second Union-based game.

In this one, I don't use Union-based accounts - but rather track everything externally
(user id's, passwords, etc.)
While this has some disadvantages, it certainly is possible, and it really
cuts down on memory usage.

Of course that still depends on the level of activity, and having more participants
and more rooms will definiitely increase the memory requirements,
but so far this second game is just using a small fraction of what the other one does.

In fact, using OpenVZ, which doesn't use a lot of memory for the Linux kernel,
this probably WOULD run in 256 MB, or even 128 MB, but that might be pushing it.
toby
 
Posts: 162
Joined: Sun 24 Jun 2012 14:18


Return to Union Platform

Online

Users browsing this forum: No registered users and 1 guest