News for hackers. Stuff that matters.
Re:Redis Re-Implemented with SQLite by jhatemyjob on Sunday April 14, 2024 @02:56PM (#40033426)
This is a great idea and I am glad it is BSD licensed. Unfortunately the execution is somewhat lacking. SQLite is best suited for embedded / clientside applications with minimal dependencies. The author of this project decided to use Go and make it a service.
Re:Redis Re-Implemented with SQLite by leetrout on Sunday April 14, 2024 @03:03PM (#40033492)
> SQLite is best suited for embedded / clientside applications with minimal dependencies.

Often repeated and certainly rooted in truth but there was a healthy discussion on here the other day[0] where tptacek shared a link in a comment[1] to a related blog post about getting more scale out of using SQLite serverside.

0: https://news.ycombinator.com/item?id=39975596

1: https://kerkour.com/sqlite-for-servers

Re:Redis Re-Implemented with SQLite by nalgeon on Sunday April 14, 2024 @02:59PM (#40033459)
Did I?

> Both in-process (Go API) and standalone (RESP) servers.

In-process means that the database is "embedded / clientside" in your terms.

Re:Redis Re-Implemented with SQLite by jhatemyjob on Sunday April 14, 2024 @03:01PM (#40033467)
It's a server.
Re:Redis Re-Implemented with SQLite by orthecreedence on Monday April 15, 2024 @01:04AM (#40037228)
Do you usually embed redis?
Re:Redis Re-Implemented with SQLite by jhatemyjob on Thursday April 18, 2024 @04:15PM (#40080244)
I would like to.
Re:Redis Re-Implemented with SQLite by orthecreedence on Thursday April 25, 2024 @01:11PM (#40160245)
You want to use an in-mem database like SQLite or DuckDB or even replicate the data structures in-code that redis uses. Redis doesn't really add a whole lot to the table over a general programming language with a good standard library other than being shared over a network.
Re:Redis Re-Implemented with SQLite by jhatemyjob on Thursday April 25, 2024 @01:18PM (#40160364)
Exactly, the standard library is what I'm after. I am currently using SQLite but I prefer the redis interface
Re:Redis Re-Implemented with SQLite by merlinran on Sunday April 14, 2024 @03:11PM (#40033548)
What would you use Redis or substitutions for in embedded/ clientside applications? Seriously asking.
Re:Redis Re-Implemented with SQLite by jhatemyjob on Wednesday April 24, 2024 @10:39PM (#40152718)
In practice iOS apps, in theory anything written in C