Sign in to follow this  
jimmy90

Dynamic Maelstrom Sites

Recommended Posts

Is there a build of Maelstrom that can create torrent sites with content that can be updated by the publisher or by other users of the torrent site?

Share this post


Link to post
Share on other sites

I've been wondering this same thing, but using the current BitTorrent protocol one would have to make a new torrent for every change as it would modify the infohash. That'd be the life of client-side updates to JavaScript, CSS, and HTML. Of course, you could have the JavaScript made to request more code/data from a centralized host and process it that way. Not sure how recommended that is. I definitely know eval-ing code is not recommended if avoidable.

 

But, you're talking about dynamic PHP, ASP, or some other server-side language, no? At this point, unless some dev. as an ace up his/her sleeve, that's not possible. Somewhere and somehow, an interpreter would be needed to process those dynamic files/requests whether it be by the local machine or sending the request to another client in the swarm. And, at that point, Maelstrom might as well be a different type of mesh network.

 

There could be a solution to the updating-of-static-files issue, but it would need Maelstrom to incorporate a reaction feature of some kind. Perhaps, via an auth. code or secret for obvious reasons, one could update a torrent by forcing the Maelstrom clients' reaction to a header or message of that would point it to the newer or newest infohash. That message may be part of the torrent file itself, as a text file, but the Maelstrom client would need a function to understand it.

 

TL;DR:

  • Not technically or by utilizing server-side languages.
  • In theory, JavaScript could work as way to communicate with a central host.
  • In theory, Maelstrom could have a static-file update feature, but would need functionality and understands that it doesn't appear to have at this time.

Share this post


Link to post
Share on other sites

great points opsoyo - i was thinking along the same lines.

 

i think there could be static data (templates, code, images, videos, etc) and dynamic data (database tables, serialised objects, distributed databases!, etc) all of which could be updated using some administrative signature or similar mechanism so the client knows it's really part of the site.

 

a similar approach could be used to allow members of a site to publish dynamic data as well as administrators.

Share this post


Link to post
Share on other sites

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.

Guest
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.

Loading...
Sign in to follow this