gluesql / gluesql

GlueSQL is quite sticky. It attaches to anywhere.

Home Page:https://gluesql.org/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Elixir binding for GlueSQL storages

MRGRAVITY817 opened this issue · comments

Background

Elixir, a functional programming language which runs above BEAM(Erlang virtual machine), has earned its reputation for being scalable, fault-tolerant and reliable in distributed systems. The language itself has ranked 2nd most loved programming language, and web framework Phoenix is ranked as the most loved framework in 2023 StackOverflow Developer Survey.

Discord, which is one of the pioneers who adopted Elixir from day one, has posted a blog article about how they had leveraged the performance of their Elixir-based infrastructure by adopting Rust library into it. For further details, check this link.

As more Rust libraries being adopted in Elixir projects like this case, I strongly believe introducing GlueSQL storages in Elixir ecosystem will show another creative way to manage data in web/and various other projects.

Suggestion

It would be nice to start with memory storage. Elixir/Erlang already has it's own default memory storage called ETS, which can be used with the query builder ETSO. It's a very handy stuff, but not that performant. Making comparison between ETS and memory storage in BEAM will be very interesting.