parse-community / parse-community/parse-server

Streaming responses for Cloud Functions

Open
#10,607 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
21.4k
Forks
4.8k
Avg merge
7h 45m
Merged PRs (30d)
11

Description

New Feature / Enhancement Checklist
Current Limitation

Cloud Functions buffer everything and return a single JSON response. A function that proxies an LLM cannot stream tokens to the client, so the user stares at a spinner until the full completion is done. There is no workaround inside Parse itself.

Feature / Enhancement Description

A streaming variant of Cloud Functions, most likely SSE. Either a new define API or a stream handle on the request, e.g. the function writes chunks as they arrive and the client consumes them incrementally. SDK support can come later; SSE is consumable with plain fetch/EventSource from day one.

Example Use Case
  1. Define a streaming cloud function that calls an LLM with streaming enabled
  2. Client calls the function
  3. Tokens arrive at the client as the model produces them
Alternatives / Workarounds
  • Mount a separate Express route next to Parse Server (loses auth/session integration, Parse.Cloud context, etc.)
  • Polling or LiveQuery hacks writing partial output to an object
3rd Party References
  • Supabase Edge Functions support streamed responses
  • Vercel AI SDK / most LLM APIs are streaming-first

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Cloud Functions request-handling entry point and the existing response path in Parse Server. Compare the authentication and Parse.Cloud context available there with the proposed streaming approach. The work is done when a Cloud Function can deliver incremental chunks to a client while preserving the relevant Parse Server context, with coverage for the chosen behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript, node.js
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.