参考文章如下:
http://nodejs.netease.com/topic/540702e0898634292cd0a588
https://github.com/NetEase/libpomelo2
编译libjpomelo.so耗费了2天多的时间,资料很少,期间走了很多弯路,这里记录下。
1、官网下载libpomelo2源代码。
2、准备android ndk 1...
分类:
移动开发 时间:
2014-09-30 17:46:19
阅读次数:
500
Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation...
分类:
编程语言 时间:
2014-09-30 02:51:41
阅读次数:
394
kafka概念:
kafka是一个高吞吐量的流式分布式消息系统,用来处理活动流数据,比如网页的访问量pm,日志等,既能够实时处理大数据信息
也能离线处理。
特点:
1.高吞吐量
2.是一种显式的分布式系统,它假设,数据生产者(producer),代理(brokers)和数据使用者(consum...
分类:
其他好文 时间:
2014-09-29 20:09:12
阅读次数:
196
menu: [Database]->[Database Generation] ? tab: ?[Tables & Views]->check table & column ‘s comment ? ? ? [Options]->Generation name in empty comment...
分类:
其他好文 时间:
2014-09-29 16:59:31
阅读次数:
186
页面pr方法内部处理过程:第一步:根据Form里面的请求内容(ViewState)确定是否是IsPostBack第二步:页面初始化之前 this.PerformPreInit() { this.OnPreInit(EventArgs.Empty);//一般在这里面...
分类:
其他好文 时间:
2014-09-29 15:35:51
阅读次数:
137
问题导读:1.zookeeper在kafka的作用是什么?2.kafka中几乎不允许对消息进行“随机读写”的原因是什么?3.kafka集群consumer和producer状态信息是如何保存的?4.partitions设计的目的的根本原因是什么?一、入门 1、简介 Kafka is a dist.....
分类:
其他好文 时间:
2014-09-29 11:14:57
阅读次数:
283
1、南京景点一览表(含免费景点)http://www.nju.gov.cn/topic/ticket/2、景点简要介绍:http://www.nju.gov.cn/web_info/scenic/list/0/127/129.shtml3、公交线路一览http://www.njkgc.cn/inde...
分类:
其他好文 时间:
2014-09-29 10:05:47
阅读次数:
221
strings存在三种“大小”:1、size()和length() 返回string中现在的字符个数。上述两个函数等效。成员函数empty()用来检验字符数是否为0,亦即字符串是否为空。你应该优先使用该函数,因为它比length()或size()来得快。也就是说,使用if(s.empty()==tr...
分类:
其他好文 时间:
2014-09-29 00:15:16
阅读次数:
248
随着网站规模(访问量/复杂度/数据量)的扩容,针对单机的方案将成为性能的瓶颈,分布式应用在所难免。所以,有必要研究一下 Session 的分布式存储。本文主要探讨基于哈希算法和缓存设施的分布式思路。
分类:
Web程序 时间:
2014-09-28 20:18:25
阅读次数:
314
简单的示例Shell程序示例1.#!/bin/bash
#This is to show what a shell script looks like
echo "Our first example"
echo # This inserts an empty line in output.
echo "We are currently in the following directory."
/b...
分类:
其他好文 时间:
2014-09-28 20:05:46
阅读次数:
266