Sight Machine Blog

[Developer’s Corner] Redux Saga Polling and Cancellation

webapp redux redux saga polling
Facebook
Twitter
LinkedIn

Table of Contents

In his latest Medium blog post, Ryuta Oshikiri, Frontend Engineer at Sight Machine, discusses the challenges and lessons learned from redux saga polling and cancellation.

We had a requirement to allow a user to see the results of an API call as it changes over time. Simple right, just use a setInterval.  What happens if the endpoint misbehaves or the response is mishandled, potentially slowing down or even halting the webapp?  To get around this, we can leverage an existing state management library with a middleware to handle data fetching (e.g. redux and redux-saga).

Ryuta works on Sight Machine’s streaming data transformation platform, as well as configuration tools and specifications for frontend and backend responses within our data visualization APIs.

Developers Corner is discussions and insights from our application developers who sit on the front lines of developing enterprise-class SaaS.

To read the full article click here.

To check out our open positions click here.

webapp redux redux saga polling

Picture of Ryuta Oshikiri

Ryuta Oshikiri

Ryuta Oshikiri is a frontend engineer with Sight Machine. Ryuta has a background in web development and software engineering. He holds a BS in Informatics from the University of Michigan.

Curious about how we can help? 
Schedule a chat about your data and transformation needs.