yemingfeng / sdb Goto Github PK
View Code? Open in Web Editor NEWSDB :纯 Go 开发、数据结构丰富、持久化、简单易用的 NoSQL 数据库
License: BSD 2-Clause "Simplified" License
SDB :纯 Go 开发、数据结构丰富、持久化、简单易用的 NoSQL 数据库
License: BSD 2-Clause "Simplified" License
为啥不实现完?只实现了一半
There are some interesting projects trying to apply machine learning to database, for example (https://arxiv.org/abs/1712.01208), it would be nice to see if this really works in your database, and compare with other structures 👍
为什么需要 SDB?
试想以下业务场景:
计数服务:对内容的点赞、播放等数据进行统计
评论服务:发布评论后,查看某个内容的评论列表
推荐服务:每个用户有一个包含内容和权重推荐列表
以上几个业务场景,都可以通过 MySQL + Redis 的方式实现。
MySQL 在这个场景中充当了持久化的能力,Redis 提供了在线服务的读写能力。
能不能只使用一个存储就满足上面的场景呢?
答案是:非常少的。有些数据库要么是支持的数据结构不够丰富,要么数据结构不够丰富,要么是接入成本太高。。。。。。
为了解决上述问题,SDB 产生了。
=============================================================================
对于这个问题,直接使用redis就可以做到啊,又可以当内存数据库用,又可以持久化使用。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.