Building WebSocket with C
WebSocket is a full duplex communication protocol provided by HTML5 on a single TCP connection.
WebSocket makes the data exchange between the client and the server easier, allowing the server to actively push data to the client. In the WebSocket API, the browser and server only need to complete one handshake, and they can directly create a per ...
Posted by Brian on Thu, 17 Oct 2019 03:44:39 -0700
mysql5.6 installation and deployment
mysql5.6 install
Here, the pre compiled binary is used for installation and deployment. Compared with the compiled installation, it does not need to be compiled, but can be used after the initialization of my.cnf is modified directly. It is recommended to use this method in the production environment.
Download FileDomestic image source downlo ...
Posted by persepha on Wed, 16 Oct 2019 07:13:51 -0700
Start skynet's own sample
Take a look at the skynet basic directory first, as shown below, the sample with skynet is in the examples path
Click in to see config. The following figure shows the configuration information.
The main function of the skynet-src/skynet_main.c script is called here as follows
Start up sample first.
Open ...
Posted by Xster on Mon, 14 Oct 2019 13:10:19 -0700
java Foundation (31): Network Communication Protocol, UDP, TCP
1. Network Communication Protocol
Through computer network, many computers can be connected. The computers in the same network need to obey certain rules when connecting and communicating, which is just like the traffic rules when driving on the road. In computer networks, these rules of connection and communication are called network communi ...
Posted by tcsnguy08 on Mon, 14 Oct 2019 02:40:41 -0700
java Foundation (24): Conversion Stream, Buffer Stream
1. Conversion flow
What does it mean to construct an InputStreamReader or OutputStreamWriter on the basis of byte streams when learning about character streams (FileReader, FileWriter)?
1.1 OutputStreamWriter class
Referring to the API introduction of Output Stream Writer, Output Stream Writer is a bridge between character flow and ...
Posted by Jude on Fri, 11 Oct 2019 02:44:51 -0700
How much do you know about the latest features of Java 13?
JDK 13 was officially released on September 17, 2019.
The new version contains five main features
JEP 350: Dynamic CDS Archives
JEP 351: ZGC: Uncommit Unused Memory
JEP 353: Reimplement the Legacy Socket API
JEP 354: Switch Expressions (Preview)
JEP 355: Text Blocks (Preview)
Dynamic CDS Archives
First, we introduce CDS, which is called Class ...
Posted by Brown on Fri, 11 Oct 2019 01:05:18 -0700
Spark Structured Flow Processing Mechanism
fault tolerance
End-to-end assurance is one of the key goals of structured flow design.
Structured Streaming sources,sinks, etc. are designed to track the exact processing progress and allow it to restart or rerun to handle any failures.
streaming source is a kafka-like offsets to track the read location of the stream. The execution engine u ...
Posted by Acs on Thu, 10 Oct 2019 04:23:17 -0700
Introduction and introduction to 03RPC - netty
Netty is a network application framework based on Java NIO.
Netty is a NIO client-server (client server) framework, using Netty can quickly develop network applications, such as server and client protocols. Netty provides a new way to develop network applications, which makes it easy to use and extensib ...
Posted by lnenad on Wed, 09 Oct 2019 22:42:45 -0700
Server Development - Learning Notes - Cross-Platform (win, ubtu) - Fallacies to Be Modified
Links to the original text: https://mp.csdn.net/postedit/98461694
In the previous article, we realized the communication between the client and the server, which made good use of the structure. In this article, we mainly transplanted the ...
Posted by Chris 96 WS6 on Wed, 09 Oct 2019 13:18:50 -0700
FastDFS Learning - Installation and Configuration
Download and Installation
Download and install libfast common
Introduction: Libfast common is an open source C-based library, which is a C-based library separated from the FastDFS project. This library is very simple and stable. Functions include: string, recorder, chain, hash, socket, ini file read ...
Posted by mikeyinsane on Tue, 08 Oct 2019 23:22:07 -0700