Comments (4)
@andrewwhitehead @cvarjao @jleach @WadeBarnes -- Did I get that right?
from indy-vdr.
In the Python wrapper, the open_pool
method actually takes a 'no_refresh' parameter with the assumption that it should always perform a refresh before returning.
I couldn't find it before, but it appears that the nodejs and react-native wrappers do have a 'setConfig' method that can be used to set the pool configuration globally. This should be called before creating any pool instances, if it needs to be adjusted. For speeding up the initial setup I would explore setting the request_read_nodes
parameter to 1 (default is 2) which defines the minimum number of nodes to send each request to. Along with this change it might be beneficial to reduce ack_timeout
from 20 seconds; this is the time it will wait before dispatching another request, when the first node is slow to respond. The full set of options is here (could also use documenting elsewhere):
When connecting to multiple ledgers at startup I would also make sure that those connections are performed in parallel.
from indy-vdr.
Good stuff! Questions:
ACA-Py leaves the “no_refresh” parameter as is, correct?
Is the “refresh” that results from checking that parameter get executed by the Python wrapper, or within Indy VDR itself?
What do you suggestion lowering ack_timeout
to?
I’ll get a PR in to the documentation here, and I’ll put an issue into AFJ for the changes that might be/are needed.
from indy-vdr.
Closing this issue as PR #242 has been completed where the Global Defaults were adjusted.
AFJ and other libraries are still able to update the defaults, but at least the defaults are improved.
from indy-vdr.
Related Issues (20)
- Add example app to indy vdr for React Native
- Release fix for windows builds
- Non-deterministic issue with the javascript wrapper in Node.js HOT 3
- Unable to run the indy-vdr on android HOT 3
- Refactor request builder HOT 1
- Incorrect arguments order passing in buildGetAttribRequest
- Mismatch arguments requirements for GetAcceptanceMechanismsRequestOptions in indy-vdr-shared and indy-vdr-react-native/cpp
- InvalidClientTaaAcceptanceError time too precise error if container timezone is not UTC HOT 1
- Update React Native wrapper with changes for 0.4.0 release HOT 6
- Usage of lerna 7 in CI breaks publishing script HOT 1
- did:peer support HOT 2
- Bumping up zmq version to 0.10 HOT 4
- Linking to indy_vdr lib does not work on windows. HOT 1
- release assets
- Understand and document the best practices for how to manage and refresh an Indy Pool
- Build into Indy VDR the "best practices" around getting, caching and updating a pool HOT 8
- Is golang wrapper supposed to sign and submit transaction?
- Instalation doesn't work on Macs HOT 2
- Release wrappers for Indy VDR version 0.4.2 HOT 4
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 indy-vdr.