Skip to content

Explore supporting StreamExecute/OLAP workloads #55

Open

Description

@mattrobenolt

Within some contexts, especially serverless, the memory limits are very low in process. So it can be desirable when performing aggregations in process, or if also streaming out to the end user, to be able to leverage StreamExecute from our API.

I will say, this is going to be rather non-trivial, but I'd like us to see what it'd take to support without fully adopting connect-web or protobufs.

Streaming requires adopting the Connect protocol, rather than simply application/json, which can be done, and is done within connect-web. https://connect.build/docs/protocol#streaming-response

To add to this, this feature is required to support OLAP queries.

cc @reconbot

Activity

  1. mattrobenolt commented on Aug 25, 2022

    @mattrobenolt
    MemberAuthor

    This is a functioning POC https://github.com/proxy/gist.github.com/mattrobenolt/6ca8c37185578cac8970de5a82dcfd52

    It definitely needs more work. I also talked with the buf folks, and they agree that we should vendor in their codec stuff like I'm doing here.

  2. changed the title [-]Explore supporting StreamExecute[/-] [+]Explore supporting StreamExecute/OLAP workloads[/+] on Oct 1, 2023
  3. sabin26 commented on Jul 28, 2024

    @sabin26

    I need to use streaming api with Cloudflare Workers. Mysql drivers that support streaming are not compatible with workers. Is there any plan to support this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions