moo

How do I structure my application(SignalR, node.js, react.js, WebSockets)

Hey,I want to build an application, which is able to show realtime data/information. I read a lot about websocktes, SSE and HTTP2 in terms of realtime data exchange and I ended up going with SignalR(the new core version) using C#.​A very basic example: I have 3 clients. Each client will get a SignalR application, which should send realtime data about disk space for example. I want to use node.js on my backend. Since I usually don’t want to store the data, I thought about piping the data to my frontend, which would be an Web-Interface(react.js). Anything wrong about this approach?​I would also like to store the transmitted data in a specific interval(e.g. each hour) in my PostgreSQL database. However this seems fairly easy to achieve.​My question about this approach is: since I pipe down data from the client(SignalR) to the server(node.js), I would also need to establish a realtime data connection between my frontend(react.js) and the server(node.js), right?​Is my approach valid? Anything you would do different? I hope you get the idea what I want to achieve, although I described it very abstract. via /r/csharp https://ift.tt/2DQkl6p

Categories: Uncategorized