Window Size parameter #234
Replies: 8 comments
-
Hi @tahseenjamal, I assume you're referring to the asynchronous mode? This is up to the user code as Your messaging gateway may have the window size parameter, but it is not up to the client to change it |
Beta Was this translation helpful? Give feedback.
-
Hi @eigenein thanks for quick response. What am aware of is that window parameter is passed at the time of connection creation. Basis that SMPP allows multiple submissions before it could response. Else by default it accepts one request, then responds to that then accepts another one. So even if I try thread using single connection, it won't work |
Beta Was this translation helpful? Give feedback.
-
I don't believe so, but I might be missing something, of course. Neither of Could you point me to any specs that say it's a connection time thing? |
Beta Was this translation helpful? Give feedback.
-
@eigenein check this link https://nordicmessaging.se/tech-notes/window-size-explained/ |
Beta Was this translation helpful? Give feedback.
-
It shows an example of the |
Beta Was this translation helpful? Give feedback.
-
In Golang SMPP https://github.com/fiorix/go-smpp/blob/a82a321cf1d80532c7cffeb2ba8cd607da46513e/smpp/transceiver.go#L32 it is passed in the binding and in production I have seen it increases the performance of submission What would be equivalent of this in python smpp ? using threads for same connection ? |
Beta Was this translation helpful? Give feedback.
-
In In |
Beta Was this translation helpful? Give feedback.
-
Yes, in this sense we are way more low-level I guess. The library just
manages the packages. You can introduce custom logic to the client refusing
to send a message after WINDOW of them were already sent, but haven't
received corresponding ack messages yet.
Depending on how exactly you define it, you can think about our client
implementation as having either 1 or infinite window size.
…--
--
Best Regards
|
Beta Was this translation helpful? Give feedback.
-
I cannot find window size parameter, can someone help if there is such a parameter or not
Beta Was this translation helpful? Give feedback.
All reactions