You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+77-9Lines changed: 77 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,20 @@
7
7
8
8
<!-- MDOC !-->
9
9
10
-
Brings an extensible SQL parser and sigil to Elixir, confidently write SQL with automatic parameterized queries.
10
+
SQL provides **state-of-the-art, high-performance SQL integration for Elixir**, built to handle extreme concurrency with **unmatched expressiveness and ergonomic query composition**. Write **safe, composable, parameterized queries** directly, without translating to Ecto or any ORM.
11
11
12
-
- Lower the barrier for DBAs to contribute in your codebase, without having to translate SQL to Ecto.Query.
13
-
- Composable queries, no need for you to remember, when to start with select or from.
14
-
- Interpolation-al queries, don't fiddle with fragments and `?`.
12
+
SQL is a **foreign language integration**, letting you write SQL naturally while Elixir handles **transactions, concurrency, and query planning** for you. Unlike typical ORMs, SQL scales **diagonally on the BEAM**, fully leveraging multicore hardware under load.
13
+
14
+
15
+
### Highlights
16
+
17
+
-**Extreme Concurrency:** Hundreds of processes can execute queries simultaneously without blocking pools.
18
+
-**Diagonal Scaling:** Utilizes BEAM concurrency to maximize throughput, far beyond traditional connection pool limits.
19
+
-**Composable Queries:** No need to remember `SELECT` vs `FROM` order—queries are fully composable via `~SQL`.
20
+
-**Safe Interpolation:** Automatically parameterized queries; no need to manually handle fragments or `?`.
21
+
-**SOTA Performance Across Languages:** Benchmarks show SQL outperforming Ecto by **orders of magnitude** under heavy load.
22
+
-**Ergonomic & Expressive:** Intuitive syntax for queries, transactions, and mapping result sets.
23
+
-**Streaming Large Datasets:** Efficiently stream millions of rows without blocking memory or reducing concurrency.
SQL is **not just fast**—it’s a **breakthrough in high-concurrency database integration**. Benchmarks were run with **500 parallel processes executing transactions simultaneously** on a **pool of 10 connections**, something most ORMs—including Ecto—cannot handle.
153
+
-**SQL** executes **thousands of transactions per second**, scaling **diagonally with BEAM concurrency**, fully utilizing cores without pool bottlenecks.
154
+
-**Ecto**, under the same conditions, falls behind by **orders of magnitude**, struggling with queueing, blocking, and memory overhead.
0 commit comments