redka
redimo.go
redka | redimo.go | |
---|---|---|
3 | 4 | |
2,768 | 30 | |
- | - | |
9.4 | 0.0 | |
3 days ago | almost 4 years ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
redka
-
Redis Re-Implemented with SQLite
I've decided to use the max connections approach for now.
[1]: https://github.com/nalgeon/redka/blob/main/internal/sqlx/db....
redimo.go
-
Redis Re-Implemented with SQLite
Did this for DynamoDB over the pandemic. Helped me learn both the Redis API and DynamoDB. https://github.com/dbProjectRED/redimo.go
Want to do the same thing with Postgres as well.
The Redis API and data structures are really nice and have been tuned to be useful in a wide variety of situations. Implementing these APIs is different concurrent, compute and storage models is a nice way to learn them and get options open.
-
The DynamoDB Paper
The way that I learnt the ins and outs of DynamoDB (and there is a lot to learn if you want to use it effectively) is by implementing all the Redis data structures and commands on it. That helped understand both systems in one shot.
The key concept in Dynamo is that you use a partition key on all your bits of data (my mental model is that you get one server per partition) and you then can arrange data using a sort key in that partition. You can then range/inequality query over the sort keys. That’s the gist of it.
The power and scalability comes from the fact that each partition can be individually allocated and scaled, so as long as you spread over partitions you have practically no limits.
And you can do quite a bit with that sort key range/inequality thing. I was pleasantly surprised by how much of Redis I could implement: https://github.com/dbProjectRED/redimo.go
-
Run Ordinary Rails Apps Globally
Running a Fly app backed by DynamoDB Global Tables is an option. DDB keeps a copy of your data in all the regions you specify, each Fly instance can connect to the nearest region, and writes are propagated with eventual consistency & last write wins.
And most Redis commands can be mapped to DDB, I worked on a lib to do that.
https://github.com/dbProjectRED/redimo.go
https://github.com/sudhirj/aws-regions.go
https://aws.amazon.com/dynamodb/global-tables/
-
AWS open source news and updates No. 33
Redimo this open source project from Sudhir Jonathan that provides a library that allows you to use the Redis API on DynamoDB and bridges the two and translates the Redis API operations into space / time / cost-efficient DynamoDB API calls. Redimo is especially well suited to serverless environments, since there is no pool of connections to handle and DynamoDB is purpose-built for near-zero management use. Read the detailed README.md file to understand the nuances of this project.
What are some alternatives?
rq - Simple job queues for Python
redli - Redli - A humane alternative to the Redis-cli and TLS
SSDB - SSDB - A fast NoSQL database, an alternative to Redis
eks-auth-sync
sqlite - Go SQLite3 driver
appsmith - Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
pocketbase - Open Source realtime backend in 1 file
dynamolock - DynamoDB Lock Client for Go
sabledb - Ultra fast, persistent database supporting Redis API
amazon-s3-encryption-client-dotnet - An encryption client that allows you to secure your sensitive data before you send it to Amazon S3.
service-workbench-on-aws - A platform that provides researchers with one-click access to collaborative workspace environments operating across teams, universities, and datasets while enabling university IT stakeholders to manage, monitor, and control spending, apply security best practices, and comply with corporate governance.
citysim - Example city simulation for autonomous vehicles in Gazebo Classic.