On Jul 18, 2017, at 12:33 AM, actorGeek <vikul....@gmail.com> wrote:Folks,Just wanted to get some input. Need to handle large messages from a Java SockJS client to the Vertx eventbus.I know we can increase the size of the web socket frame, but trying to find a solution that can splitmessages into multiple frames and hence pretty much work for any frame size setting.Assuming the default 65K frame size and lets say I want to handle a 130K messagethat would require two frames. And the client sends 1 continuation frame and 1 final frame.Appreciate some help with the following questions:1. When sending - I know I can write the first frame as a continuation frame and then the final frame.But what is unclear is that does the application also have to ensure that these two frames are contiguousin the web socket queue i.e. if there are multiple threads writing these large messages, then some kindof synchronization is needed to ensure all frames associated with a single message are contiguous ?
2. When receiving - if these SockJS messages are destined for the event bus ..... how does Vertxdeal with the assembly ? Or is there an expectation that the SockJSBridgeHandler has to do all the assembly ?
Thanks--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/1b1ed0a2-972b-4af5-80cf-644f0d898ea7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/ca2dc90d-a035-4153-a49d-a0b567f47f56%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/ca2dc90d-a035-4153-a49d-a0b567f47f56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/1_dVQla4Pv0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/A1C7F395-6936-4FA6-91E0-C77A89A73137%40julienviet.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CAMasrU5OZorXL9%2BjCweZn2oVoXPJXpS2aJuiL8jzOt7ondia7Q%40mail.gmail.com.