Replies: 1 comment 1 reply
-
Thus, I wonder if there's really a real use-case for this? It seems like this comes from a supposition than an actual benchmark? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is your idea? Provide a use case.
Kupo could support an interface to query multiple addressed at once.
For DEXs or DeFi protocols that support a variety of (parameterized, upgraded, ...) Smart Contracts, not all registered with the same stake key hash, using kupo would mean querying either the whole database or multiple addresses separately. This could be made much faster by supporting a single request with multiple addresses.
Why is it a good idea?
Matching multiple addresses in a single query allows the database to optimize the case where a full scan of the database would be necessary. It can also improve the caching behaviour. It is probably worth testing these assumptions before implementation.
What is the current alternative and why is it not good enough?
See above.
Beta Was this translation helpful? Give feedback.
All reactions