You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2016/10/17 20:19:59 UTC

[jira] [Commented] (PROTON-1309) Add the ability to set the outgoing message window to electron interface

    [ https://issues.apache.org/jira/browse/PROTON-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15583327#comment-15583327 ] 

Alan Conway commented on PROTON-1309:
-------------------------------------

The outgoing credit for a sender is determined by the remote receiver. I deliberately did not let electron buffer more than this limit internally (even though the proton-C library will do that) because it masks the real depth of your outgoing message queues. I think it should be easy to queue up messages internally on slices or channels and have a goroutine feed them to proton as quickly as credit becomes available - that has the advantage of giving you clear visibility on the messages that definitely have *not* yet been sent, which can be important for recovery or load balancing. Let me know if I'm missing your point.

On the session window, absolutely - an oversight which I will correct shortly.


> Add the ability to set the outgoing message window to electron interface
> ------------------------------------------------------------------------
>
>                 Key: PROTON-1309
>                 URL: https://issues.apache.org/jira/browse/PROTON-1309
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: go-binding
>    Affects Versions: 0.15.0
>            Reporter: Richard Laos
>            Assignee: Alan Conway
>            Priority: Minor
>
> It would be nice to be able to set the outgoing window of a session or sender using the electron interface.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org