返回的状态码和状态不一致的情况是有可能发生得,比如Web应用程序内部错误,但仍然返回 200 OK 200 OK 请求正常处理完毕 204 No Content 请求成功处理,没有实体的主体返回 206 Partial Content GET范围请求已成功处理 301 Moved Permanent ...
分类:
Web程序 时间:
2017-02-19 12:56:26
阅读次数:
180
关于Flume,官方定义如下: Apache Flume is a distributed, reliable, and available system for efficiently collecting, aggregating and moving large amounts of log ...
分类:
Web程序 时间:
2017-02-18 19:58:04
阅读次数:
247
由于某些原因,经常会使用apache(有时用nginx) 现在我主要用它做反向代理,偶尔弄一下负载均衡和添加head头 apache官网 http://httpd.apache.org/ 下载地址 http://httpd.apache.org/download.cgi 在centos中的安装教程: ...
分类:
Web程序 时间:
2017-02-13 18:37:51
阅读次数:
545
一、写在前面 HA即(high available)高可用,又被叫做双机热备,用于关键性业务。简单理解就是,有2台机器 A 和 B,正常是 A 提供服务,B 待命闲置,当 A 宕机或服务宕掉,会切换至B机器继续提供服务。常见的实现高可用的开源软件有 heartbeat 和 keepalived。 这 ...
分类:
其他好文 时间:
2017-02-12 22:20:27
阅读次数:
186
参考路径: http://blog.nciaer.com/?p=133 修改apache(2.4.18)的web路径时, 需要将 /etc/apache2/sites-available/000default.config 和 /etc/apache2/apache2.conf 中的/var/www ...
分类:
Web程序 时间:
2017-02-12 21:09:28
阅读次数:
253
Table 6-1 lists the size, representation, and range of each scalar data type for the C28x compiler. Many ofthe range values are available as standard ...
分类:
其他好文 时间:
2017-02-12 21:03:49
阅读次数:
141
Sysctl是一个允许您改变正在运行中的Linux系统的接口。它包含一些 TCP/IP 堆栈和虚拟内存系统的高级选项, 这可以让有经验的管理员提高引人注目的系统性能。用sysctl可以读取设置超过五百个系统变量。基于这点,sysctl(8) 提供两个功能:读取和修改系统设置。 查看所有可读变量: % ...
分类:
系统相关 时间:
2017-02-09 11:04:29
阅读次数:
200
If you want reliable data transfer, there is absolutely no way to use any USB-to-serial bridge correctly without hardware flow control, and without de ...
分类:
其他好文 时间:
2017-02-08 11:39:57
阅读次数:
238
Given an array of scores that are non-negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 and t ...
项目地址:https://github.com/googlesamples/android-architecture/tree/todo-mvp/
在第一篇说过,todo-mvp只是android-...
分类:
移动开发 时间:
2017-02-05 15:41:06
阅读次数:
587