nginx是以多进程的方式来工作的,当然nginx也是支持多线程的方式的,只是我们主流的方式还是多进程的方式,也是nginx的默认方式。nginx采用多进程的方式有诸多好处。 (1)nginx在启动后,会有一个master进程和多个worker进程。master进程主要用来管理worker进程,包含:接收来自外界的信号,向各worker进程发送信号,监控 worker进程的运行状态,当worker...
分类:
其他好文 时间:
2014-07-29 15:00:48
阅读次数:
149
Master Yoda is the oldest member of the Jedi Council. He conducts preparatory classes of little Younglings up to the moment they get a mentor. All Younglings adore master Yoda and they hope to grow...
分类:
其他好文 时间:
2014-07-29 14:59:48
阅读次数:
266
查看二进制日志文件mysql> SHOW BINLOG EVENTS \G;mysql> SHOW MASTER LOGS;清除二进制日志文件mysql> PURGE { MASTER|BINARY } LOGS TO 'log_name';mysql> PURGE { MASTER|BINARY ...
分类:
数据库 时间:
2014-07-29 13:55:28
阅读次数:
318
redis 主从配置Master:192.168.209.18Slave:192.168.209.19Master:tar xzvf redis-2.8.12.tar.gzmv redis-2.8.12 /usr/local/rediscd /usr/local/redismakecp redis....
分类:
其他好文 时间:
2014-07-29 13:37:18
阅读次数:
339
Problem Description
Shaolin temple is very famous for its Kongfu monks.A lot of young men go to Shaolin temple every year, trying to be a monk there. The master of Shaolin evaluates a young man mai...
分类:
其他好文 时间:
2014-07-29 12:59:17
阅读次数:
322
题目如下:This cheeseburger you don't needDescriptionYoda: May the Force be with you.Master Yoda is the oldest member of the Jedi Council. He conducts prep...
分类:
其他好文 时间:
2014-07-29 12:20:26
阅读次数:
279
首先查看日志文件:发现有两个严重错误。2014-07-2722:28:32.81spid7sStartingupdatabase‘master‘.2014-07-2722:28:32.90spid7s错误:5118,严重性:16,状态:1。2014-07-2722:28:32.90spid7s文件"C:\ProgramFiles\MicrosoftSQLServer\MSSQL10.MSSQLSERVER\MSSQL\DATA\master.mdf..
分类:
数据库 时间:
2014-07-28 16:51:34
阅读次数:
300
目标网址http://127.0.0.1/shentou/sqli-labs-master/Less-5/?id=1Payload的生成 1 2 MySQL >= 5.0 AND error-based - WHERE or HAVING clause 3 2 4 1...
分类:
数据库 时间:
2014-07-28 11:36:10
阅读次数:
433
1,安装环境+安装服务器-ccsp-1-1(192.168.16.12,默认为master节点)-ccsp-2-1(192.168.16.14)-ccsp-1-3(192.168.16.16)-ccsp-2-3(192.168.16.17)+Redis安装版本redis-2.8.12-http://download.redis.io/releases/redis-2.8.12.tar.gz+RW属性:master节点可读可写,slave节点为只读..
分类:
其他好文 时间:
2014-07-27 11:59:39
阅读次数:
293
MemSQL
原理:将不用锁的数据结构和即时编译器结合起来应对大容量的工作负载,在内存中实现了免锁的hashtable和免锁skiplists(一种层级关系的链表结构)来快速随机访问数据。
持久性:MemSQL尽管在内存中存数据,可以通过写日志和快照(类似于checkpoint)对数据持久化到磁盘
复制:MemSQL目前支持master-slave的复制方式,它支持本地复制协议能将事务日志转...
分类:
其他好文 时间:
2014-07-27 11:46:03
阅读次数:
270