1、show()显示效果 语法:show(speed,callback) Number/String,Function speend为动画执行时间,单位为毫秒。也可以为slow","normal","fast" callback可选,为当动画完成时执行的函数。 show(speed,[e...
分类:
Web程序 时间:
2015-09-17 13:24:21
阅读次数:
220
一、Kafka介绍 Kafka是Linkin在2010年开源的分布式发布订阅消息系统,Kafka是高吞吐量的消息订阅系统。二、Kafka结构 Kafka由三部分构成,producer、broker、consumer,即producer生成消息,broker存储消息,consumer消费消息,其中.....
分类:
其他好文 时间:
2015-09-17 00:57:21
阅读次数:
135
sql优化分析通过slow_log等方式可以捕获慢查询sql,然后就是减少其对io和cpu的使用(不合理的索引、不必要的数据访问和排序)当我们面对具体的sql时,首先查看其执行计划A.看其是否使用索引B.查看其查询的记录数C.确定索引的代价是否过高D.是否可以使用复合索引E.是否有“using te...
分类:
数据库 时间:
2015-09-15 01:29:45
阅读次数:
181
14.20.4InnoDB Error HandlingError handling in InnoDB is not always the same as specified in the SQL standard. According to the standard, any error dur...
分类:
数据库 时间:
2015-09-14 22:47:44
阅读次数:
210
用处:http://blog.csdn.net/tjcyjd/article/details/6741882$('.scroll').on('click', function(){ $(this).hide('slow'); alert('先alert,再隐藏');})$('.scroll').on...
分类:
Web程序 时间:
2015-09-14 21:01:02
阅读次数:
174
项目是做一个画图程序,最近加入了一个图片闪烁的效果,用timer定时每100ms画一遍,每遍通过colormatrix设置不同的alpha值实现(colormatrix几乎不会增加负荷,渲染速度仅增加1ms消耗)。效果是没问题,但是效率有问题了。当画一个3000*3000的jpeg图片的时候,debug模式下测试..
分类:
其他好文 时间:
2015-09-14 00:42:08
阅读次数:
260
1. 实现定制的operator new和operator delete需要满足一定的要求. 以operator new而言:实现一致性operator new必须返回正确的值;内存不足时必得调用new-handling函数;必须有对付零内存需求的准备;需避免不慎掩盖正常形式的new;如果有能力供....
分类:
编程语言 时间:
2015-09-13 02:06:47
阅读次数:
246
DTrace, SystemTap has several front-end tools with different capabilities:* `stapio` is a consumer which runs module and prints information from its b...
分类:
其他好文 时间:
2015-09-12 18:55:08
阅读次数:
322
/*第一步 创建以下两个 日志表 */ CREATE TABLE `slow_log` ( `start_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CUR...
分类:
数据库 时间:
2015-09-11 22:02:07
阅读次数:
252
Content Content Introduction Structure and Dependencies Usage Patterns As an Explicit Intermediate As a Request Sender for Web Services As a Proxy Advanced Settings Slow Connection Simulation HTTP ...
分类:
其他好文 时间:
2015-09-11 17:47:32
阅读次数:
235