Several implementation methods of using WebSocket in Spring Boot - detailed explanation
brief introduction
The so-called WebSocket is similar to Socket. Its function is to enable the client and server in Web applications to establish full duplex communication. There are three ways to use WebSocket in Spring based applications:
Implemented using @ ServerEndpoint annotation provided by JavaIt is implemented using the low-level Web ...
Added by rami on Tue, 14 Dec 2021 21:52:07 +0200
[JS reverse hundred examples] WebSocket protocol crawler, smart tree code scanning login case analysis
Focus on official account dry cargo WeChat public: K brother crawler, keep sharing crawler advance, JS/ Android reverse technology dry goods!
statement
All contents in this article are for learning and communication only. The packet capturing content, sensitive website and data interface have been desensitized. It is strictly prohi ...
Added by robertsamanek on Tue, 14 Dec 2021 04:28:02 +0200
Article to understand what is websocket protocol (with C implementation program under linux)
websocket background
1.websocket protocol was born after HTTP protocol. Before the emergence of websocket protocol, it was found that creating web applications that require two-way communication between the client and the server (for example, instant messaging and game applications) needed to abuse HTTP to poll the server for updates, which wo ...
Added by khaine on Thu, 09 Dec 2021 15:25:44 +0200
java+vue+websocket can obtain and display kubernetes pod logs in real time
scene
Now there is such a scenario: the user will create task running algorithm training on the platform. After starting the task, the background will create a container running training task through kubernetes. You need to display the training task log in real time on the page. Because logs are constantly generated, and the latest logs need t ...
Added by kid85 on Wed, 08 Dec 2021 09:18:17 +0200
Use the tool software Clumsy and Process Explorer to locate the problem of high CPU consumption
catalogue
1. Problem description
2. Use Process Explorer to find out the cause of high CPU consumption
3. The problem is reproduced in the Intranet environment of the company using clussy tool
4. According to the function call stack in Process Explorer, the source code is analyzed and the problem is finally found
5. Summary
...
Added by faraco on Sun, 24 Oct 2021 05:31:53 +0300
Java realizes the communication between client and server through socket
When learning socket communication in Java, the teacher assigned an assignment and took this opportunity to sort out the relevant knowledge. The topics are as follows:
Write client-server program and use Socket technology to realize communication. Both parties agree that the communication port is 6789. Server side function: after receiving the ...
Added by R1der on Wed, 06 Oct 2021 23:32:45 +0300
❥ you can't learn a series ❥ -- network programming based on Python
1, IP address
1. Concept of IP address
IP address is an address that identifies devices in the network, just like the home address in real lifeRendering of equipment in the network:
2. Expression of IP address
IP addresses fall into two categories: IPv4 and IPv6IPv4 is the currently used ip addressIPv6 is the ip address to be us ...
Added by Anarking on Sun, 19 Sep 2021 14:14:08 +0300
Build Websocket microservices through gatewayworker / workman
background
Recently, some projects need to use Websocket to push real-time to grouped users, and there is less information to be transmitted from the front end to the back end. Through various considerations, we chose to build microservices through the gateway worker framework (based on workman).
introduce Workerman
Workerman is an op ...
Added by l3asturd on Fri, 17 Sep 2021 19:57:37 +0300