上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: php的垃圾回收机制主要参考了http://blog.csdn.net/phpkernel/article/details/5734743 这文章。 变量对应的值,比如 $a="abc" abc在内核是以一个zval 的形式存在的,下面列出其zval 的定义 287 typedef struct _ 阅读全文
posted @ 2019-03-22 11:10 taek 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 参考文章 http://rapheal.sinaapp.com/2013/11/20/php_zend_hello_world/ http://www.douban.com/note/337885681/ 5.3 与以前版本的不同 http://my.oschina.net/mickelfeng/b 阅读全文
posted @ 2019-03-22 11:10 taek 阅读(2284) 评论(0) 推荐(0) 编辑
摘要: https://yq.aliyun.com/articles/38307 https://yq.aliyun.com/ziliao/132720 http://blog.liyiwei.cn/%E3%80%8A%E7%AE%97%E6%B3%95%E5%AF%BC%E8%AE%BA%E3%80%8B 阅读全文
posted @ 2019-03-22 11:09 taek 阅读(892) 评论(0) 推荐(0) 编辑
摘要: 参考 http://www.jianshu.com/p/dac223d7d9ad 事件对象结构 事件模块封装结构 初始化变量 ev 如果是io事件 则放到epoll_ctl,如果是定时器,则放到定时器队列里 如果是io事件,则放到epoll_ctl里 执行事件 阅读全文
posted @ 2019-03-22 11:08 taek 阅读(1299) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/oujiangping/article/details/78580450 https://blog.csdn.net/gatieme/article/details/78885908 ps aux|grep mysql-proxy 第二个就是3318的进程 阅读全文
posted @ 2018-10-30 00:30 taek 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 详见 这里 Let's say I have code like this: The PDO documentation says: Is that truly all I need to do to avoid SQL injections? Is it really that easy? You 阅读全文
posted @ 2018-10-25 16:38 taek 阅读(952) 评论(0) 推荐(0) 编辑
摘要: 详见 https://stackoverflow.com/questions/134099/are-pdo-prepared-statements-sufficient-to-prevent-sql-injection/12202218#12202218 php pdo prepare真的能防止sq 阅读全文
posted @ 2018-10-25 14:14 taek 阅读(431) 评论(0) 推荐(0) 编辑
摘要: ./configure --prefix=/usr/local/php7.1.5 --with-curl --with-iconv-dir --with-mysqli --with-openssl --with-pcre-regex --with-pdo-mysql --with-pear --wi 阅读全文
posted @ 2018-10-22 19:00 taek 阅读(272) 评论(0) 推荐(0) 编辑
摘要: dbproxy 支持 in 查询, 当in 中的字段 属于不同的分表时, QPS约为 5000左右, 如果为 等值查询, qps的30000左右 主要原因是 对于in操作,会产生多个不同分表的sql, 这些sql的发送完全是顺序的, 发送第二个sql, 要完全等到 第一个SQL结果的返回, src/ 阅读全文
posted @ 2018-10-19 22:14 taek 阅读(467) 评论(0) 推荐(0) 编辑
摘要: 有一个整数数组,请你根据快速排序的思路,找出数组中第K大的数。给定一个整数数组a,同时给定它的大小n和要找的K(K在1到n之间),请返回第K大的数,保证答案存在。测试样例:[1,3,5,2,2],5,3 http://blog.csdn.net/hymanxq/article/details/510 阅读全文
posted @ 2018-10-13 09:21 taek 阅读(1071) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 16 下一页