2019-07-31-A Aries Working Group Call (US morning)

Summary:

  • Work updates
  • Agents vs Hubs
  • Aries SDK threading model

Note: This call is Recorded. Recordings posted at the bottom of the page.

Date

(7AM Los Angeles, 10AM New York, 3PM London, 17H Moscow)

Remember the Hyperledger Code of Conduct

Anti-Trust Policy:

Linux Foundation meetings involve participation by industry competitors, and it is the intention of the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws.

Examples of types of actions that are prohibited at Linux Foundation meetings and in connection with Linux Foundation activities are described in the Linux Foundation Antitrust Policy available at http://www.linuxfoundation.org/antitrust-policy. If you have questions about these matters, please contact your company counsel, or if you are a member of the Linux Foundation, feel free to contact Andrew Updegrove of the firm of Gesmer Updegrove LLP, which provides legal counsel to the Linux Foundation.

Attendees

Welcome / Introductions

Announcements

Summary of Prior Calls and Related Meetings

  • Aries WG
  • Indy
  • Ursa

Release Status

Work Updates

RFC Progress

Other Business

  • LibAries: library threading models and synchronicity
    • Resolver and wallet might have different needs than other API functions.
    • Current design in Indy was implemented as part of IS-660

    • Uncompleted work documented as IS-898, IS-943, IS-1135

    • HIPE: https://github.com/hyperledger/indy-hipe/tree/master/text/0012-concurrency-improvement

    • Mike's concerns: https://docs.google.com/document/d/1-oabbR7n4MsLsU-MGfrwbjJvB1V4nMroW_oh2BvYVXc/edit
    • VON Anchor takes a significantly different approach:
      • https://von-anchor.readthedocs.io/en/latest/von_anchor/anchors.html#revregbuilder
      • "Neither multithreading nor green-threading primitives pass through the wrapper/shared-library barrier; subprocessing must occur early in the game before libindy sets up its dispatcher, as it operates in a separate thread(? message loop? it's been a while) that does not replicate over a fork (this is unix architecture not indy).

        "In von_anchor, An external rev reg builder process uses file system semaphores as IPC, increases rev reg size as it scales up, and anticipates one rev reg in the future so that the issuer process never waits for a rev reg build."

    • Problems with current architecture
      • not flexible enough (PicoLabs' experience)
      • hard for contributors to understand and improve
    • Advantages of current architecture
      • handles various inherent types of asynchronicity (ledger resolver, wallets, crypto)
      • hides difficulty from application developers using the library
    • Current Indy architecture:
      https://github.com/hyperledger/indy-sdk/tree/master/docs/design/012-libindy-architecture-overview
    • Proposals:
      • Keep the current Indy model of asynchronicity
      • Handle asynchronicity in the language libriaries
      • Multi-process instead of multi-thread
      • Push asynchronicity from the common library closer to the sources of asynchronicity: ledger resolver, wallet handler, crypto wrapper (or crypto moves to application tier)
        • Different threading models for Indy tier and Aries tier
    • Follow up conversation: #aries-sdk

Future Topics

Action items

Call Recording

  File Modified