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

feat: autosharding core logic #669

Merged
merged 7 commits into from
Aug 25, 2023
Merged

Conversation

chaitanyaprem
Copy link
Collaborator

@chaitanyaprem chaitanyaprem commented Aug 23, 2023

Description

Implemented basic autosharding logic based on current nwaku master.
Note that algo mentioned as per waku-org/nwaku#1854 has been removed probably to enhance in the future(which talks about bias etc).

Changes

  • Updated content topic and pubsub topic related code
  • Hashing algo to arrive at pubsubTopic from a content-topic as per rfc 51

@status-im-auto
Copy link

status-im-auto commented Aug 23, 2023

Jenkins Builds

Click to see older builds (24)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 703e4f4 #1 2023-08-23 11:34:20 ~1 min linux 📦deb
✖️ 703e4f4 #1 2023-08-23 11:34:27 ~1 min tests 📄log
✖️ 703e4f4 #1 2023-08-23 11:34:44 ~1 min tests 📄log
✔️ 703e4f4 #1 2023-08-23 11:35:16 ~2 min nix-flake 📄log
✔️ 703e4f4 #1 2023-08-23 11:36:55 ~3 min android 📦tgz
✔️ 703e4f4 #1 2023-08-23 11:37:24 ~4 min ios 📦tgz
✖️ 04ba96d #2 2023-08-24 04:12:03 ~27 sec tests 📄log
✔️ 04ba96d #2 2023-08-24 04:12:10 ~33 sec linux 📦deb
✖️ 04ba96d #2 2023-08-24 04:13:00 ~1 min tests 📄log
✔️ 04ba96d #2 2023-08-24 04:13:31 ~1 min nix-flake 📄log
✔️ 04ba96d #2 2023-08-24 04:15:16 ~3 min android 📦tgz
✔️ 04ba96d #2 2023-08-24 04:22:53 ~11 min ios 📦tgz
✖️ 629c380 #3 2023-08-24 07:15:49 ~27 sec tests 📄log
✖️ 629c380 #3 2023-08-24 07:15:49 ~25 sec tests 📄log
✔️ 629c380 #3 2023-08-24 07:15:55 ~33 sec linux 📦deb
✔️ 629c380 #3 2023-08-24 07:17:16 ~1 min nix-flake 📄log
✔️ 629c380 #3 2023-08-24 07:18:50 ~3 min android 📦tgz
✔️ 629c380 #3 2023-08-24 07:20:00 ~4 min ios 📦tgz
✔️ a9addcd #4 2023-08-24 07:25:31 ~38 sec linux 📦deb
✔️ a9addcd #4 2023-08-24 07:26:39 ~1 min tests 📄log
✔️ a9addcd #4 2023-08-24 07:26:46 ~1 min tests 📄log
✔️ a9addcd #4 2023-08-24 07:26:48 ~1 min nix-flake 📄log
✔️ a9addcd #4 2023-08-24 07:27:53 ~2 min android 📦tgz
✔️ a9addcd #4 2023-08-24 07:29:01 ~4 min ios 📦tgz
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ df32faf #5 2023-08-24 08:32:59 ~36 sec linux 📦deb
✔️ df32faf #5 2023-08-24 08:33:42 ~1 min tests 📄log
✔️ df32faf #5 2023-08-24 08:34:09 ~1 min tests 📄log
✔️ df32faf #5 2023-08-24 08:34:22 ~1 min nix-flake 📄log
✔️ df32faf #5 2023-08-24 08:35:46 ~3 min android 📦tgz
✔️ df32faf #5 2023-08-24 08:36:15 ~3 min ios 📦tgz
✔️ 93ea509 #6 2023-08-25 04:20:56 ~1 min linux 📦deb
✔️ 93ea509 #6 2023-08-25 04:21:03 ~1 min tests 📄log
✔️ 93ea509 #6 2023-08-25 04:21:32 ~1 min tests 📄log
✔️ 93ea509 #6 2023-08-25 04:21:35 ~1 min nix-flake 📄log
✔️ 93ea509 #6 2023-08-25 04:23:15 ~3 min android 📦tgz
✔️ 93ea509 #6 2023-08-25 04:24:24 ~4 min ios 📦tgz

Copy link
Member

@richard-ramos richard-ramos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

waku/v2/protocol/content_topic.go Outdated Show resolved Hide resolved
@chaitanyaprem chaitanyaprem merged commit 44d3ef6 into master Aug 25, 2023
2 checks passed
@chaitanyaprem chaitanyaprem deleted the feat/autosharding-core-algo branch August 25, 2023 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants