ronindev

ronindev

Turso with ecto, any solution

Hey folks! :waving_hand:

I’m a big fan of SQLite and recently came across Turso, which offers distributed SQLite with edge capabilities. I was wondering — is there currently any way to integrate Turso with Elixir using Ecto?

Ideally, I’d love to use it alongside Ash Framework, and I think it would be an amazing combo — fast, lightweight, and perfect for edge/decentralized setups.

Has anyone explored this already? Or would it require a custom Ecto adapter to make it work with Turso’s libSQL backend?

Would love to hear your thoughts or experiences!

Most Liked

dimitarvp

dimitarvp

When I finally get over the slump of GitHub actions running out of memory during very tame and minimal tests, I’ll officially release my Elixir <=> Rust bridge library that works with SQLite. My test suite can very likely be reused to test Turso as well.

I’m keeping an eye on them but their Rust SQLite implemention is extremely raw.

In any case, after I release my library I’ll be neck-deep into making a 100% coverage Ecto3 adapter. Hopefully that can be reused for Turso as well.

Zero promises on distribution features however. Was never my focus and likely never will be.

dimitarvp

dimitarvp

Ah, I am aware, thanks. But I am only interested in their pure Rust thing.

Don’t know when will people finally grow up and get the elementary fact that C will never be safe. Guess not in my lifetime.

Where Next?

Popular in Questions Top

vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New

Other popular topics Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New

We're in Beta

About us Mission Statement