Let鈥檚 start by asking you two questions. What Super Frog has to do with messaging? When was the last time you wrote if statements in SQL? If it鈥檚 been a long time, have you at least seen them? If not, (don鈥檛) worry, you鈥檒l see them today. Will it be a post about weird SQL usage? Not necessarily. We鈥檒l talk today about checkpointing our processing. I鈥檝e started my relationship with computers with games. I still have my Amiga 500. In those days, computers didn鈥檛 always have a hard disk. You鈥檝e got a bunch of diskettes with different chapters of the game. Not all of them were simple games; many were quite sophisticated, and it took some time to finish them. Yet they were dealing with limited diskette space, so it was best if they didn鈥檛 have to use any of it. How can you then allow you to stop playing and return to the previous state? Or how to not force you to start from the beginning of the game when you fell from the platform, and well, you died? You died in the game, ofc, that at least you should be able to recover, right? As mentioned earlier, the limited space on diskettes and the additional complexity that came with it led many game makers to adopt a simple solution: checkpoints with codes. After you passed a level, you got a code you could type when you started the game, and instead of starting from the beginning, you could go directly to the place where you left off. That worked pretty well for the platform and race car games, since your game鈥檚 storyline was always the same, immutable. If you had to go to level 27, the starting point and your character would always look the same. Of course, for RPG and strategy games, that鈥檚 a different story. Surprisingly, this parallel also matches the recovery from a business process failure. Let鈥檚 say we鈥檙e using message-based communication to streamline and make it more resilient. We don鈥檛 want to make it vulnerable to scenarios where we store information in one system, our process dies, and we don鈥檛 manage to notify the ...
First seen: 2025-12-15 01:56
Last seen: 2025-12-15 03:56