Hacker News new | ask | show | jobs
by ryanworl 2215 days ago
In the FDB simulator case, every event has a future time at which it will fire, and the clock advances to that time when the event is dequeued.

This also has the side benefit of artificially “speeding up time”, which is useful when many actions happen based on long timeouts.

1 comments

I used the same approach, which I learned from DES textbooks. I wrote up the design here: https://github.com/pivotal/skenario/blob/master/docs/concept...