Given a string, we can "shift" each of its letter to its successive letter, for example: "abc" -> "bcd". We can keep "shifting" which forms the sequen ...
分类:
其他好文 时间:
2016-09-14 07:19:49
阅读次数:
226
nginx和tomcat实现动静分离,加快访问网站的速度。
工作流程就是
lvs---->keepalive---->nginx负载均衡---->tomcat
准备四台服务器:
1.web1:192.168.4.10
2.web2:192.168.4.11
3.keep_master:192.168.4.20
4.kepp_slave:192.168.4.21
web1和web2上:(web2一样)
ngin..
分类:
其他好文 时间:
2016-09-14 00:30:28
阅读次数:
214
When there are some property contents we want to keep, usually, we can use Property table to keep them. 2.Insert data to property table 3.Get the valu ...
分类:
其他好文 时间:
2016-09-13 17:44:18
阅读次数:
117
IIS 6.0 from:https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/ea116535-8eb9-4c80-8b14-b34418dbfe42.mspx?mfr=true Procedures... ...
分类:
Web程序 时间:
2016-09-08 10:04:40
阅读次数:
354
HttpURLConnection的变态事: Keep-Alive JDK自带的HttpURLConnection默认启动Keep-Alive, 使用后的HttpURLConnection会放入池里重用. 相关描述: What does the current JDK do for Keep-Ali... ...
分类:
编程语言 时间:
2016-09-07 14:41:51
阅读次数:
720
oracle database 11G 增加了临时表空间收缩的功能。这无需重建临时表空间,就可以减少增长的过大临时表空间。 临时表空间缩小到20M example: alter tablespace temp shrink space keep 20M; 尽可能小的缩小临时表空间 example: ...
分类:
其他好文 时间:
2016-09-04 11:41:52
阅读次数:
252
1、监听的套接字 此指令可以出现多次, 用于指定监听多个不同的套接字: 2、配置文件中使用的 keep alive 目前多数的浏览器都请求服务器保持持续连接,这种功能就称为“KeepAlive”,它是HTTP1.1中的标准规格,一般是用来强化服务器的性能。在使用保持连接功能时,设置客户一次请求连接能 ...
分类:
Web程序 时间:
2016-09-02 11:39:20
阅读次数:
210
浏览器如果通过代理来访问网站,那么会将DNS功能交给代理服务器来解析,此时清空操作系统DNS缓存,修改HOSTS文件,停止系统DNScache服务,清空浏览器DNS缓存都是没有用的。 同时,,很多网站会建立长连接,有这个HTTP头,Connection:Keep-Alive。在浏览器里关掉就可以让H ...
分类:
Web程序 时间:
2016-09-01 21:19:58
阅读次数:
160
似乎是connection自己断了解决的办法是在创建conn的时候添加下面这句 conn.keep_this = conn_session 完整代码 def create_a_conn(ip_addr, port, username, password): ''' creat a conn to r ...
分类:
其他好文 时间:
2016-09-01 02:01:24
阅读次数:
1462
If you keep on believing, the dreams that you wish will come true. 如果你坚定信念,就能梦想成真。 I always believe I am unique and I will get what I dream of. But th ...
分类:
其他好文 时间:
2016-08-31 23:43:12
阅读次数:
187