https://github.com/jacob-ebey/cf-lambda-streaming
Enable your AWS Lambda hosted applications to stream responses via Cloudflare Workers.
https://github.com/jacob-ebey/cf-lambda-streaming
Last synced: 11 months ago
JSON representation
Enable your AWS Lambda hosted applications to stream responses via Cloudflare Workers.
- Host: GitHub
- URL: https://github.com/jacob-ebey/cf-lambda-streaming
- Owner: jacob-ebey
- Created: 2023-01-21T02:14:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T06:34:31.000Z (over 3 years ago)
- Last Synced: 2025-04-22T07:01:47.464Z (about 1 year ago)
- Language: JavaScript
- Size: 416 KB
- Stars: 23
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cf-lambda-streaming
Enable your AWS Lambda hosted applications to stream responses via Cloudflare Workers.
## Overview
HTTP request -> CF Worker -> CF DO configurable load balancer-> WebSocket -> AWS -> WebSocket -> CF DO -> CF Worker -> HTTP Response

## Deploying
Build the remix app:
```sh
npm run build
```
Deploy to AWS:
```sh
npx arc deploy production
```
Copy the HTTP and WS URL's printed at the end of the deployment into `wrangler.toml`
with HTTP as `ORIGIN_URL` and WS as `SOCKET_URL`.
Deploy to Cloudflare:
```sh
npx wrangler publish
```