Architecture doubt
Architecture doubt
I´m planning to sell a MMO game to schools.
Each school must see only itself into the game (school scope), so I think the only way to do that is creating a zone for each school.
Is there a measurement about how many zones SFS supports working with good performance? Each class will has only 20 students.
thanks!
Each school must see only itself into the game (school scope), so I think the only way to do that is creating a zone for each school.
Is there a measurement about how many zones SFS supports working with good performance? Each class will has only 20 students.
thanks!
Fabio Colombini
Brazil
Brazil
Hi!
I don't see why you should create a zone for each school. Zones are meant for different applications with different extensions and different settings. If this is one MMO game, and all schools will be using the same version, then I suggest using 1 zone and many rooms.
I don't know about any caps on how many rooms/zones there can be. I think your server is the limit.
I don't see why you should create a zone for each school. Zones are meant for different applications with different extensions and different settings. If this is one MMO game, and all schools will be using the same version, then I suggest using 1 zone and many rooms.
I don't know about any caps on how many rooms/zones there can be. I think your server is the limit.
Hi Damace,
the roons are the Parts os the city, the neighborhoods that are loaded as the avatar walks into the city. Did you understand?
So the City (game) is the Zone, and the roons are the neighborhoods.
The problem is that, each school cannot see students from other schools.
the roons are the Parts os the city, the neighborhoods that are loaded as the avatar walks into the city. Did you understand?
So the City (game) is the Zone, and the roons are the neighborhoods.
The problem is that, each school cannot see students from other schools.
Fabio Colombini
Brazil
Brazil
One kind of scope will be in this way: city.Damace wrote: If you want to communicate between schools then use 1 zone for the game and many rooms for the schools.
The school will be able to change the scope of the game.
I must have scope like:
- school (see in game only students from that school)
- city (see all students from that city)
- state (see all students from that state)
When I say scope, I mean that they just can see what is inside it. For example: city - only schools from that specific city can see each other, so, I´ll create a zone for that city.
School scope: just students from that school can see each other inside the game, so I must create a zone for each school.
The school rule is: We need to have means to restrict users to level of school, city and state.
So, this is the way that I found to create those restrictions.
If somebody knows any better idea, please, it will be welcome.
Fabio Colombini
Brazil
Brazil
Re: Architecture doubt
Back to your original question, the number of Zones is not relevant. You always have to deal with the total number of connected users.frcol wrote:Is there a measurement about how many zones SFS supports working with good performance? Each class will has only 20 students.
You should read this white paper: http://www.smartfoxserver.com/whitepapers/performance
(it is related to SFS 1, but the same concepts apply to SFS 2X)
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
You say that you want to see all the students in different scopes. That means that the data can be accessed and that some kind of communication takes place. If you choose to create multiple zones then you need to communicate between them (and as I mentioned above this practice is discouraged).
So the logical outcome of this discussion is to create 1 zone and place all the cities and schools inside it.
So the logical outcome of this discussion is to create 1 zone and place all the cities and schools inside it.
Thanks for your attention Damace,Damace wrote:You say that you want to see all the students in different scopes.
but I think you misunderstood me.
I do want students from one school don´t see students from another school (in school scope). So I´m thinking in create a zone for each school.
Fabio Colombini
Brazil
Brazil
You wrote
Anyway, you are the developer, you better understand the problem)
Cheers
If you want to do that you need to be able to access different zones and communicate between them (if you decide multiple zone solution).I must have scope like:
- school (see in game only students from that school)
- city (see all students from that city)
- state (see all students from that state)
Anyway, you are the developer, you better understand the problem)
Cheers