Tuesday 24 April 2018

How would you handle refreshable timeouts in a clustered node app?

I'm trying to create a timeout system which can be extended by certain actions, the problem is that those actions may appear not in the same process where the timeout was created.Example: think of a bot that asks a question and expects an answer within 30 seconds. If a user enters an input, the timeout is refreshed (or removed}. In single process app its not a problem, but when it is clustered, well it gets problematic.Anybody has ideas how this can be implemented?

Submitted April 24, 2018 at 02:36PM by ahrismith10

No comments:

Post a Comment