摘要:
NoSQL 数据库分类 类型 部分代表特点 列存储 HbaseCassandraHypertable顾名思义,是按列存储数据的。最大的特点是方便存储结构化和半结构化数据,方便做数据压缩,对针对某一列或者某几列的查询有非常大的IO优势。 文档存储MongoDBCouchDB文档存储一般用类似json的
阅读全文
posted @ 2017-04-27 01:52
papering
阅读(250)
推荐(0)
摘要:
w 问题 0-新增和读取,可以忽略更新和删除; 1-被请求方的xml dom结构多层且不定,且未来可能增删某些键(dom节点),且键值长度最值可能无法确定; 3-请求过程可能出现异常exception, 3-0被请求方的api文档可能没有穷举异常; 3-1当出现异常时,可能请求脚本还可以继续执行且接
阅读全文
posted @ 2017-04-27 01:34
papering
阅读(192)
推荐(0)
摘要:
RFC 1630 - Universal Resource Identifiers in WWW: A Unifying Syntax for the Expression of Names and Addresses of Objects on the Network as used in the
阅读全文
posted @ 2017-04-26 22:27
papering
阅读(338)
推荐(0)
摘要:
w Parse error: syntax error, unexpected '?'
阅读全文
posted @ 2017-04-26 21:00
papering
阅读(177)
推荐(0)
摘要:
w https://en.wikipedia.org/wiki/Amortized_analysis In computer science, amortized analysis is a method for analyzing a given algorithm's time complexi
阅读全文
posted @ 2017-04-26 20:00
papering
阅读(328)
推荐(0)
摘要:
需要对加密和解密使用相同密钥的加密算法。由于其速度快,对称性加密通常在消息发送方需要加密大量数据时使用。对称性加密也称为密钥加密。 所谓对称,就是采用这种加密方法的双方使用方式用同样的密钥进行加密和解密。密钥是控制加密及解密过程的指令。算法是一组规则,规定如何进行加密和解密。 因此加密的安全性不仅取
阅读全文
posted @ 2017-04-26 18:50
papering
阅读(303)
推荐(0)
摘要:
class property(fget=None, fset=None, fdel=None, doc=None) 返回 property 属性。 fget 是获取属性值的函数。 fset 是用于设置属性值的函数。 fdel 是用于删除属性值的函数。并且 doc 为属性对象创建文档字符串。 一个典型
阅读全文
posted @ 2017-04-26 16:42
papering
阅读(647)
推荐(0)
摘要:
Underscores in Python https://shahriar.svbtle.com/underscores-in-python Underscores in Python This post discusses the use of the _ character in Python
阅读全文
posted @ 2017-04-26 16:01
papering
阅读(271)
推荐(0)
摘要:
Using the URLconf defined in config.urls, Django tried these URL patterns, in this order:
阅读全文
posted @ 2017-04-26 14:55
papering
阅读(530)
推荐(0)
posted @ 2017-04-26 14:28
papering
阅读(143)
推荐(0)
摘要:
https://zh.wikipedia.org/wiki/欧拉定理_(数论) 费马小定理的推广 潘承洞 潘承彪. 《初等数论》. 北京大学出版社. 2003. ISBN 9787301060759. Albert H. Beiler 著,谈祥柏 译. 《数论妙趣--数学女王的盛情款待》. 上海教育
阅读全文
posted @ 2017-04-26 14:25
papering
阅读(1148)
推荐(0)
摘要:
w 忽略不影响次方数或至多升一次方的外层加法运算,即线性运算; 非线性运算估算:4+(4+4)+1=13
阅读全文
posted @ 2017-04-26 14:20
papering
阅读(607)
推荐(0)
摘要:
Optimistic concurrency control https://en.wikipedia.org/wiki/Optimistic_concurrency_control Optimistic concurrency control (OCC) is a concurrency cont
阅读全文
posted @ 2017-04-26 11:03
papering
阅读(723)
推荐(0)
摘要:
w MySQL :: MySQL 5.7 Reference Manual :: 9.2.1.19 Avoiding Full Table Scanshttps://dev.mysql.com/doc/refman/5.7/en/table-scan-avoidance.html
阅读全文
posted @ 2017-04-26 11:01
papering
阅读(162)
推荐(0)
摘要:
整数的质数次方和自身的差是质数的倍数 费马小定理(Fermat Theory)是数论中的一个重要定理,其内容为: 假如p是质数,且Gcd(a,p)=1,那么 a(p-1)≡1(mod p)。即:假如a是整数,p是质数,且a,p互质(即两者只有一个公约数1),那么a的(p-1)次方除以p的余数恒等于1
阅读全文
posted @ 2017-04-25 22:49
papering
阅读(850)
推荐(0)
摘要:
注册表的结构 - Win32 apps | Microsoft Docs https://docs.microsoft.com/zh-cn/windows/win32/sysinfo/structure-of-the-registry 注册表是层次结构数据库,其中包含的数据对 Windows 和 W
阅读全文
posted @ 2017-04-25 22:11
papering
阅读(531)
推荐(0)
摘要:
w http://php.net/manual/en/function.extract.php
阅读全文
posted @ 2017-04-25 20:03
papering
阅读(243)
推荐(0)
posted @ 2017-04-25 19:41
papering
阅读(165)
推荐(0)
摘要:
w http://php.net/manual/en/language.oop5.final.php PHP 5 introduces the final keyword, which prevents child classes from overriding a method by prefix
阅读全文
posted @ 2017-04-25 14:17
papering
阅读(270)
推荐(0)
摘要:
w w Exponential Backoff And Jitterhttps://www.awsarchitectureblog.com/2015/03/backoff.html Exponential Backoff And Jitter 04 Mar 2015 in Performance,
阅读全文
posted @ 2017-04-25 11:53
papering
阅读(469)
推荐(0)
摘要:
The prototypical MapReduce example counts the appearance of each word in a set of documents:[14] Here, each document is split into words, and each wor
阅读全文
posted @ 2017-04-25 08:19
papering
阅读(276)
推荐(0)
摘要:
w https://en.wikipedia.org/wiki/Extract,_transform,_load
阅读全文
posted @ 2017-04-25 01:16
papering
阅读(190)
推荐(0)
摘要:
http://eprint.iacr.org/2010/006.pdf
阅读全文
posted @ 2017-04-24 18:30
papering
阅读(222)
推荐(0)
摘要:
CRC(循环冗余校验)_百度百科 https://baike.baidu.com/item/CRC/1453359 循环冗余校验(Cyclic Redundancy Check, CRC)是一种根据网络数据包或计算机文件等数据产生简短固定位数校验码的一种信道编码技术,主要用来检测或校验数据传输或者保
阅读全文
posted @ 2017-04-24 18:29
papering
阅读(627)
推荐(0)
摘要:
An Explanation of the `Deflate' Algorithm http://zlib.net/feldspar.html
阅读全文
posted @ 2017-04-24 12:07
papering
阅读(1368)
推荐(0)
posted @ 2017-04-24 08:52
papering
阅读(204)
推荐(0)
posted @ 2017-04-24 08:48
papering
阅读(236)
推荐(0)
摘要:
https://www.zhihu.com/question/32291769 作者:猎狐链接:https://www.zhihu.com/question/32291769/answer/70929156来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 咳咳,这个我来
阅读全文
posted @ 2017-04-24 00:06
papering
阅读(3027)
推荐(0)
摘要:
小结: 1、企鹅不是鸟,正方形不是长方形:派生类(子类)对象可以在程式中代替其基类(超类)对象 、 任何基类可以出现的地方,子类一定可以出现。 Liskov substitution principle - Wikipedia https://en.wikipedia.org/wiki/Liskov
阅读全文
posted @ 2017-04-23 23:37
papering
阅读(330)
推荐(0)
posted @ 2017-04-23 23:29
papering
阅读(225)
推荐(0)
摘要:
网络编程( 六):端口那些事儿 - 知乎专栏 https://zhuanlan.zhihu.com/p/20365900 不停服务reload、restart 多进程端口监听 我们都有一个计算机网络的常识:不同的进程不能使用同一端口。 如果一个端口正在被使用,无论是TIME_WAIT、CLOSE_W
阅读全文
posted @ 2017-04-23 21:35
papering
阅读(558)
推荐(0)
摘要:
https://www.nginx.com/resources/admin-guide/ NGINX is an open source web server and reverse proxy that excels at large‑scale web integration, applicat
阅读全文
posted @ 2017-04-23 20:41
papering
阅读(280)
推荐(0)
摘要:
w 内存不够只要插槽足够就可以添加,硬盘不够可以用移动硬盘的。
阅读全文
posted @ 2017-04-23 20:24
papering
阅读(167)
推荐(0)
摘要:
w 程杰 PC内存坏了,不应该成为更换CPU的理由:因为它们各自的职责是明确的。
阅读全文
posted @ 2017-04-23 20:19
papering
阅读(199)
推荐(0)
摘要:
w https://www..com
阅读全文
posted @ 2017-04-23 19:27
papering
阅读(136)
推荐(0)
摘要:
w https://git-scm.com/book/en/v1/Git-Internals-Plumbing-and-Porcelain Git is a content-addressable filesystem. Great. What does that mean? It means th
阅读全文
posted @ 2017-04-23 19:09
papering
阅读(314)
推荐(0)
摘要:
w “加一层去解决问题”:计算机解决问题的思路。怎样将其应用到代码中呢?比如亚马逊接口的开发。 git加一UI层去实现易用性和降低用户的迁移成本。 https://git-scm.com/book/en/v1/Git-Internals Now that you’re here, let’s get
阅读全文
posted @ 2017-04-23 19:00
papering
阅读(247)
推荐(0)
摘要:
w 李智慧 秒杀活动的技术挑战 假设商品页面大小200K(主要是商品图片大小),那么需要的网络和服务器带宽是2G(200K*10,000),这些网络带宽是因为 秒杀活动而新增的,超过网站平时使用的带宽。 https://en.wikipedia.org/wiki/Bit_rate In teleco
阅读全文
posted @ 2017-04-23 17:13
papering
阅读(340)
推荐(0)
摘要:
李智慧 大型网站架构技术一览 服务器架构 “ 大型网站由于服务器采购规模庞大,打地铺采用定制服务器的方式代替购买服务器整机。根据网站应用需求,定制硬盘、内存,甚至CPU,同时去除不必要的外设接口(显示器输出接口,鼠标、键盘接口),并使空间结构利于散热。 ” 面向对象 0-可维护 1-可扩展 2-可复
阅读全文
posted @ 2017-04-23 17:08
papering
阅读(288)
推荐(0)
posted @ 2017-04-23 17:01
papering
阅读(172)
推荐(0)