4 ms·
I love SQL and I believe it will have a big jump in popularity with microservices. Each service should have a separate data source and being the sole responsab
by siscia 9y ago
I love SQL and I believe it will have a big jump in popularity with microservices.
Each service should have a separate data source and being the sole responsable of a specific part of the data.
In this environment however a full RDBMS is a little an overkill.
The solution I am working on is RediSQL: https://github.com/RedBeardLab/rediSQL https://github.com/RedBeardLab/rediSQL
It is a Redis module that embed SQLite.
Redis is nowadays a common piece in any infrastructure.
The little module plugs into Redis and expose a new command REDISQL.EXEC that provide the ability to run SQL statement.
It is multithread, does not impact the performance of Redis, and very simple to use.
Great write performance, I got 50k inserts per second on my machine, that should be enough for most microservices.
I would love any kind of feedback on the module or if you need any help to get you started just open an issues.
https://github.com/RedBeardLab/rediSQL https://github.com/RedBeardLab/rediSQL