Make a LAN Chat Tool with Socket
Links to the original text: http://www.cnblogs.com/technology/archive/2010/08/15/1799858.html
Programming becomes a simple communication between the server and the client, but through some methods, the two can be unified, so that th ...
Posted by bigfunkychief on Mon, 19 Aug 2019 15:56:28 +0200
A simple Netty-EchoDemo
This blog Uncle Cat's Blog , reprint please state sourceRead this about "4 minutes"
Readable Population: Java-Netty Junior
Echo Simple Communications Case
Version: netty 4.1. *Statement: The purpose of this article is to re-share the discussion of official Netty related cases, add some personal understanding and point analysis.
This ...
Posted by sametch on Sun, 18 Aug 2019 08:01:36 +0200
Summary of Network Programming
Catalog
1.C/S B/S Architecture
2. Principle of Network Communication
3.osi seven-tier protocol
4.UDP TCP Protocol
5. Three Handshakes and Four Waves of TCP Protocol
6.socket socket
7. Simple socket communication based on TCP protocol
8. socket Loop Communication Based on ...
Posted by FRSH on Sat, 17 Aug 2019 10:58:56 +0200
Kafka Network Layer Resolution, or someone has made it clear
We know that kafka is based on TCP connections. It does not use netty as a TCP server like many middleware. Instead, I wrote a set based on Java NIO.
Several Important Classes
Look at Kafka Client's network architecture first.
This paper mainly analyses the Network layer.
The Network layer has two important classes: Selector and Kaf ...
Posted by TeddyKiller on Fri, 16 Aug 2019 10:19:26 +0200
Generate SSL certificates and configure SSL authentication for Kafka
1. Generating relevant SSL certificates
Relevant knowledge points:
Java SSL authentication: SSL (Secure Socket Layer Secure Socket Layer) and its successor Transport Layer Security (TLS) are security protocols that provide security and data integ ...
Posted by evdawg80 on Tue, 13 Aug 2019 15:47:51 +0200
NIO Programming of netty Learning Notes java
netty Learning java NIO Programming
NIO in-depth analysis
Flp source code:
NIO Out-of-heap Memory and Zero Copy
Memory Mapping File
File lock usage
Network communication of traditional java
NIO Non-blocking Communication
Selector is important
channel source code for SelectionKey
Examples of using Sel ...
Posted by derekbelcher on Mon, 12 Aug 2019 12:50:55 +0200
Netty Learning Note Communication Scheduling Paper: Reactor Thread Model
Catalog
Reactor Model
Single Thread Model
Multithread model
Master multithreading model
Sample code
Reactor Model
Reactor model in Netty is mainly composed of Acceptor, Dispatcher and Handler, which can be divided into three kinds.
Single Thread Model
All I/O operations are performed by a s ...
Posted by shakuni on Mon, 12 Aug 2019 10:21:18 +0200
Introduction of python's Djiango framework
I. Essence of Web Framework
All Web applications are essentially a socket server, and the user's browser is a socket client.
Return different contents according to different paths
You can write several simple pages and then access the corresponding page test by http://127.0.0.1:8080/page name
import socket
server = socket.socket() ...
Posted by prcollin on Wed, 07 Aug 2019 08:47:49 +0200
FastDFS Learning-SpringBoot Integrated FastDFS
Relevant dependency
<!-- https://mvnrepository.com/artifact/net.oschina.zcx7878/fastdfs-client-java -->
<dependency>
<groupId>net.oschina.zcx7878</groupId>
<artifactId>fastdfs-client-java</artifactId>
<version>1.27.0.0</version>
</dependency& ...
Posted by karq on Tue, 06 Aug 2019 10:04:29 +0200
Docker Resource Limitation
By default, a container has no resource constraints and can use all the resources scheduled by the kernel.Docke provides parameters to control the memory, CPU, and block IO used by the container when it is started.
Only memory and CPU can be controlled.
Memory
Memory is an incompressible resource
OOME
In Linxu systems, if the kernel detects ...
Posted by cohq82 on Sun, 04 Aug 2019 18:25:57 +0200