Skip to content

Cache more blockchain state so as to offload zcashd (performance) #387

Description

@LarryRuane

zcash/zcash#5957 (comment)

This is also partly a lightwalletd problem. It's not great that zcashd's global locking (inherited from upstream) can cause these kinds of slowdowns. However, lightwalletd was originally designed as a caching layer so that it could scale to large numbers of clients, and not be overly affected by this kind of issue. The fact that for the newer transparent gRPC methods it only acts as a direct passthrough to the zcashd RPC, without any caching or timeout handling, is a problem that should be solved there. In particular, if lightwalletd built and maintained the address index itself (from the same stream of blocks that it builds its compact block cache), then it would be completely impervious to this kind of problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions