Thursday 7 September 2017

best practices for web sockets in 2017?

I have a scheduled service/task that updates my postgresql Database every 10 seconds with fresh data.I have a react app that shows this data and refreshes the browser every 10 seconds~. obviously not ideal and only doing this in development.what is the best practice as well as the simplest method of getting my Database data to appear on my frontend and refresh "live"?I know there's a lot of options like socket.io, sockjs, websockets, etc. etc.

Submitted September 07, 2017 at 06:46PM by sayurichick

No comments:

Post a Comment