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

hub (wallet server) now uses Elasticsearch to handle claim_search and resolve requests for added performance and reliability #3153

Merged
merged 104 commits into from
Mar 24, 2021

Conversation

shyba
Copy link
Member

@shyba shyba commented Jan 20, 2021

backwards-incompatible: This release includes a new dependency on Elasticsearch for the hub (wallet server) to function properly and therefore is not a drop-in replacement. Make sure you have an Elasticsearch service running with which the hub can connect. This does not affect the lbrynet client used on desktop.

@lbry-bot lbry-bot assigned shyba and unassigned jackrobison Mar 22, 2021
@@ -32,10 +32,13 @@

# other_params: None means cannot be called with keyword arguments only
# any means any name is good
from functools import lru_cache
Copy link
Member

Choose a reason for hiding this comment

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

should lbry.utils.LRUCache be used here instead? functools.lru_cache has a RLock

lbry/wallet/server/db/elasticsearch/search.py Outdated Show resolved Hide resolved
lbry/wallet/server/db/elasticsearch/search.py Outdated Show resolved Hide resolved
lbry/wallet/server/db/elasticsearch/search.py Outdated Show resolved Hide resolved
lbry/schema/result.py Show resolved Hide resolved
lbry/schema/result.py Outdated Show resolved Hide resolved
lbry/wallet/server/db/elasticsearch/search.py Outdated Show resolved Hide resolved
lbry/wallet/server/db/elasticsearch/search.py Outdated Show resolved Hide resolved
lbry/wallet/server/db/elasticsearch/search.py Outdated Show resolved Hide resolved
lbry/wallet/server/db/elasticsearch/search.py Outdated Show resolved Hide resolved
lbry/wallet/server/db/elasticsearch/search.py Outdated Show resolved Hide resolved
@jackrobison jackrobison merged commit 2cc7e5d into master Mar 24, 2021
@jackrobison jackrobison deleted the elasticsearch branch March 24, 2021 20:44
@eukreign eukreign changed the title hub: use Elasticsearch for claim_search and resolve calls hub (wallet server) now uses Elasticsearch to handle claim_search and resolve requests for added performance and reliability Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: hub type: new feature New functionality that does not exist yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants