原文:https://www.cyberciti.biz/faq/linux-traffic-shaping-using-tc-to-control-http-traffic/ I‘ve 10Mbps server port dedicated to our small business serve ...
最大公约数之和 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=26&problem=2421&mosmsg=Submission+received+wi ...
分类:
其他好文 时间:
2018-04-14 15:21:17
阅读次数:
148
代码演示 代码运行结果 received one received two 代码解读 go语言的通道选择器(select)可以同时等待多个通道操作 以上例子就是利用关键字select同时等待创建的两个通道的值 对于select语句而言,它会不断的检测通道是否有值传过来,一旦发现传过来,立刻获取并输出 ...
分类:
编程语言 时间:
2018-04-12 00:23:15
阅读次数:
194
服务器程序接收数据,客户端程序发送数据。 客户端将圆半径发送给服务器,服务器将圆面积返回给客户端。 服务器程序 客户机程序: ...
分类:
其他好文 时间:
2018-03-31 22:15:15
阅读次数:
185
不知道该咋说(? ?_?)? ServerSocketChannel和SocketChannel,它们对应原来的ServerSocket和Socket。 Buffer、Channel和Selector Buffer就是所要送的货物,Channel就是送货员(或者开往某个区域的配货车),Selecto ...
分类:
移动开发 时间:
2018-03-31 15:09:14
阅读次数:
220
本地升级了下MySQL的版本,从5.6升为5.7,数据文件直接拷贝的,项目查询数据库报错: Could not retrieve transation read-only status server The last packet successfully received from the ser ...
分类:
其他好文 时间:
2018-03-27 23:01:42
阅读次数:
308
浏览器中出现这种效果的原因: 是因为user这个变量直接写在了name的后面 解决方案: router.js中写法: ...
分类:
其他好文 时间:
2018-03-21 15:02:25
阅读次数:
2837
Ceph是目前炙手可热的一个统一分布式存储系统,具有优异的性能、可靠性、可扩展性。其可轻松扩展到数 PB 容量, 支持多种工作负载的高性能(每秒输入/输出操作[IOPS]和带宽),具有极其高的可靠性。Ceph对比HDFS优势在于易扩展,无单点。HDFS是专门为Hadoop这样的云计算而生,在离线批量 ...
分类:
其他好文 时间:
2018-03-18 17:22:05
阅读次数:
958
```go package main import ( "fmt" "os" "os/signal" "syscall" ) func main() { // Create the channel where the received // signal would be sent. The Not ...
分类:
其他好文 时间:
2018-03-17 23:24:17
阅读次数:
225
You started a long transaction. Before committing, you executed a query on one of the tables currently being modified. You received the following erro ...
分类:
其他好文 时间:
2018-03-16 18:48:54
阅读次数:
156