Comments (6)
from core.
https://github.com/mscdex/base91.js
from core.
It's still no where near as efficient as pure binary data but I'd consider it a good compromise for short - medium term.
My concern with this current design is that most servers aren't exactly optimised to accept huge amounts of data in the POST request - the file field is normally used and then the data can be easily buffered to /tmp. But with something like POST, its potentially all just in memory and that could add up to bad concurrency / scaling if the shards are like 128 mbs each (or if you're doing multiple transfers at once.) So we probably still do need to use something different eventually.
from core.
Yes, this doesn't work well for large chunks. Let's think about other options. Maybe a separate data channel is needed.
Or maybe websockets works for this since we are already over HTTP.
from core.
The CONSIGN RPC could just exchange a token for upgrading the HTTP connection to WS and pump the raw binary data over.
from core.
from core.
Related Issues (20)
- All links to examples are broken HOT 3
- Deny unpaid mirror creation HOT 2
- Farmer crashes after daemon 4.0.0/4.0.1 upgrade (which includes v7.0.0 of core) HOT 5
- Switch to use user filesystem (or alternative) instead of KFS, better accounting of usage HOT 11
- TypeError: Cannot read property 'warn' of undefined HOT 1
- "payment_download_price">0, HOT 1
- storj://(null):(null)/(null) for every shard. HOT 1
- Renter stoped download early, farmer sending success exchange report HOT 14
- Set farmer base payout requirement to 7300GB/h to avoid cheaters HOT 5
- Full farmer doesn't update spaceAvailable HOT 4
- New Shares Fail to Connect to Bridge HOT 2
- Rename `offerBackoffLimit` in the farmer config to `allocBackoffLimit` HOT 1
- Farmer permanent switch to noSpaceLeft HOT 3
- User registration HOT 1
- Easy brute force data_hash, unsecure RETRIEVE, CONSIGN, MIRROR HOT 2
- ALLOC not storing audit_tree -> AUDIT not working, farmer crashing HOT 4
- filenames not deleted after contracts end HOT 1
- Not sending response to the alloc requests with large bucket size for big hard disk HOT 3
- Mirror Creation Channels never get closed HOT 4
- Fake 4GB shard mirrored in just under one second HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.