colobu.com
Archives | 鸟窝
http://colobu.com/archives
大道至简 Simplicity is the ultimate form of sophistication. 转]使用Nginx 和 RTMP 模块搭建视频直播系统. 转]gos march to low latency gc. Vscode-icons: 提高生产力的 Visual Studio Code插件. Spymemcached vs. xmemcached vs. Folsom. Kafka 0.9 发布. 最好的8个 Java RESTful 框架. 机器学习算法精要(Python 和 R 代码). 在 Linux 上如何清除内存的 Cache、Buffer 和交换空间. Goreq: 极简单的流式golang http client. Netty 5.0 中的新变化和注意点. G1垃圾回收器中的字符串去重(Java 8 Update 20). Scala 2.12 拥抱 Java 8. Android Design Support Library的代码实验. Java 安全套接字编程以及 keytool 使用最佳实践. Scala Future and Promise.
colobu.com
Tag: CQRS | 鸟窝
http://colobu.com/tags/CQRS
大道至简 Simplicity is the ultimate form of sophistication. CQRS 和 Event sourcing. CQRS全称为Command Query Responsibility Segregation。 这个模式首先由Greg Young 和 Udi Dahan提出,Martin Flower有一篇文章专门介绍这个模式,微软也有一个专门教程介绍CQRS。
colobu.com
常用web框架性能基准 | 鸟窝
http://colobu.com/2015/04/21/web-framework-benchmarks
大道至简 Simplicity is the ultimate form of sophistication. Peak: Dell R720xd dual Xeon E5-2660 v2 servers with 32 GB memory; database servers equipped with SSDs in RAID; switched 10-gigabit Ethernet. I7: Sandy Bridge Core i7-2600K workstations with 8 GB memory (early 2011 vintage); database server equipped with Samsung 840 Pro SSD; switched gigabit Ethernet. EC2: Amazon EC2 m1.large instances; switched gigabit Ethernet. Best performance (higher is better). Web Frameworks Benchmark 2015.
colobu.com
文档 | 鸟窝
http://colobu.com/documents
大道至简 Simplicity is the ultimate form of sophistication. 吴京润翻译自 Getting Started With Storm. 他也是 Interactive Data Visualization for the Web. Dashing D3.js网站提供的 教程.
colobu.com
平均值,众数,中值和标准差 | 鸟窝
http://colobu.com/2015/05/22/Mean-Mode-Median-and-Standard-Deviation
大道至简 Simplicity is the ultimate form of sophistication. Message latency for eb810c24- 8565. 标准差 stddev, Standard Deviation. 在概率统计中最常使用作为统计分布程度 statistical dispersion 上的测量。 假设有一组数值X1,X2,X3,.XN 皆为实数 ,其平均值 算术平均值 为μ,. Http:/ en.wikipedia.org/wiki/Mean. Http:/ en.wikipedia.org/wiki/Median. Http:/ en.wikipedia.org/wiki/Mode %28statistics%29. Http:/ en.wikipedia.org/wiki/Standard deviation. Https:/ www.ltcconline.net/greenl/courses/201/descstat/mean.htm. CQRS 和 Event sourcing.
colobu.com
Kafka的一个配置参数 | 鸟窝
http://colobu.com/2015/05/14/one-config-parameter-in-kafka
大道至简 Simplicity is the ultimate form of sophistication. Kafka默认的消息大小为1000012,参数的名称为 message.max.bytes. MessageMaxBytes = props.getIntInRange( "message.max.bytes". MessageSet.LogOverhead, ( 0. 但是对于topic来说,这个参数的名称却叫 max.message.bytes. Replica.fetch.max.bytes. 至少和message.max.bytes一样,最大Int.MaxValue). 1 replica.fetch.max.bytes. 2 message.max.bytes. 3 fetch.message.max.bytes.
colobu.com
Tag: undertow | 鸟窝
http://colobu.com/tags/undertow
大道至简 Simplicity is the ultimate form of sophistication. 事实上,最近我又增加了几个框架,现在包括 Netty, Undertow, Jetty, Spray, Vert.x, Grizzly 和 Node.js七种框架。 问题提出的时候, 正是 2001 年。 本文是我在实践过程中的记录,我的目标是使用spran-websocket,netty, undertow和node.js四种框架分别实现C1000K的服务器,看看这几个框架实现的难以程度,性能如何。 其实不止四种框架了,现在包括Netty, Undertow, Jetty, Spray-websocket, Vert.x, Grizzly 和 Node.js 七种框架的实现).
colobu.com
Tag: node.js | 鸟窝
http://colobu.com/tags/node-js
大道至简 Simplicity is the ultimate form of sophistication. 事实上,最近我又增加了几个框架,现在包括 Netty, Undertow, Jetty, Spray, Vert.x, Grizzly 和 Node.js七种框架。 问题提出的时候, 正是 2001 年。 本文是我在实践过程中的记录,我的目标是使用spran-websocket,netty, undertow和node.js四种框架分别实现C1000K的服务器,看看这几个框架实现的难以程度,性能如何。 其实不止四种框架了,现在包括Netty, Undertow, Jetty, Spray-websocket, Vert.x, Grizzly 和 Node.js 七种框架的实现).
colobu.com
Tag: spray | 鸟窝
http://colobu.com/tags/spray
大道至简 Simplicity is the ultimate form of sophistication. 事实上,最近我又增加了几个框架,现在包括 Netty, Undertow, Jetty, Spray, Vert.x, Grizzly 和 Node.js七种框架。 问题提出的时候, 正是 2001 年。 本文是我在实践过程中的记录,我的目标是使用spran-websocket,netty, undertow和node.js四种框架分别实现C1000K的服务器,看看这几个框架实现的难以程度,性能如何。 其实不止四种框架了,现在包括Netty, Undertow, Jetty, Spray-websocket, Vert.x, Grizzly 和 Node.js 七种框架的实现).
colobu.com
Scala中的协变,逆变,上界,下界等 | 鸟窝
http://colobu.com/2015/05/19/Variance-lower-bounds-upper-bounds-in-Scala
大道至简 Simplicity is the ultimate form of sophistication. Class Sub extends Super {. Class Sub extends Super{. Extends Object covariantList = aList;. String contravariantList = aList;. Object a = covariantList.get( 0. String b = contravariantList.get( 1. Object c = contravariantList.get( 2. Use(t: T) = {}. 出错信息为 Covariant type T occurs in contravariant position in type T of value t。 Get(): T = {m1.runtimeClass.newInstance.asInstanceOf[T]}. Use[U : T](u : U) = {println(u)}. C:Consumer[Animal,Bird] = new.