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

Optimized Data Transmission: Sending Only Changed Data to Reduce Response Sizes #101

Open
grantcopley opened this issue May 2, 2023 · 0 comments
Assignees
Milestone

Comments

@grantcopley
Copy link
Collaborator

grantcopley commented May 2, 2023

Objective:

Enhance data transmission efficiency in CBWIRE by minimizing the data payload.

Details:

CBWIRE, adhering to principles outlined in Caleb Porzio's deep dive on Livewire, implements strategies to reduce the amount of data sent in responses. Key to this is the use of specific properties and comparison methods.

Expected Functionality:

HTML Hash Comparison:

Before sending HTML content, CBWIRE computes its hash. For subsequent requests, it compares the new HTML hash with the previous one. If they match, it implies no change in the HTML, and hence, the full HTML is not resent, reducing the payload size.

Data Differencing:

Similar to HTML, CBWIRE efficiently handles data transmission. Instead of sending complete data sets, it compares the current data state with the previous one and transmits only the differences, akin to a data "diff." This approach ensures that only changed or updated data elements are sent in each response.

@grantcopley grantcopley changed the title Responses should only include DATA that has changed to cut down on response sizes. Responses should only include DATA that has changed to cut down on response sizes May 2, 2023
@grantcopley grantcopley added this to the 3.3 milestone Jan 5, 2024
@grantcopley grantcopley changed the title Responses should only include DATA that has changed to cut down on response sizes Optimized Data Transmission: Sending Only Changed Data to Reduce Response Sizes Jan 7, 2024
@grantcopley grantcopley self-assigned this Jan 7, 2024
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