2017年3月22日

浅谈Nginx负载均衡与F5的区别

摘要: 前言 笔者最近在负责某集团网站时,同时用到了Nginx与F5,如图所示,负载均衡器F5作为处理外界请求的第一道“墙”,将请求分发到web服务器后,web服务器上的Nginx再进行处理,静态内容直接访问本地门户,动态数据则通过反向代理指向内网服务。 其实Nginx和F5这两者均可用作网站负载均衡,那二 阅读全文

posted @ 2017-03-22 17:00 水桶畅畅 阅读(771) 评论(0) 推荐(0)

2017年3月21日

Java NIO (16) AsynchronousFileChannel

摘要: Java NIO AsynchronousFileChannel In Java 7 the AsynchronousFileChannel was added to Java NIO. The AsynchronousFileChannel makes it possible to read da 阅读全文

posted @ 2017-03-21 16:55 水桶畅畅 阅读(455) 评论(0) 推荐(0)

Java NIO (15) Files

摘要: Java NIO Files The Java NIO Files class (java.nio.file.Files) provides several methods for manipulating files in the file system. This Java NIO Files  阅读全文

posted @ 2017-03-21 16:48 水桶畅畅 阅读(205) 评论(0) 推荐(0)

Java NIO (14) Path

摘要: Java NIO Path The Java Path interface is part of the Java NIO 2 update which Java NIO received in Java 6 and Java 7. The Java Path interface was added 阅读全文

posted @ 2017-03-21 16:33 水桶畅畅 阅读(187) 评论(0) 推荐(0)

Java NIO (13) NIO vs. IO

摘要: Java NIO vs. IO When studying both the Java NIO and IO API's, a question quickly pops into mind: When should I use IO and when should I use NIO? In th 阅读全文

posted @ 2017-03-21 15:58 水桶畅畅 阅读(137) 评论(0) 推荐(0)

Java NIO (12) Pipe

摘要: Java NIO Pipe A Java NIO Pipe is a one-way data connection between two threads. A Pipe has a source channel and a sink channel. You write data to the 阅读全文

posted @ 2017-03-21 15:37 水桶畅畅 阅读(127) 评论(0) 推荐(0)

Java NIO (11) DatagramChannel

摘要: Java NIO DatagramChannel A Java NIO DatagramChannel is a channel that can send and receive UDP packets. Since UDP is a connection-less network protoco 阅读全文

posted @ 2017-03-21 15:24 水桶畅畅 阅读(153) 评论(0) 推荐(0)

Java NIO (10) Non-blocking Server

摘要: Java NIO: Non-blocking Server Even if you understand how the Java NIO non-blocking features work (Selector, Channel, Buffer etc.), designing a non-blo 阅读全文

posted @ 2017-03-21 14:15 水桶畅畅 阅读(218) 评论(0) 推荐(0)

Java NIO (9) ServerSocketChannel

摘要: Java NIO ServerSocketChannel A Java NIO ServerSocketChannel is a channel that can listen for incoming TCP connections, just like a ServerSocket in sta 阅读全文

posted @ 2017-03-21 13:52 水桶畅畅 阅读(127) 评论(0) 推荐(0)

Java NIO (8) SocketChannel

摘要: Java NIO SocketChannel A Java NIO SocketChannel is a channel that is connected to a TCP network socket. It is Java NIO's equivalent of Java Networking 阅读全文

posted @ 2017-03-21 13:43 水桶畅畅 阅读(195) 评论(0) 推荐(0)

导航