Consistant Hash Algorithm ( 一致性哈希算法 )
摘要:(Ketama Algorithm) Below code referenced the post http://www.cnblogs.com/daizhj/archive/2010/08/24/1807324.html 问题有集合A {a1,a2,...} ,集合B {b1,b2,...}.将A的元素映射到B,如 a1->b1 ,a2->b1,a3->b1 ; a4->b2;a5->b2;a6...
阅读全文
posted @
2011-06-30 15:36
netfuns
阅读(329)
推荐(0)
design patterns : Factory ,abstract Factory, Simple Factory
摘要:http://www.cppblog.com/chefZ/archive/2008/12/05/68679.aspx http://www.bianceng.cn/Programming/net/201102/24226_7.htm
阅读全文
posted @
2011-06-24 10:07
netfuns
阅读(141)
推荐(0)
High performance socket
摘要:http://msdn.microsoft.com/en-us/magazine/cc300760.aspx
阅读全文
posted @
2011-06-22 11:00
netfuns
阅读(144)
推荐(0)
resume example
摘要:http://www.ofb.net/~niniane/resume_howto.html http://ofb.net/~niniane/resume.html
阅读全文
posted @
2011-06-20 13:31
netfuns
阅读(146)
推荐(0)
track stored procedure change history
摘要:--drop trigger Admin_Backup_Objects ON DATABASE --drop table AdministratorLogcreate table AdministratorLog(databasename sysname, eventtype sysname,objectname sysname, objecttype sysname, sqlcommand nv...
阅读全文
posted @
2011-06-16 18:26
netfuns
阅读(145)
推荐(0)
Simple definition of 1-2-3 normal form
摘要:1NF:Requiring existence of "the key"2NF:non-key attributes be dependent on "the whole key"3NF:non-key attributes be dependent on "nothing but the key"
阅读全文
posted @
2011-06-16 14:01
netfuns
阅读(177)
推荐(0)