-
Notifications
You must be signed in to change notification settings - Fork 12
Update for v6.0 Transfer #1
Comments
Need discussion re: using |
So my thoughts are that eventually we can support a majority of The challenge is two fold:
|
From cpollard1001/storj.js#1 (comment) Thanks @faddat! I agree re: HTTP for the first pass. The problem is HTTPS, farmers will need to issue certs and we will need to resolve to domain names to get around browser security. This also ties farmer availability to DNS resolution and brings up the question of NAT traversal strategies (and tunneling) for farmer's HTTPS endpoints. HTTP is incredibly straightforward (I have an example working now minus the OPTIONS endpoint), but HTTPS adds a layer of complexity that I'm not quite sure we want to take on. What I'm working on today is a SIPS proposal for Contract that includes the protocols the shards need to be served over for the contract to be considered valid. This will allow us to propose new protocols for different target platforms and let farmers adopt them as desired, essentially letting the market decide. From there, we can talk through our options for the browser protocol. As of now, I'm thinking the initial alpha of storj.js will be HTTP only. Other protocols will be implemented pending a larger project we are kicking off the beginning of next year to make some changes to core. Those changes will make plugging in new protocols unobtrusive, perhaps even pushing protocol implementation out into userspace. |
That's what I'd do if I were in your shoes: Get er shipped, weather or not it's fully-polished. (Http was good enough for a very long time, chances are good that it is still OK) :) |
Closing as current library supports HTTP. |
Websockets are so 2016. Get with the hip HTTP transfer.
See docs here: http://storj.github.io/core/tutorial-data-transfer.html
The text was updated successfully, but these errors were encountered: