Comments (14)
好吧,原来在之前closed issues 里面提到过 -_-
from redis-storage.
呵呵,我认为还是统一的比较好。所以我给改动了,
推荐使用phpredis这个扩展,蛮好用的。https://github.com/shenzhe/phpredis
请持续关注和狠狠的提bug. 👍
from redis-storage.
强烈支持!
把2个高性能的东东完美结合!
本来一直在找把leveldb做成服务的东西,后来找到 node-levelup这个,在node.js下性能很好,我把它封装成http服务,结果性能不行,还是你这个给力!
在几个项目中部署这个东西也有些时间了,实际碰到了几个问题,希望能在后续版本中考虑改进:
- 单个redis能支持多个leveldb,现在我是配置多个redis来解决
- 能做成几个安装包,支持ubuntu/centos/ 32位+64位 ,因为在不同系统部署起来每次编译实在是麻烦
- leveldb啥时候能支持目录hash,我有个项目leveldb下20G数据近1万个.sst文件,在某些文件系统上单目录塞这么多文件会影响性能 (比如我有些机器是FreeBSD+ZFS,这是个大问题)
from redis-storage.
另外一个比较需要的是能否实现类似这样的功能
https://github.com/rvagg/node-levelup#dbreadstreamoptions
本身leveldb的数据是有序的,能否增加命令,用于查询某个范围的key,支持返回key或者key+value,支持正向或者逆向的限量返回
主要目的是可以进行一定程度的数据遍历,要不然很大程度还要依赖关系数据库来辅助处理数据。
from redis-storage.
嗯.这个问题。我们解决一下。现在弄成统一的。我把处理结果 也变一下。 做个统一
from redis-storage.
额,qiye的意思不会变回去吧? -_-
from redis-storage.
不会变回去的。用统一 类似redis的格式
from redis-storage.
没问题。我这几天把这个功能给加上
————————————
另外一个比较需要的是能否实现类似这样的功能
https://github.com/rvagg/node-levelup#dbreadstreamoptions
本身leveldb的数据是有序的,能否增加命令,用于查询某个范围的key,支持返回key或者key+value,支持正向或者逆向的限量返回
主要目的是可以进行一定程度的数据遍历,要不然很大程度还要依赖关系数据库来辅助处理数据。
from redis-storage.
你的sst文件大小是多少。 你可以加大write_buffer_size的数字。可以加大单个sst文件的大小。 减少sst的个数。还有,你有没有用snappy 压缩。 用snappy 也能省很多空间的
from redis-storage.
ds:write_buffer_size 999999
看leveldb的资料,它默认就是2M sst的, 改sst文件大小要改leveldb源码的,没去弄它。
snappy使用了的。
from redis-storage.
http://leveldb.googlecode.com/git-history/69c6d38342a1fab5f7f2921aa2e9c0e60ba90e35/doc/impl.html
提到了这个问题,ext3的10万个文件测试结果不慢,所以...只有一句话
"So maybe even the sharding is not necessary on modern filesystems?"
from redis-storage.
你能不能帮我们做几个安装包。我们人手有限。需要更多的朋友加入我们一起维护
能做成几个安装包,支持ubuntu/centos/ 32位+64位 ,因为在不同系统部署起来每次编译实在是麻烦
from redis-storage.
嗯,力所能及的,乐意效劳。 不过ubuntu/centos 上我没有打包经验 ,freebsd上的我抽空可以试试
from redis-storage.
哈哈。我找找教程给你哈
from redis-storage.
Related Issues (20)
- rl_系列命令有问题 HOT 6
- ds_append 命令错误操作 HOT 4
- ds_keys_asc,ds_keys_desc 导致 redis-storage 崩溃 HOT 3
- 编译问题 HOT 13
- 启动运行出错 HOT 3
- 编译找不到libleveldb库 HOT 1
- ds.c补丁,修复ds_hgetall崩溃的问题,另外将一些返回值与redis保持一致 HOT 1
- 是否有必要重新规划hash和后面zset功能的key的组织方式 HOT 6
- 贡献一个python客户端 HOT 2
- 运行问题? HOT 2
- make init error HOT 1
- ds_set 可以代替 ds_update来用
- 支持过期机制么? HOT 3
- leveldb update 问题 HOT 1
- 主从的话一台机子行不 HOT 1
- 是否可以支持 redis 3
- 键删除问题 HOT 2
- 这个项目是不维护了吧,很久没有更新了
- 编译出错 ds.c HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redis-storage.