The closed loop

Photo by Lars Kienle on Unsplash
  • Signal the start of a motor: verify it is moving by checking the output of a motion sensor or cycle counter
  • Trigger a database transaction: check the result of the commit (Yes, I know it’s obvious, so why do so many applications skip this check?!)
  • Stop a process: verify it is no longer running after a specified timeout (even Microsoft Teams forgets to do this — just try switching between accounts a few time)
  • Send a message on a message queue: check the result of the queueing function, and design your protocol to return an ACKnowledge message to be returned

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Angelo Hulshout 🇳🇱🇮🇹

Angelo Hulshout 🇳🇱🇮🇹

66 Followers

CEO at Schinchoku and software architect at Delphino Consultancy B.V. — writing about software, and about the Shinchoku startup.