Jump to content

Real-Time WebApp should use Sockets?


Recommended Posts

Hey everyone, I'm new here. I'm a web developer and game developer.


I am building a collaborative real-time tool to organize your brainstorming into mindmaps, with other various functionality. The key here is the real-time collaboration. More info here :Phttp://vintauri.io/a-shiny-new-mind-map-app-for-your-cognitive-dumps/


I've read around on this forum a little to gain an idea of what it would take. It's not a game, but you guys have the best grasp on real-time network experience. What tools do you think would be the best way to go?


Right now I'm thinking socket.io to a node.js server, with p2p when possible.


What do you all recommend?



Link to comment
Share on other sites

More information:


Data syncronization will be an issue. If one person creates a graph node, and someone deletes it's parent, then there will be a race condition to the server and out of sync issues. I'm thinking of implementing an inversion of each command and then letting the server relay the command, and the clients inverse, merge and redo.


This will get really complex once I implement p2p sockets.


Any thoughts on this?


Also, should I use pubnub for scalability?

Link to comment
Share on other sites

  • 7 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...