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

FIx waku double message issue #32

Merged
merged 10 commits into from
Mar 21, 2025
Merged

FIx waku double message issue #32

merged 10 commits into from
Mar 21, 2025

Conversation

seemenkina
Copy link
Contributor

No description provided.

Copy link

Benchmark for c7a0a7b

Click to view benchmark
Test Base PR %
add_users_to_group_10 1877.2±54.24µs 1871.4±38.03µs -0.31%
add_users_to_group_100 14.3±0.09ms 14.2±0.06ms -0.70%
add_users_to_group_1000 397.6±2.26ms 398.2±3.00ms +0.15%
add_users_to_group_500 121.7±0.75ms 122.5±1.26ms +0.66%
create_group 154.5±7.39µs 157.6±9.49µs +2.01%
create_user 189.5±4.58µs 188.3±4.44µs -0.63%
create_user_with_group 367.5±17.75µs 371.8±12.33µs +1.17%
share_kp_benchmark 1831.6±23.16µs 1839.2±39.67µs +0.41%

Copy link

github-actions bot commented Feb 4, 2025

Benchmark for 0a19c11

Click to view benchmark
Test Base PR %
add_users_to_group_10 1854.5±17.30µs 1853.1±17.80µs -0.08%
add_users_to_group_100 14.1±0.13ms 14.0±0.07ms -0.71%
add_users_to_group_1000 400.0±2.72ms 399.3±2.68ms -0.18%
add_users_to_group_500 121.2±1.73ms 121.1±0.93ms -0.08%
create_group 157.5±8.58µs 153.7±6.93µs -2.41%
create_user 187.3±2.52µs 187.4±1.87µs +0.05%
create_user_with_group 387.3±11.09µs 375.0±12.05µs -3.18%
share_kp_benchmark 1829.0±30.02µs 1821.4±30.56µs -0.42%

- Restructured main application to separate server and Waku node initialization
- Added more detailed logging for Waku node setup and connection process
- Updated Cargo.toml to use underscore naming convention and update Alloy dependency
- Modified Dockerfile to simplify build process
- Improved error handling and task management in main application flow
- Updated package name in Cargo.toml to use hyphen instead of underscore for consistency.
- Simplified dependency paths for Waku bindings in Cargo.toml files across the project.
- Modified Dockerfile to streamline the build process by removing unnecessary release flags.
- Enhanced README with updated environment variable instructions for better clarity.
- Improved frontend button structure for better user interaction.
- Cleaned up unused code in Waku actor and related tests, enhancing maintainability.
- Added comments to clarify that the Waku node is auto-subscribing to the pubsub topic and that explicit subscription is unnecessary due to this behavior.
- Documented the limitation regarding subscription checks in Waku, referencing the related issue for better context.
…mmenting out the library section. This streamlines the configuration and focuses on Rust dependencies.
- Introduced a new benchmark configuration in Cargo.toml for `group_flow_benchmark`.
- Updated docker-compose.yml to include `PEER_ADDRESSES` environment variable.
- Enhanced README with instructions for setting `PEER_ADDRESSES` for node connections.
- Modified main.rs to parse and utilize peer addresses for Waku node connections, improving network configuration flexibility.
…process

- Added a library section in Cargo.toml to specify bench settings.
- Modified Dockerfile to create necessary source files and streamline the build process by removing redundant commands.
- Updated main.rs to improve error handling for peer address configuration.
…erfile to streamline build process, and disable CI benchmark jobs in workflow configuration.
@seemenkina seemenkina self-assigned this Mar 21, 2025
@seemenkina seemenkina merged commit 8ebeb4d into main Mar 21, 2025
2 checks passed
@seemenkina seemenkina deleted the fix_double_message branch March 21, 2025 09:25
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

Successfully merging this pull request may close these issues.

1 participant