Comments (2)
Thanks for the kind words π
Compression is currently only applied on the database level (https://github.com/blockexchange/blockexchange_server/blob/9f0af3fdb49d89a01a11f2585406c5faaf7fe136/src/util/serializer.js#L64-L67).
There is no compression for the in-flight map-data yet, it is transferred as plain json-data (it may be compressed with gzip if the client can handle that, haven't tested that yet)
In the future, if there is significant benefit in another compression-strategy, it could be added with different version-headers, i don't see a problem with retrofitting that later π
from blockexchange.
closing this, i rewrote the server-part from nodejs to go and also changed the serialization-format and compression:
The data and metadata is now compressed with deflate
(both the server and the mod can use this) so the most cpu-intensive operation can be done on the client/mod side, the server now only needs this for the preview, all other things are basically just pass-through.
In-flight requests encode the binary data now with base64
Docs: https://github.com/blockexchange/blockexchange_server#serialized-mapblock-format
About the size-issues: i don't have worries about that yet, also: air-only blocks are handled now properly :)
Feel free to comment/reopen if you have ideas or issues π
from blockexchange.
Related Issues (20)
- deal with "whitespace"
- humanize sizes and dimensions
- explicitly name licenses
- Save prerendered images
- ignore "ignore" blocks or print warning
- Worldedit Export on the Web-UI
- Allow user-upload of self-protected areas
- worldedit import escape issue HOT 1
- /bx_ps bug
- fix size_x/y/z value on schema
- add server logging
- update/upload-support for schemaparts
- area integration
- sync/download of changed schemaparts HOT 2
- schema area enlargement support HOT 1
- Store block area info in node meta HOT 2
- Upload Enable mod to οΌgenerate an integrated compression package HOT 2
- worlds map.sqlite exchange HOT 3
- How to undo or cancel last loads HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blockexchange.