-
Notifications
You must be signed in to change notification settings - Fork 9
[Websocket] Support roadmap #102
Comments
Hello @crazyyi, Glimpse does not currently provide diagnostic insights into web sockets, but we'd love to work with you more to understand how and why you're using websockets, and the problems you experience while doing so. Mind filling in some details covering how you're using websockets, what modules/libraries/frameworks you leverage and what you'd find helpful from Glimpse? You also mention that your "test environment doesn't go forward". Call you tell us a bit more about what you mean by that? It sounds like you might have found a bug, but we need more info. Thanks for writing in! |
Sure. I am just running a test environment using the |
So given a magic wand, you are wanting to see the connection that has been established and the messages going back and forward? What in these messages are you looking to find information on? |
@avanderhoorn yes to see the established connection and debugging and profiling. It seems to me that Glimpse is able to put server messages and client messages together. This will be very helpful to debug websocket-based apps or games. |
Technically that should be doable. Whats your socket setup like? i.e. is it like a chat client where you have multiple channels going and routing messages between groups/user or is it more for "real time" updates/notifications to the use. |
@avanderhoorn It's real time MMO server-client browser game. Sending update a few times to each client at every second. But support for chat client is also good to have because many websocket-based apps require this setup. |
Makes sense. What are the payloads like in this case, are they just plain old json objects or are they more complex? |
message format can be json object or binary stream. The payloads depend on the number of connected clients. If there are 100 connected clients and each of them receives 10 messages per second then the server will be sending 1000+ messages out per second. The client also sends messages to the server very often. Every second there may be new connection established or existing client disconnected. |
I tried to view request/response sent via websockets using Glimpse. But I can't see any. My test environment doesn't even go forward as it used to be when I init Glimpse in my code. It will stop when it tries to send the first websocket message. Does Glimpse support capturing websocket events? Glimpse is a great project. It has a friendly UI and is easy to use. But it is not very useful for me if it can't view websocket events.
The text was updated successfully, but these errors were encountered: