Skip to content

instantsend: optimize db and cache usage#3986

Merged
PastaPastaPasta merged 2 commits into
dashpay:developfrom
UdjinM6:is_optim_4
Feb 24, 2021
Merged

instantsend: optimize db and cache usage#3986
PastaPastaPasta merged 2 commits into
dashpay:developfrom
UdjinM6:is_optim_4

Conversation

@UdjinM6

@UdjinM6 UdjinM6 commented Feb 6, 2021

Copy link
Copy Markdown

Please see individual commits.

Extracted from #3970 , based on #3985 #3984 atm

@UdjinM6 UdjinM6 added this to the 17 milestone Feb 11, 2021
@UdjinM6
UdjinM6 force-pushed the is_optim_4 branch 2 times, most recently from 565dc24 to aca0436 Compare February 15, 2021 10:49
unordered_lru_cache should truncate it automagically
@UdjinM6
UdjinM6 force-pushed the is_optim_4 branch 2 times, most recently from 8f04e16 to bb30250 Compare February 20, 2021 22:28
@UdjinM6
UdjinM6 marked this pull request as ready for review February 21, 2021 00:16

@xdustinface xdustinface left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK

@PastaPastaPasta PastaPastaPasta left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

utACK

@PastaPastaPasta
PastaPastaPasta merged commit 0b59104 into dashpay:develop Feb 24, 2021
@UdjinM6
UdjinM6 deleted the is_optim_4 branch July 1, 2021 21:58
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Mar 13, 2022
* instantsend: keep islocks cache when removing confirmed islocks from db

unordered_lru_cache should truncate it automagically

* instantsend: Batched write/erase for connected/disconnected blocks
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.

3 participants