Java -- optimize the use of TCP to achieve file upload (multithreading)
Java -- optimize the use of TCP to achieve file upload (multithreading)
Blog description
The information involved in this article comes from Internet collation and personal summary, which means personal learning and experience summary. If there is any infringement, please contact me to delete, thank you!
graphic
step
[Client] input stream, ...
Posted by pastijalan on Sat, 25 Apr 2020 07:39:42 -0700
Smart socket: active Push message from server to client
In the communication scenario, the common mode is that the client sends the request to the server, and the server responds again. Another communication mode is that the server actively pushes messages to the client. There are usually two scenarios for this communication.
Scenario 1
A client sends instructions to the server and triggers the serv ...
Posted by madhouse92 on Sat, 25 Apr 2020 06:58:27 -0700
Vue Router summary (from official website)
Vue Router summary (from official website)
1. Introduction to Vue router function
Nested route / view tables
Modular, component-based routing configuration
Routing parameters, queries, wildcards
View transition effect based on Vue.js transition system
Fine grained navigation control
Links with automatically activated CSS class es
HTML 5 histor ...
Posted by sotusotusotu on Sat, 25 Apr 2020 03:00:26 -0700
Java--Socket Programming TCP communication
Java--Socket Programming TCP communication
Blog description
The information involved in this article comes from Internet collation and personal summary, which means personal learning and experience summary. If there is any infringement, please contact me to delete, thank you!
Explain
TCP communication can realize data interaction between two ...
Posted by jiggens on Fri, 24 Apr 2020 21:06:00 -0700
C ා basic knowledge series - 13 introduction to common class library
0. Preface
One foreword for each article, introduce the content of this article. The previous contents are all for the introduction of some knowledge points. This article introduces some commonly used classes and namespaces in actual development. This is a series. There are about three or four episodes. Well, that's it.
1. System namespace
Syst ...
Posted by danger2oo6 on Fri, 24 Apr 2020 11:05:32 -0700
Take you to the Quick Start-Advanced-Advanced ybatis-XML Approach
MyBatis-XML Schema
1. Brief Description - Differences from Notes
Execution efficiency: same
Speed of development: faster annotations
Easy maintenance: Notes are simpler.
Old company, old projects still use XML
2. Environmental Setup
1. Make sure the database has been created
2. Import jar package & core configuration file ...
Posted by morphboy23 on Fri, 24 Apr 2020 10:13:57 -0700
Introduction to tree dp
Today, I learned tree dp, and found that tree dp is more difficult to get started, so I decided to send a blog about tree dp.
I'm sure you all know the concept of tree dp, so we won't talk about it any more. Go straight to the example.
1, General tree DP
P1352 dance without boss
Title Description
A university has N employees, numbered 1- ...
Posted by Rederick on Fri, 24 Apr 2020 02:16:27 -0700
Apache Kafka Study Notes
quick get start
install
Docker installation single Kafka
docker pull wurstmeister/zookeeper
docker pull wurstmeister/kafka
docker run -d --name zookeeper -p 2181:2181 wurstmeister/zookeeper
docker run -d --name kafka -p 9092:9092 -e KAFKA_BROKER_ID=0 -e KAFKA_ZOOKEEPER_CONNECT=Host computer IP:2181 -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://127 ...
Posted by ghost007 on Fri, 24 Apr 2020 00:00:49 -0700
11. Chapter 11 of spring cloud, upgrading, service GateWay gateway, service configuration Config and service Bus bus
Chapter 10 of spring cloud, upgrading, service GateWay gateway, service configuration Config and service Bus bus
1, Service GateWay
1. Gateway overview
Why does it exist:
Different microservices usually have different network addresses, and external clients may need to call multiple microservices interfaces to fulfill the requirements of ...
Posted by AutomatikStudio on Thu, 23 Apr 2020 20:51:35 -0700
The java thread pool ThreadPoolExecutor class uses
In the Alibaba java Development Manual, it is pointed out that thread resources must be provided through thread pools, which do not allow the creation of threads displayed by the application itself. On the one hand, the creation of threads is more standardized and the number of open threads can be reasonably controlled. On the other hand, th ...
Posted by pesoto74 on Thu, 23 Apr 2020 18:10:16 -0700