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

186293095 - Add more connections dinamically #888

Merged
merged 22 commits into from
Nov 7, 2023

Conversation

iduartgomez
Copy link
Collaborator

@iduartgomez iduartgomez commented Nov 6, 2023

Changes in this PR:

  • Peers will try to acquire more connections automatically now if they don't have reached the max number of connections.
    Now we have a background task that will maintain the quality and number of connections automatically.
  • Ideal join location criteria selected by topology manager now.
  • Operations now time out and are clean up automatically.
  • Fixed multiple minor issues with the connect op so all state transitions are correct now.
  • Fixed some issues with the event log serialization, more robust testing.
  • Optimized transaction type so is more packed and faster to copy (only 16 bytes size now)

@iduartgomez iduartgomez force-pushed the 186293095-add-more-connections-dinamically branch from 8bc5080 to e3aa791 Compare November 6, 2023 15:25
@iduartgomez iduartgomez force-pushed the 186293095-add-more-connections-dinamically branch from e3aa791 to 007ceab Compare November 6, 2023 15:27
@iduartgomez iduartgomez requested a review from sanity November 6, 2023 15:33
@iduartgomez iduartgomez force-pushed the 186293095-add-more-connections-dinamically branch from 2701b5e to 49a281f Compare November 6, 2023 16:30
Copy link
Collaborator

@sanity sanity left a comment

Choose a reason for hiding this comment

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

A few questions

crates/core/src/ring.rs Show resolved Hide resolved
crates/core/src/ring.rs Show resolved Hide resolved
crates/core/src/ring.rs Outdated Show resolved Hide resolved
crates/core/src/ring.rs Outdated Show resolved Hide resolved
@iduartgomez iduartgomez force-pushed the 186293095-add-more-connections-dinamically branch from 5c555fe to 959b855 Compare November 7, 2023 08:41
@iduartgomez iduartgomez force-pushed the 186293095-add-more-connections-dinamically branch from c9e70fc to 01f310c Compare November 7, 2023 10:48
@iduartgomez iduartgomez force-pushed the 186293095-add-more-connections-dinamically branch from 08a6485 to 2aed99a Compare November 7, 2023 12:19
@iduartgomez iduartgomez merged commit 48f6a12 into main Nov 7, 2023
@iduartgomez iduartgomez deleted the 186293095-add-more-connections-dinamically branch November 7, 2023 12:19
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.

2 participants