Re:Idea of maintaining an Island state without running the Island all the time

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

Re:Idea of maintaining an Island state without running the Island all the time

Baldur Jóhannsson

I meant "certain" limit as in number of messages recived such as 100.

so the CroquetIsland running server basicly performs this:
 when an message is receibed:
  1. append the message to the serialized state of the Island
  2. if the number of messages that have been recived and appended
     exceeds say 1000 then instanceate the Island from its serialized
     state, execute the appended messages and serialize the resulting
     Island as the new serialized state of the Island.

That is basicly it and I thought it didnt require clarifaction but obviously did.

Please continue to give feedback on this matter ;c)

-Zarutian