Benchmark eth JSON RPC endpoints #24
Labels
No Label
bug
critical
documentation
duplicate
enhancement
Epic
good first issue
help wanted
Integration tests
invalid
question
v5
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/ipld-eth-server#24
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Compare benchmarks for
In cases where trie traversal is usually needed we should see a significant performance improvement as we can avoid this iteration and reduce the number of db lookups.
E.g. any lookup where we need to access a state or storage leaf node, such as
eth_getBalance
,eth_getStorageAt
,eth_getTransactionCount
,eth_getCode
.Normally these lookups proceed through the
trie.Trie.TryGet()
which is an iterative function that retrieves the value for the provided key (path) by walking down the trie from the root to the node at that the provided path (requiring separate db lookups at each step). We can instead look the leaf node up from our statediff database in a single Postgres db transaction.@dboreham @telackey I'm going to close this very dated benchmarking issue since you two are managing that