In Engineering

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.

Excited about AI, Analytics, and Ping Pong? At Sight Machine, we believe digital manufacturing is the future and we are committed to building that future… while having some fun. View Open Positions

Recommended Posts

Leave a Comment