Effect CommunityEC
Effect Community15mo ago
5 replies
André König

Sequential execution with @effect/sql and @effect/sql-libsql

Struggling a little bit with an interesting case in my app. I already isolated it to an own reproduction case.

I'm executing transactions with @effect/sql in combination with @effect/sql-libsql. Now, I encountered that the execution is blocking. I hooked up the logic into a simple HTTP request and as you can see in this video, the requests gets processed sequentially:

https://share.cleanshot.com/9kg7RMMc

Likely that I oversee something or plainly doing something wrong. This is the isolated and trimmed down version of what I'm doing:

https://gist.github.com/akoenig/fd28ce6010c59573b774da0956d88c5f
CleanShot Cloud
Video uploaded to CleanShot Cloud
CleanShot 2024-10-18 at 09.05.17
Gist
@effect/sql: Blocking Transactions. GitHub Gist: instantly share code, notes, and snippets.
@effect/sql: Blocking Transactions
Was this page helpful?