LinkedIn:55人支持2700位员工,2亿用户的大数据分析

摘要: LinkedIn:55人支持2700位员工,2亿用户的大数据分析:http://soft.zdnet.com.cn/software_zone/2013/0503/2157808.shtml 阅读全文
posted @ 2013-06-04 10:25 Bo.Zhang 阅读(145) 评论(0) 推荐(0)

追寻点击愉悦感—提升网站平板体验的6个技巧

摘要: 追寻点击愉悦感—提升网站平板体验的6个技巧:http://blog.jobbole.com/39709/ 阅读全文
posted @ 2013-06-04 10:25 Bo.Zhang 阅读(97) 评论(0) 推荐(0)

mnesia overload

摘要: mnesia overload是个很典型的问题,下面我找到一些老外处理"mnesia overload"消息的方案If you're using mnesia disc_copies tables and doing a lot of writes all at once, you've probably run into the following message=ERROR REPORT==== 10-Dec-2008::18:07:19 ===Mnesia(node@host): ** WARNING ** Mnesia is overloaded: 阅读全文
posted @ 2013-06-04 10:24 Bo.Zhang 阅读(330) 评论(0) 推荐(0)

golang websocket 聊天室demo

摘要: 近期偶然的机会看到一些go的websocket技术方案,顺便写了个demo,玩了一下:首先安装websocket包go get code.google.com/p/go.net/websocketwebsocket 聊天室代码:package main import ( "fmt" "io" "bufio" "net/http" "code.google.com/p/go.net/websocket" "container/list") var connid intvar c 阅读全文
posted @ 2013-06-04 10:24 Bo.Zhang 阅读(2003) 评论(1) 推荐(0)

linux 一些命令杂记

摘要: linux 批量重名名Linux Shell 批量重命名的方法总览shell 参数:位置参数 : $N N 是从0 开始,1是向shell传递的参数。内部参数: $# 传递给程序的总的参数数目。 $? 上一个代码或者shell程序在shell中退出的情况,如果正常退出则返回0 ,否 则返回非0值。 $* 传递给程序的所有参数组成的字符串 $@ -"以参数1" "参数2" 形式保存任何参数。 $$ 本程序的PID $! 上一个程序的PID读取文件指定行sed -n Np 文件名sed -n '5,10{/pattern/p}' file1、 阅读全文
posted @ 2013-06-04 10:24 Bo.Zhang 阅读(239) 评论(0) 推荐(0)

57个Web框架性能大测试

摘要: 57个Web框架性能大测试-数据库查询 gemini,openresty,servlet分列前三,Json序列化 finagle,onion,gemini夺得前三:http://www.techempower.com/benchmarks/#section=data-r4Database access test (single query)In this test, each request is processed by fetching a single row from a simple database table. That row is then serialized as a J 阅读全文
posted @ 2013-06-04 10:24 Bo.Zhang 阅读(6900) 评论(0) 推荐(0)

Pinterest谈实战经验:如何在两年内实现零到数百亿的月访问

摘要: Pinterest谈实战经验:如何在两年内实现零到数百亿的月访问http://www.csdn.net/article/2013-04-16/2814902-how-pinterest-scaling-0-to-billions-pvPinterest一直保持着指数增长,每一个半月都会翻一翻。在两年内,他们实现了从0到数百亿的月PV;从开始的两个创始人加一个工程师增长到现在超过40个工程师,从一个小型的MySQL服务器增长到180个Web Enigne、240个API Enigne、88个MySQL DB(cc2.8xlarge,每个DB都会配置一个从属节点)、110个Redis Instan 阅读全文
posted @ 2013-06-04 10:24 Bo.Zhang 阅读(219) 评论(0) 推荐(0)

今天开始整理博客

摘要: 我这个人不懒,但是出于各种原因,一直没有时间,好好写自己的博客,今天抽空把我之前所有的博客都整理起来,放在博客园统一管理起来,今天还是很开心的。呵呵! 阅读全文
posted @ 2013-06-04 10:24 Bo.Zhang 阅读(81) 评论(0) 推荐(0)

Scaling Pinterest - From 0 To 10s Of Billions Of Page Views A Month In Two Years

摘要: 这篇文件写的非常好,推荐大家重温一下:http://highscalability.com/blog/2013/4/15/scaling-pinterest-from-0-to-10s-of-billions-of-page-views-a.html附上中文翻译版:Pinterest谈实战经验:如何在两年内实现零到数百亿的月访问摘要:在一个名为 《Scaling Pinterest》 的主题演讲上,Pinterest的Yashwanth Nelapati和 Marty Weiner为我们讲述了Pinterest如何在两年内实现零到数百亿的月访问。文中不乏决策的选择,以及每个阶段Pinteres 阅读全文
posted @ 2013-06-04 10:24 Bo.Zhang 阅读(213) 评论(0) 推荐(0)

linux回收内存

摘要: 通过修改proc系统的drop_caches清理free的cache$echo 3 > /proc/sys/vm/drop_caches说明,切记释放前最好sync一下,防止丢数据。drop_caches的详细文档如下:Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.To free pagecache:* echo 1 > /proc/sys/vm/drop_cachesTo 阅读全文
posted @ 2013-06-04 10:23 Bo.Zhang 阅读(286) 评论(0) 推荐(0)