Comments (8)
Opening Indy connections is now done in parallel and on startup, not on the first resolve request
from universal-resolver.
Another solution would be to include the values for the environment variables in .env. I am not sure whether this would have any advantages, but it seems like this is how it is solved for the Sov Driver
from universal-resolver.
Hello, thanks for your detailed report!
You're right that entries were missing in .env
, I just added them in c690f14
I also just updated the example in the README in 7741068.
With regard to the sovrin pool, we will investigate this separately, see also my comment in decentralized-identity/uni-resolver-driver-did-indy#3.
from universal-resolver.
@dennisn00 could you try again if it works now and if this issue is resolved?
from universal-resolver.
Thanks for you response @peacekeeper. I tested with the sov and indy DIDs provided in the ReadMe. In both cases I got a Error Cannot create Pool Config 'staging'
.
I removed the staging/sovrin:staging entries in the .env
for indy and sov and now both examples are resolving.
Both are still taking 10 to 60 seconds for resolving (however, subsequent requests to the same DID method but with a different DID are a lot faster). From the logs it seems like all wallets and all Pools are opened on the first request. Is that intentional?
from universal-resolver.
I removed the staging/sovrin:staging entries in the
.env
for indy and sov
Hi, I just renamed "staging" to "test" in .env, I think this should work: 4e554e5
From the logs it seems like all wallets and all Pools are opened on the first request. Is that intentional?
Yes that's how we implemented it for now. Perhaps it would make more sense to open the wallets and pools only for a network once it's requests, or maybe all wallets and pools should be opened when the driver starts (before the first request). Or maybe they could all be opened simultaneously in parallel threads, not sure. There's definitely room for improvement.
from universal-resolver.
Yes, it seems to work now. Maybe I will have some time in the next days to try to speed up the wallet and pool opening.
from universal-resolver.
try to speed up the wallet and pool opening
That would be very welcome of course. This part of the code is mostly in another repo: https://github.com/danubetech/libindy-common-java
from universal-resolver.
Related Issues (20)
- Please remove or clearly mark all resolvers or example DIDs that are using deprecated or invalid structures or are just broken HOT 5
- Unable to run locally due to over-allocated port
- Unable to test Driver for new DID method locally HOT 2
- Certificate expired on https://uniresolver.io/ HOT 1
- Inline verification methods not shown
- unable to use dev.uniresolver.io HOT 1
- Resolve on https://dev.uniresolver.io/ is not working HOT 1
- Add support for linux/arm64 architecture to build on Mac HOT 3
- Link in Readme for Indy Driver might be incorrect HOT 2
- Unable to run current ci/get-driver-status as either python exe of docker container
- What HTTP code should api-driver return when DID is not found? HOT 1
- Update did:example PR to use a specific version and not "latest" HOT 1
- Update drivers with "latest" tag HOT 1
- Automated checks to prevent use of "latest" tag in drivers
- Docs CTA (Call-to-action) Component
- did:ethr driver error:500 Internal Server Error HOT 3
- Error when resolving certain DIDs HOT 1
- Fathom tracking on Docs site HOT 1
- How to test on Mac OS M1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from universal-resolver.