wundergraph/wunderbase
wundergraph/wunderbase has 528 GitHub stars and 21 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-12 08:58 UTC. Last push 2022-10-26.
Serverless GraphQL Database built on top of Firecracker, SQLite and Prisma
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
is a Serverless SQLite database exposed through GraphQL. It can sleep for days and wakes up in less than a second. During sleep, you only pay for storage. It is capable to serve a medium traffic website.
- Firecracker (Fly.io Machines) Runs on top of the same technology as AWS Fargate.
- Scale to zero. Cold starts in less than 600ms.
- Fast. 10k reads / 2k writes requests per second.
- Cheap Fly.io free tier allows your to run it almost for free.
Love the idea? :heartbeat: Read the announcement blog post to get more insights!
Getting Started
1. Install dependencies
Mac
sh install-prisma-darwin.shLinux
sh install-prisma-linux.sh
2. Start the server
Run the application locally
ENABLE_SLEEP_MODE=false go run main.goRunning with Docker
docker run -p 4466:4466 -e ENABLE_SLEEP_MODE=false wundergraph/wunderbase
3. Visit the playground
Open http://0.0.0.0:4466 in your browser.
Running on fly Machines
Check out the fly.io Machines documentation on how to deploy WunderBase to fly.io. You can build the image yourself using the Dockerfile in this repo, or just use a pre-built image from Docker Hub.
Testing
Note: Requires Docker
go test ./...
Firecracker & Fly Machines
- Sleep Mode
- By default, sleep mode is enabled. This means, if there is no traffic, WunderBase will sleep. Sleep mode lets WunderBase exit with exit code 0. This indicated to fly that the application wants to sleep.
- Cold Starts
- I've measured an avg cold start time of 400-600ms.
- Backups
- We're looking at integrating Litestream or a similar service for backups. If you'd like to contribute, please reach out!
Internals
WunderBase uses the Prisma Query Engine internally to translate GraphQL queries to SQL. We've added a proxy written in Golang to add GraphiQL 2.0 as the frontend and handle the lifecycle to make the service sleep when it's not in use. We're also using the Prisma Migration Engine to run migrations.
Security
I do not recommend to expose WunderBase to the public internet. The intended use case is to run it on a private network and expose it to your frontend via an API Gateway, like WunderGraph!
Note: Get Early Access to WunderGraph Cloud - " The Vercel for Backend " 🪐 The Serverless API Developer Platform 🪄
관련 프로젝트 살펴보기
Asabeneh/30-Days-Of-Python
30 Days of Python 프로그래밍 챌린지는 Python 프로그래밍 언어를 30일 동안 배우기 위한 단계별 가이드입니다. 이 챌린지는 100일 이상 걸릴 수 있습니다. 자신의 속도에 맞춰 진행하세요. 다음 동영상도 도움이 될 수 있습니다: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,560 스타grafana/grafana
개방적이고 조합 가능한 옵저버빌리티 및 데이터 시각화 플랫폼입니다. Prometheus, Loki, Elasticsearch, InfluxDB, Postgres 등 여러 소스의 메트릭, 로그, 트레이스를 시각화합니다.
77,830 스타redis/redis
실시간 데이터 기반 애플리케이션을 구축하는 개발자에게 Redis는 가장 선호되고, 가장 빠르며, 기능이 가장 풍부한 캐시, 데이터 구조 서버이자 문서 및 벡터 쿼리 엔진입니다.
77,395 스타apache/superset
Apache Superset는 데이터 시각화 및 데이터 탐색 플랫폼입니다.
75,473 스타