• Tim Myers's avatar
    fix(dtl): improve slow blocking JSON parsing that occurs during l2 sync (#1019) · 8ac4c74c
    Tim Myers authored
    The use of eth_getBlockRange returns a large response which is very
    slow to parse in ethersjs, and can block the event loop for upwards
    of multiple seconds.
    
    When this happens, incoming http requests will likely timeout and fail.
    
    Instead, we will parse the incoming http stream directly with the bfj
    package, which yields the event loop periodically so that we don't
    fail to serve requests.
    8ac4c74c
Name
Last commit
Last update
..
README.md Loading commit data...
chilled-books-grab.md Loading commit data...
cold-cows-cross.md Loading commit data...
config.json Loading commit data...
cool-baboons-guess.md Loading commit data...
dull-fishes-type.md Loading commit data...
fair-maps-pretend.md Loading commit data...
fuzzy-dogs-share.md Loading commit data...
great-shrimps-rule.md Loading commit data...
kind-houses-rush.md Loading commit data...
late-countries-guess.md Loading commit data...
nasty-dots-grow.md Loading commit data...
neat-melons-lie.md Loading commit data...
nervous-bobcats-grow.md Loading commit data...
seven-carpets-tell.md Loading commit data...
sharp-files-knock.md Loading commit data...
silent-masks-hunt.md Loading commit data...
slimy-rivers-promise.md Loading commit data...
smooth-ears-pay.md Loading commit data...
ten-spiders-boil.md Loading commit data...
thin-waves-bathe.md Loading commit data...
unlucky-shoes-bake.md Loading commit data...
wet-falcons-talk.md Loading commit data...