edgedb-examples
imdbench
edgedb-examples | imdbench | |
---|---|---|
3 | 11 | |
55 | 217 | |
- | 2.8% | |
8.0 | 1.0 | |
5 days ago | 12 days ago | |
TypeScript | Python | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
edgedb-examples
-
Build your own documentation chatbot with ChatGPT and EdgeDB
Create a docs folder in the root of the project. Here we will place our Markdown documentation files. You can grab the files we use from the example project’s GitHub repo or add your own. (If you use your own, you may also want to adjust the system message we send to OpenAI later.)
-
some beginner questions about edgedb
EdgeDB employee here. Regarding tech stacks, we're seeing the most adoption in the JS/TypeScript ecosystem, especially Next.js and Remix users. That's followed by Python then Go. We've been prioritizing Deno and will be working in the near future to make our query builder Deno-compatible as well. You can see an (very simplistic) example project showing how to use EdgeDB in a Deno Fresh app: https://github.com/edgedb/edgedb-examples/tree/main/deno-fresh
-
EdgeDB 2.0
We're still working out the kinks, but some form of this will definitely be possible.
You can already hack this by defining access policies and writing an EdgeQL proxy server that authenticates incoming requests, sets the appropriate global, and forwards the query to the database. There's a Python/Flask implementation of this pattern here[0].
We also have a JavaScript example app demonstrating access policies to simplify authorization logic using Next.js/getServerSideProps[1] and a user management platform you may have heard of called Clerk[2] :)
[0] https://github.com/edgedb/edgedb-examples/tree/main/flask-pr...
[1] https://github.com/edgedb/edgedb-examples/blob/main/nextjs-a...
[2] https://clerk.dev/
imdbench
- PostgresJs: The Fastest full featured PostgreSQL client for Node.js and Deno
-
Why is Prisma so popular and who the hell is using it for production?
[0] https://github.com/edgedb/imdbench
-
EdgeDB 2.0
Only the query compiler is in pure Python and you only hit that once per query, as the compilation result is trivially cached. The hot path is a combination of Cython, C and Rust. We have a suite of benchmarks [1] that show relative overhead of EdgeDB compared to raw Postgres is quite low.
[1] https://github.com/edgedb/imdbench
-
How slow are ORMs, really?
We spent a lot of time optimizing every benchmark. Here's what creator of sqlalchemy said about our code: https://github.com/edgedb/imdbench/pull/46 (and then he proposed improvements). We'll surely take a look at prefetch_related.
- IMDBench – Benchmarking ORMs with realistic queries
- Benchmarking TypeScript ORMs: Prisma vs Sequelize vs TypeORM vs EdgeDB
- Benchmarking Python and JavaScript ORMs: Django, SQLAlchemy, Prisma, TypeORM, Sequelize, EdgeDB
- Performance: SQLAlchemy vs Django vs EdgeDB
What are some alternatives?
vlcn-orm - Develop with your data model anywhere. Query and load data reactively. Replicate between peers without a central server.
cr-sqlite - Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite
better-sql - Generate sql query from a concise query syntax inspired from EdgeDB and GraphQL
rfcs - RFCs for major changes to EdgeDB
edgedb-cli - The EdgeDB CLI
edgedb-go - The official Go client library for EdgeDB
prisma1 - 💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB) [deprecated]
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
pitwall-pg - A postgres library to help write safe, parameterized, transaction-aware SQL for when an ORM or query builder isn't the right tool for the job