E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
hashing
集群-基础知识3
调度算法:1、静态方法:rr:轮询,即依照次序从所有RS中进行挑选wrr:加权轮询,按照权重在RS中进行轮询sh:source
hashing
,源地址哈希,即对来自相同客户端的请求发送至同一RS,这样会破坏负载均衡效果
kangle0224
·
2015-12-14 22:58
集群lvs-dr
Scala MD5
参考:*MD5inScala*MD5
hashing
*Scala-MD5HashfunctionforScalaconsole*Scala-convertingarraytomap*Scala,importingclass1
power0405hf
·
2015-12-10 23:00
scala
Defining hashCode() and equals() effectively and correctly
http://www.ibm.com/developerworks/library/j-jtp05273/Javatheoryandpractice:
Hashing
itoutDefininghashCode
ultrapro
·
2015-12-08 11:00
python scikit learn 文本分类
/usr/bin/envpython #coding:utf-8 importjieba fromsklearn.feature_extraction.textimport
Hashing
Vectorizer
a_step_further
·
2015-12-05 22:00
python
文本分类
哈希快速检索之三种海明空间中的检索方法
详见哈希算法综述:“
Hashing
forSimilaritySearch:ASurvey”。哈希检索的主要思想是把向量表示的数据投影到海明空间,在海明空间中进行K近邻(k>=1)的检索。
wangjian1204
·
2015-12-02 20:00
哈希
哈希算法
哈希检索
近邻检索
海明空间
开放地址散列表
开放地址散列表(openaddressing
hashing
):是一种不使用链表解决冲突的方法。如果有冲突发生,那么就要尝试选择另外的单元,直到找出空的单元为止。
yvhqbat
·
2015-12-02 15:00
The matlab code of Locality sensitive
hashing
(LSH)
%seethematlabcodetest.mofCCA-ITQ.Itisverysimple.OnlyonesentenceusingrandomprojectionXX=XX*randn(size(XX,2),bit);Y=zeros(size(XX));Y(XX>=0)=1;Y=compactbit(Y);
杰
·
2015-11-27 22:00
一致性hash算法 - consistent
hashing
转载自:http://blog.csdn.net/sparkliang/article/details/5279393一致性 hash 算法( consistent
hashing
)张亮consistent
hashing
sunny_ss12
·
2015-11-27 11:00
Ceph 单/多节点 安装小结 power by CentOS 6.x
Ceph最大的特点是分布式的元数据服务器,通过CRUSH(ControlledReplicationUnderScalable
Hashing
)这种拟算法来分配文件的location。
oceanszf
·
2015-11-25 22:08
centos
storage
ceph
Ceph 单/多节点 安装小结 power by CentOS 6.x
Ceph最大的特点是分布式的元数据服务器,通过CRUSH(ControlledReplicationUnderScalable
Hashing
)这种拟算法来分配文件的location。
oceanszf
·
2015-11-25 22:08
centos
storage
ceph
Ceph 单/多节点 安装小结 power by CentOS 6.x
Ceph最大的特点是分布式的元数据服务器,通过CRUSH(ControlledReplicationUnderScalable
Hashing
)这种拟算法来分配文件的location。
oceanszf
·
2015-11-25 22:08
storage
CentOS
Ceph
STOREAGE
一致性哈希算法(分库分表,负载均衡等)
consistent
hashing
算法早在1997年就在论文Consistent
hashing
andrandomtrees中被提出
都市烟火
·
2015-11-25 22:00
Google的guava
guava类库扩展的主要是这些相关类:collections(集合类),concurrency(并发),primitives,reflection(反射),comparison,I/O,
hashing
,
weitao1026
·
2015-11-24 00:00
Google
局部敏感Hash
1.LSH简介2.普通Hash3.LSH1.LSH简介之前在项目中做数据聚合去重的逻辑的时候简单看过局部敏感Hash(LocalitySensitive
Hashing
,简称LSH)这个东东。
·
2015-11-21 04:00
hash
五分钟理解一致性哈希算法(consistent
hashing
)
转载请说明出处:http://blog.csdn.net/cywosp/article/details/23397179 一致性哈希算法在1997年由麻省理工学院提出的一种分布式哈希(DHT)实现算法,设计目标是为了解决因特网中的热点(Hotspot)问题,初衷和CARP十分类似。一致性哈希修正了CARP使用的简单哈希算法带来的问题,使得分布式哈希(DHT)可以在P2P环境中真正得到应用。
香胖
·
2015-11-18 03:56
动态
缓冲区
因特网
理工学院
单调性
PAT1078
Hashing
11-散列2
Hashing
(25分)Thetaskofthisproblemissimple:insertasequenceofdistinctpositiveintegersintoahashtable
鸡员外
·
2015-11-17 12:00
五分钟理解一致性哈希算法(consistent
hashing
)
简介: 一致性哈希算法在1997年由麻省理工学院提出的一种分布式哈希(DHT)实现算法,设计目标是为了解决因特网中的热点(Hotspot)问题,初衷和CARP十分类似。一致性哈希修正了CARP使用的简单哈希算法带来的问题,使得分布式哈希(DHT)可以在P2P环境中真正得到应用。 一致性hash算法提出了在动态变化的Cache环境中,判定哈希算法好坏的四个定义:平衡性(Balance):平衡性是
MLGKO
·
2015-11-16 17:00
局部敏感哈希(Locality-Sensitive
Hashing
, LSH)方法介绍
局部敏感哈希(Locality-Sensitive
Hashing
, LSH)方法介绍 本文主要介绍一种用于海量高维数据的近似近期邻高速查找技术——局部敏感哈希(Locality-Sensitive
·
2015-11-13 21:30
local
Consistent
Hashing
算法
前几天看了一下Memcached,看到Memcached的分布式算法时,知道了一种Consistent
Hashing
的哈希算法,上网搜了一下,大致了解了一下这个算法
·
2015-11-13 21:17
hash
Memcached笔记之分布式算法(idv2.com)
2.Consistent
Hashing
:求出memcached服务器节点的哈希值,然后将其配置到0~2^32的圆上,然后用同样的方法求出存储数据的键的哈希,并映射到圆上。
·
2015-11-13 21:16
memcached
consistent
hashing
and open-source implementation
一致性哈希要解决的问题很常见:如何将许多键值(譬如md5的值域空间)分布到多个服务器节点。 直接的做法是一个普通的哈希(譬如取模),但如果服务器节点可能会动态变化,每次节点的变化都会导致绝大多数映射的失效,不好。 一致性哈希的做法是,将key的值域看做是一个环,每个服务器映射为多个环上的点(virtual node),所有服务器的点的集合将环分成多个区段,key->server的映射过程
·
2015-11-13 20:18
source
hash collision vulnerability of popular web server-side technology
If the technology in use has a deterministic
hashing
scheme, it's vulnerable to hash collision based
·
2015-11-13 20:11
server
转:一致性 hash 算法( consistent
hashing
)
最近在研究cassandra,dynamo,bigtable等no sql数据库,其中的partition算法基于consistent
hashing
实现添加/删除节点主机时的单调性,以及各个主机之间的
·
2015-11-13 17:26
hash
算法复杂度攻击
Hashing
我们经常使用这样的字符串的Hash函数: // 随手写的,未严格测试unsigned long Hash(char* str){ assert(NULL
·
2015-11-13 16:32
算法
黄聪:Microsoft Enterprise Library 5.0 系列教程(二) Cryptography Application Block (初级)
Enterprise Library 5.0 系列教程(二) Cryptography Application Block (初级) 企业库加密应用程序模块提供了2种方式让用户保护自己的数据:
Hashing
providers
·
2015-11-13 15:51
Cryptography
一致性哈希算法
)"> 一致性 hash 算法( consistent
hashing
) 张亮 consistent
hashing
算法早在&
·
2015-11-13 12:08
一致性哈希
.Net类库中实现的HashTable
Hashing
假如我们把一本英汉字典的5000个单词, 从a到zyzzyva,存储到一个数组中。这样我们可以通
·
2015-11-13 11:28
Hashtable
openssl 中使用 hmac_sha1
#include #include #include int main() { // The secret key for
hashing
const char key[] =
bobwei
·
2015-11-13 10:00
C++
OpenSSL
hmac_sha1
C#实现MD5加密
public sealed class MD5
Hashing
 
·
2015-11-13 09:13
MD5加密
散列表
摘要 散列表的实现常常叫做散列(
hashing
).散列是一种用于以常数平均时间执行插入、删除和查找的技术。但是,那些需要元素间任何排序信息的操作将不会得到有效的支持。
·
2015-11-13 03:55
列表
一致性 hash 算法( consistent
hashing
)
一致性 hash 算法( consistent
hashing
) 张亮 consistent
hashing
算法早在 1997 
·
2015-11-13 00:30
hash
How to Hash and Salt Passwords in ASP.NET
Use a
hashing
algorithm, such as SHA256, to store passwords. Make sure to salt the hashes.
·
2015-11-12 22:59
password
Web Service Authentication + MD5 [from]
Introduction This is a simple mechanism to authenticate users to a Web Service, using a Time Token and MD5
Hashing
·
2015-11-12 17:51
Authentication
哈希表
一、解决冲突 解决冲突有两种方法: 1、开放地址法(OPEN
HASHING
\CLOSED ADDRESSING) 开放地址法的基本思想:发生冲突时,按照某种方法继续查找哈希表中的其他位置
·
2015-11-12 13:52
哈希表
zobrist
hashing
Zobrist 哈希是一种专门针对棋类游戏而提出来的编码方式,以其发明者 Albert L.Zobrist 的名字命名。Zobrist 哈希通过一种特殊的置换表,也就是对棋盘上每一位置的各个可能状态赋予一个编码索引值,来实现在极低冲突率的前提下在一个整型数据上对棋盘进行编码。其编码步骤描述如下: 1) 将棋盘分为最小单位(如果将9X9围棋盘分为81个交叉点),求出每个单位上不同状态数(如围棋盘上
·
2015-11-12 11:29
hash
2014 UESTC 暑前集训队内赛(2) 部分解题报告
B.Cuckoo for
Hashing
模拟题。
·
2015-11-12 10:51
UE
中国海洋大学第四届朗讯杯高级组 I Cuckoo for
Hashing
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=2719&cid=1203 题意 :意思就是哈希来的,具体大意就是说有两个哈希表,然后有这样一组数据,让你把这组数据存到这两个哈希表里,然后不能重复,先让数据往表1里存,就是对表1的长度进行取余,如果余数这个位置没有数就存上,如果有的话,就存上这个数,让原来的数再去表2里存,也是按照这个方
·
2015-11-12 09:12
hash
2.
Hashing
散列法(
Hashing
)或哈希法是一种将字符组成的字符串转换为固定长度(一般是更短长度)的数值或索引值的方法,称为散列法,也叫哈希法。
·
2015-11-12 09:36
hash
LSH的基本原理
1:LocalitySensitive
Hashing
LocalitySensitive
Hashing
是构造一种Hash函数集{g| Rd->U}其中d是点的维数,使得对任意的点p
·
2015-11-11 14:54
原理
Memcached的分布式算法-Consistent
Hashing
memcached的分布式算法-Consistent
Hashing
前言: 我们知道以往资料要放到 M 台服务器上,最简单的方法就是取余数 (hash_value % M) 然后放到对应的服务器上
·
2015-11-11 14:41
memcached
一致性哈希算法及其在分布式系统中的应用
摘要 本文将会从实际应用场景出发,介绍一致性哈希算法(Consistent
Hashing
)及其在分布式系统中的应用。
·
2015-11-11 10:18
一致性哈希
Locality-Sensitive
Hashing
入门资料汇总
万物起始皆维基: http://en.wikipedia.org/wiki/Locality-sensitive_
hashing
上面给出了4类方法,我只看了其中的两个 bit
·
2015-11-11 08:08
local
网页去重算法
Sim
Hashing
( locality sensitive hash) 4. Random Projection 5. SpotSig 6. combined I-Match算法
·
2015-11-11 08:05
算法
微软企业库5.0学习笔记(七)
企业库加密应用程序模块提供了2种方式让用户保护自己的数据:
Hashing
providers: 离散加密法, 简单来说就是把你的信息保存到内存中后用一个离散值表示并返回给程序,这样在程序中只能看到离散值而不是明文
·
2015-11-11 07:14
学习笔记
Microsoft Enterprise Library 5.0 系列(二) Cryptography Application Block (初级)
企业库加密应用程序模块提供了2种方式让用户保护自己的数据:
Hashing
providers: 离散加密法, 简单来说就是把你的信息保存到内存中后用一个离散值表示并返回给程序,这样在程序中只能看到离散值而不是明文
·
2015-11-11 07:05
Cryptography
redis源码解析之dict数据结构
struct dict { dictType *type; void *privdata; dictht ht[2]; int rehashidx; /* re
hashing
·
2015-11-11 04:35
redis
General Purpose Hash Function Algorithms
programming/hashfunctions/index.html Description
Hashing
·
2015-11-11 04:47
algorithms
一致性Hash算法
看到一篇介绍一致性哈希的好文章,转下,原文出自:http://blog.csdn.net/sparkliang/article/details/5279393 consistent
hashing
算法早在
·
2015-11-11 03:31
hash
Lintcode: Re
hashing
The size of the hash table is not determinate at the very beginning. If the total size of keys is too large (e.g. size >= capacity / 10), we should double the size of the hash table and rehash ever
·
2015-11-11 01:20
code
Hashing
(25)
时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue The task of this problem is simple: insert a sequence of distinct positive integers into a ha
·
2015-11-11 00:48
hash
上一页
18
19
20
21
22
23
24
25
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他