So you have multiple users. Certain operations take time on the backend. Server updates client via `websockets`. [Example](https://medium.com/@willrigsbee/how-to-keep-track-of-clients-with-websockets-1a018c23bbfc) how to manage multiple clients:  I was always respecting users and ensuring great usability. Sending love, always love... # Cannot send objects https://stackoverflow.com/questions/13028604/sending-a-javascript-object-through-websockets-with-faye I was figuring it out, why is it displayed as `[object Object]` so now we know. Will have to `JSON.stringify` and then `JSON.parse` probably the easiest way... # Minimalistic implementation This is a good one: https://hackernoon.com/nodejs-web-socket-example-tutorial-send-message-connect-express-set-up-easy-step-30347a2c5535
author | mailhustle |
---|---|
permlink | websockets-and-managing |
category | mailhustle |
json_metadata | {"tags":["mailhustle","javascript","nodejs","websockets","realityhacking"],"image":["https://steemitimages.com/DQmUo61u7zFpQuYr24TGwH9BsoPFdFY8q7kSDfuDWVuCzMP/Screen%20Shot%202018-04-25%20at%2023.42.49.png"],"links":["https://medium.com/@willrigsbee/how-to-keep-track-of-clients-with-websockets-1a018c23bbfc","https://stackoverflow.com/questions/13028604/sending-a-javascript-object-through-websockets-with-faye","https://hackernoon.com/nodejs-web-socket-example-tutorial-send-message-connect-express-set-up-easy-step-30347a2c5535"],"app":"steemit/0.1","format":"markdown"} |
created | 2018-04-25 22:56:09 |
last_update | 2018-04-25 23:44:06 |
depth | 0 |
children | 0 |
last_payout | 2018-05-02 22:56:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 961 |
author_reputation | 2,137,733,942 |
root_title | "WebSockets and managing multiple client connections" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 52,146,655 |
net_rshares | 92,732,634 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
brendg | 0 | 92,732,634 | 100% |