Skip to content
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

Is it possible to enable GZIP compression for the websocket? #1237

Open
tortmayr opened this issue Feb 2, 2024 Discussed in #1236 · 0 comments
Open

Is it possible to enable GZIP compression for the websocket? #1237

tortmayr opened this issue Feb 2, 2024 Discussed in #1236 · 0 comments

Comments

@tortmayr
Copy link
Contributor

tortmayr commented Feb 2, 2024

Discussed in #1236

Originally posted by dmm9 February 2, 2024
I was testing some diagram with a large EMF model. The displayed model consists of 3000+ top-level nodes (i.e. 3000 GNodes direct children of the root), with their corresponding sub-elements (compartments, nodes, labels) and GEdges. When analyzing the network traffic in the browser, it seems the JSON packet for the model is about 7-8 MB size.

The network transfer is one factor delaying the display of the model. I was wondering if there is any option to enable gzip compression on the websocket of the glsp server. A quick search in google points to a compression rate of ~95% for JSON with gzip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant