线上部分实时job是用storm开发的,为了监控数据的延迟,在storm处理日志的时候会把日志的时间插入到redis中,然后通过zabbix做延迟的监控。由于经常有新的job上线,手动配置监控项就变得比较麻烦,为了解放生产力,还是需要搞成自动化。之前添加网卡和分区监控的时候用了LLD的..
分类:
其他好文 时间:
2014-11-28 06:26:22
阅读次数:
298
1. 介绍 1.1 链路状态机 链路层操作可以描述为链路状态机(The Link Layer State Machine) 链路状态机有如下五种状态 - Standby State: 准备,不传输或接受数据包
- Advertising State: 广播, advertiser,发送adverti...
分类:
其他好文 时间:
2014-11-27 23:33:17
阅读次数:
426
#include
#include
int main()
{
int n,t,low,high,i;
char a[10000],s[10000];
scanf("%d",&n);
while(n--)
{
scanf("%s",a);
t=strlen(a);
low=0;
high=0;
for(i=0;i<t;i++)
{
switch(a[i])
...
分类:
其他好文 时间:
2014-11-27 22:06:25
阅读次数:
205
1. 介绍 Bluetooth low energy,也称BLE(低功耗蓝牙),在4.0规范中提出 BLE分为两种设备 - 单模(single-mode): Logo为「Bluetooth®Smart」
- 双模(dual-mode): Logo为「Bluetooth®Smart Ready」 ti...
分类:
其他好文 时间:
2014-11-27 21:49:18
阅读次数:
241
Types of visual descriptors[edit]
Descriptors are the first step to find out the connection between pixels contained in a digital
image and what humans recall after having observed an image or a ...
分类:
其他好文 时间:
2014-11-25 16:32:32
阅读次数:
293
URL: http://www.phonesdevelopers.com/1695137/First the combination of grasping this part of the project from a whole:The Bluetooth module core file is...
分类:
移动开发 时间:
2014-11-25 15:48:09
阅读次数:
222
LOAD DATA LOW_PRIORITY LOCAL INFILE 'C:\\Users\\neo\\Desktop\\id.csv' INTO TABLE `identity_card` FIELDS TERMINATED BY ',' LINES TERMINATED BY '\r\n' (`number`, `zone`);
CREATE TEMPORARY TABLE tmp1 se...
分类:
其他好文 时间:
2014-11-25 00:21:48
阅读次数:
1392
public?class?QuickSearch?{
??
????public?static?int?getMiddle(List<Integer>?list,?int?low,?int?high)?{
??????????Integer?temp?=?list.get(high);???
????????...
分类:
编程语言 时间:
2014-11-24 01:17:18
阅读次数:
217
TCP发送方将段发送出去之后,会跟踪它们,直到得到接收方的确认为止。因此,当接收方收到一个段后,会根据情况将其添加到sk_receive_queue或prequeue,又或者sk_backlog后备队列中。
在启用tcp_low_latency时,TCP传输控制块在软中断中接收并处理TCP段,然后将其插入到sk_receive_queue队列中,等待用户进程从接收队列中获取TCP段后复制...
分类:
其他好文 时间:
2014-11-23 10:34:56
阅读次数:
241
1. 介绍 CC2540是一款2.4GHz Bluetooth® low energy SOC,基于8051 MCU 首先,你需要硬件设备 笔者的开发板为CC2540DK 得到开发板的同时应该还有TI提供的文档和代码 如果没有也可以在网上下载: - CC2540 - BLE-CC2540-1.3.2...
分类:
其他好文 时间:
2014-11-23 01:54:02
阅读次数:
612