-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove limit to outgoing msgs #384
Comments
The receiving side needs to know how many bytes to read |
Actually, now thati think about it, we send the length. One thing we would have to though, is make sure we know exactly where buffers stop being used. Otherwise we have a memory allocation nightmare. |
We can still use the memory pool, we can just allocate larger buffers when needed. Not sure if the pool does this but we could also free buffers if there is a high water mark — On Mon, Nov 24, 2014 at 11:10 PM, Jeromy Johnson notifications@github.com
|
The sync.Pool is garbage collector aware, if it contains too many extra buffers, they will be freed during the next GC |
nice. |
I vote on bumping up the priority of a msgio refactor. |
Closed in #406 |
There's still a limit on message size (albeit a large one), yeah? |
@maybebtc yes, but it's desired. we don't want to be sending massive messages. It signals massive blocks, which we don't want. that reminds me, @whyrusleeping unixfs needs indirect blocks of arbitrary depth. right now, on massive files, the indirect block becomes huge. (#420) |
Are clients made aware of the limit? |
…trapping Feature/correct bootstrapping
currently, if a message is greater than net/conn.MaxMessageSize, it is simply dropped. the network layer should be able to handle chunking (this may just work out of the box, given we're only using stream connections atm.
The text was updated successfully, but these errors were encountered: