Skip to content

[RFC] Procedure call batching #160

Closed

Description

@KATT

Would be cool if one could automatically batch all parallel queries into the same request on the client. https://github.com/graphql/dataloader for inspo.

Shouldn't be that hard to do. Could enable some cool stuff like making a db transaction across multiple parallel mutations.


considerations:

  • should query/mutation/subscriptions be able to batched together or should we batch per type?
  • query-specific: how to avoid caching of a mix of "public"/"private" procedures if one uses caching
  • subscriptions: tricky
  • opt-in or opt-out?

Activity

  1. changed the title [-][RFC] Query batching[/-] [+][RFC] Procedure call batching[/+] on Mar 8, 2021
  2. added a commit that references this issue on Mar 8, 2021
  3. locked and limited conversation to collaborators on Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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