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

[pact integration] bloom filter cache for pact txs in blocks #12

Merged
merged 8 commits into from
Mar 19, 2019

Conversation

gregorycollins
Copy link
Contributor

Current implementation of pact /poll and /lookup are going to be really expensive. If we precompute a bloom filter for pact txs at each block we can skip lookup + decode for most blocks.

@gregorycollins gregorycollins marked this pull request as ready for review March 19, 2019 17:20
@gregorycollins gregorycollins requested a review from fosskers March 19, 2019 17:22
@gregorycollins gregorycollins merged commit 94adf4f into master Mar 19, 2019
@gregorycollins gregorycollins deleted the feature/pact-lookup-bloom branch March 19, 2019 18:39
mightybyte pushed a commit that referenced this pull request Feb 14, 2021
@Nixiangyu Nixiangyu mentioned this pull request Jun 22, 2022
chessai pushed a commit that referenced this pull request Jun 27, 2024
* Initial go at delete range support

* Configuration foibles

* Default options for withTempRocksDb

* FFI x 2

* Hm

* Add compact range

* Allow omitting range bounds

* Try to fix Mac build

* Modern default settings for RocksDB

maxOpenFiles = -1
writeBufferSize = 64MB

* Make compaction safe

* Use unsafePackCStringFinalizer in get

* Add extra build requirements to README

* Use more unsafeUseAsCStringLen
chessai pushed a commit that referenced this pull request Jun 27, 2024
We can't control what C compiler the user has available, and `-Werror` effectively makes forward compatibility impossible. This is probably fixed in a newer RocksDB, but we haven't updated, so for now just live with what we have.
chessai pushed a commit that referenced this pull request Aug 6, 2024
We can't control what C compiler the user has available, and `-Werror` effectively makes forward compatibility impossible. This is probably fixed in a newer RocksDB, but we haven't updated, so for now just live with what we have.
chessai pushed a commit that referenced this pull request Aug 6, 2024
* Initial go at delete range support

* Configuration foibles

* Default options for withTempRocksDb

* FFI x 2

* Hm

* Add compact range

* Allow omitting range bounds

* Try to fix Mac build

* Modern default settings for RocksDB

maxOpenFiles = -1
writeBufferSize = 64MB

* Make compaction safe

* Use unsafePackCStringFinalizer in get

* Add extra build requirements to README

* Use more unsafeUseAsCStringLen
chessai pushed a commit that referenced this pull request Aug 6, 2024
We can't control what C compiler the user has available, and `-Werror` effectively makes forward compatibility impossible. This is probably fixed in a newer RocksDB, but we haven't updated, so for now just live with what we have.
chessai pushed a commit that referenced this pull request Aug 6, 2024
* Initial go at delete range support

* Configuration foibles

* Default options for withTempRocksDb

* FFI x 2

* Hm

* Add compact range

* Allow omitting range bounds

* Try to fix Mac build

* Modern default settings for RocksDB

maxOpenFiles = -1
writeBufferSize = 64MB

* Make compaction safe

* Use unsafePackCStringFinalizer in get

* Add extra build requirements to README

* Use more unsafeUseAsCStringLen
chessai pushed a commit that referenced this pull request Nov 13, 2024
We can't control what C compiler the user has available, and `-Werror` effectively makes forward compatibility impossible. This is probably fixed in a newer RocksDB, but we haven't updated, so for now just live with what we have.
chessai pushed a commit that referenced this pull request Dec 10, 2024
* Initial go at delete range support

* Configuration foibles

* Default options for withTempRocksDb

* FFI x 2

* Hm

* Add compact range

* Allow omitting range bounds

* Try to fix Mac build

* Modern default settings for RocksDB

maxOpenFiles = -1
writeBufferSize = 64MB

* Make compaction safe

* Use unsafePackCStringFinalizer in get

* Add extra build requirements to README

* Use more unsafeUseAsCStringLen
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