tynstar last edited by
> What if the shards were vertical from each other, and the portals between them went vertically?
This is a truly great idea! It would make shards (probably called "levels" then) feel more like an intrinsic concept of the game world and less like a workaround for database performance bottleneck. (I still would prefer solving that problem by switching databases, however.)
I agree with @tynstar
The concept of "vertical" persistent portals is a core idea of this world sharding system. I've probably not expressed it clear enough in the blog post, but this is really what we've meant originally. Sharded worlds will have different sizes, so one-to-one position match can't be done, but their portals will link them in the same vertical positions like elevators.
K-C last edited by
Being forced to defend from attack across multiple shards is more apparent when it's described as a ladder / elevator / floor / Z axis
Shard portals will be placed only in neutral highway rooms. And you cannot build portals yourself. There is nothing special in defending from such attacks, it is like any other attack from the highways.
It’s still an open question whether the number of established players willing to respawn on the new shard is enough to reduce the load of the old one. In order to significantly improve performance they need to not only create colonies, but to respawn completely. Your reasons are fine, but they may not convince many established players to do so.
I would happily move to a new shard. When you got a lot of GCL it’s a lot of fun to play around in a new area and expand rapidly! I think this might also be a motivation for other players as well. Instead of fighting over territory you just move to a new shard.
pablasso last edited by
So excited that WebGL is coming. I stopped myself opening the game many times because of the horrible battery performance.
We're now testing Apache Cassandra on the PTR, see this post:
MrFaul last edited by
Jo I know I may gain some hatred for that but screw node.js.
Switch to Open Resty (nginx + lua application server) and rebuild the server in Lua.
Lua is very similar but way faster and offers native sandboxing*.
If you then add multitasking(requires external lib) in organised coroutines it should give you a enormous performance boost.
Once that is done spreading it to multiple server clusters should be easy.
If you want to evaluate Lua read "Programming in Lua, fourth edition" or the first edition online <- aimed at Lua 5.0 and is still largely relevant.
*There is a bit of work to do, to do it proper.
> Switch to Open Resty
You do realize that everyone in the screeps world will have to rewrite their entire script library? And it still won't solve the performance issues as they're database & disk I/O related.
MrFaul last edited by
Na just add a internal preprocessor js->lua and besides node is still relevant for the client.
Open resty ist still nginx so node.js could be used in conjunction.
I don't have a DB solution yet but I know some big data guys maybe they have a viable solution.
In theory you could pass lua dumps between servers so leveraging that you could fragment the database and add a good GC
I know you made mention of an 'arena' area previously. From the description this would be well suited as a separate shard.
I say this because it brings to mind the idea of different environmental conditions on shards. These shards would have their dangers and rewards adjusted accordingly.
- Disabled player spawning (must send a claim creep to colonize)
- Disabled creep spawning (must maintain code to maintain population on both sides of the memory fence)
- Increased/Decreased creep Lifetimes/Damage/Healing/Health etc.
- Lava (that moves! this would be a particularly fun challenge to solve)
- NPC forts
- Temporary Shards/Monthly Challenges where players compete (or cooperate against a shared challenge) for prestige/practice.
- The best defense is a good offence (No towers (or walls?)).
- Roaming (shard entry points (or even rooms) move)
- Not for babies (no safe mode. even on first spawn. This would be a 'softer' version to the first one too.)
These basically write themselves. The rewards do not even have to be entirely tangible; They could be as simple as minor GCL rewards or a scoreboard.
Monthly challenges in particular would be good for long term player retention.
Temporary Shards/Monthly Challenges where players compete (or cooperate against a shared challenge) for prestige/practice.
ooh, and maybe allow us to get early access to a new shard before it opens up if we want to have to jump through the temporary shard.