BryceCanyonCounty / BryceCanyonCounty/bcc-crypt

Results

Open
#1 1 comment 2 reactions 0 assignees View on GitHub
documentation
Dominant language
Lua
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Using zLib DEFLATE, almost 70% savings on data sent from Server->Client, and vice versa.

![image](https://github.com/user-attachments/assets/bf747eea-261d-4099-bfc3-349920598d2d)

Scenario for just 1 Server->Client Event:
- The server sends 12 x 7.7 KB **(92.4 KB)** of data simultaneously to all players every 1 minute
- If there's **80 players**, it would be 7.392 KB **(7.4 MB)**
- In a day, it would be 10.644.480 KB **(10.6 GB)** of data sent to client

Plain:
12 * 7.7 = **92.4**
92.4 * 80 = **73.920**
73.920 * 60 * 24 = **10.6444.800 (10.6 GB)**

Now, using **zLib DEFLATE**:
12 * 2.6 = **31.2**
31.2 * 80 = **2.496**
2496 * 60 * 24 = **3.594.240 (3.6 GB)**

From **10.6 GB** down to **3.6 GB** is huuuuuge, and that's just for a single event/script... 🥇

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue reports zLib DEFLATE savings for Server-to-Client and Client-to-Server traffic but names no files, tests, or entry points. First inspect the library structure and identify where network data is handled; completion would require a defined integration scope and validation of the reported transfer savings.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.