码迷,mamicode.com
首页 >  
搜索关键字:redis sorted set有序集合 存储操作方法    ( 28209个结果
NOSQL之【redis的主从复制】
一、Redis的Replication:下面的列表清楚的解释了Redis Replication的特点和优势。 1). 同一个Master可以同步多个Slaves。 2). Slave同样可以接受其它Slaves的连接和同步请求,这样可以有效的分载Master的同步压力。因此我们可以将Redis的R...
分类:数据库   时间:2014-05-27 02:42:59    阅读次数:392
半小时快速了解redis,基于ubuntu 12.04 + redis 2.8.9
一.什么是redis ?其官方介绍是:Redisiswhatiscalledakey-valuestore,oftenreferredtoasaNoSQLdatabase.Redis is an open source, BSD licensed, advancedkey-value store.I...
分类:其他好文   时间:2014-05-27 02:16:59    阅读次数:318
Python学习——数据排序方法
数据排序方法 原地排序sort()方法 复制排序sorted()函数
分类:编程语言   时间:2014-05-24 06:40:44    阅读次数:215
Redis 介绍与使用
数据库主要类型有对象数据库,关系数据库,键值数据库等等,对象数据库太超前了,现阶段不提也罢;关系数据库就是平常说的MySQL,PostgreSQL这些熟的不能再熟的东西,至于键值数据库则是本文要着重说的,其代表主要有MemcacheDB,Tokyo Cabinet等等。Redis本质上也是一种键值数...
分类:其他好文   时间:2014-05-23 23:49:15    阅读次数:566
【LeetCode】Remove Duplicates from Sorted Array II
Remove Duplicates from Sorted Array IIFollow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =...
分类:其他好文   时间:2014-05-23 10:23:40    阅读次数:250
Leetcode:Convert Sorted Array to Binary Search Tree
戳我去解题Given an array where elements are sorted in ascending order, convert it to a height balanced BST.分析:因为BST中序序列是升序的,所以中序遍历序列最中间的元素一定是根节点,然后左右递归构建二叉...
分类:其他好文   时间:2014-05-20 11:38:16    阅读次数:233
Leetcode:Merge Two Sorted Lists
戳我去解题Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.分析:直...
分类:其他好文   时间:2014-05-20 08:52:09    阅读次数:277
Leetcode | Search in Rotated Sorted Array I & II
Search in Rotated Sorted Array ISuppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 ...
分类:其他好文   时间:2014-05-19 12:30:00    阅读次数:388
Leetcode | Remove Duplicates from Sorted Array I && II
Remove Duplicates from Sorted Array IGiven a sorted array, remove the duplicates in place such that each element appear only once and return the new l...
分类:其他好文   时间:2014-05-19 12:10:41    阅读次数:329
ledisdb:支持类redis接口的嵌入式nosql
ledisdb现在可以支持嵌入式使用。你可以将其作为一个独立的lib(类似leveldb)直接嵌入到你自己的应用中去,而无需在启动单独的服务。ledisdb提供的API仍然类似redis接口。首先,你需要创建db对象:import "github.com/siddontang/ledisdb/ledis" configJson = []byte('{ "data_db" : {...
分类:数据库   时间:2014-05-18 05:02:25    阅读次数:412
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!