SpringBoot(23) integrates socket.io server and client for communication

1. Preface What is the difference between websocket and socket.io? websocket A technology for two-way real-time communication between client and server While mainstream browsers already support it, there may be incompatibilities when using it Suitable for client and node-based server use socket.io Encapsulate WebSocket, AJAX, and other comm ...

Posted by pixelsoul on Fri, 07 Feb 2020 18:03:22 +0100

Relearn data structure - single chain table

Linked list brief introduction Linked list is a very important data structure in data structure. It is not only important in itself, but also an important part of tree, graph and other data structures. There are many kinds of linked list: one-way linked list, circular linked list, two-way linked list and so on. Linked list is a kind of se ...

Posted by _giles_ on Fri, 07 Feb 2020 10:26:00 +0100

Initialization process of Spring MVC-01-DispatchServlet

1, Initialization process of dispatcher Servlet The dispatcher servlet inherits the HttpServletBean class, which contains the initialization method init(), whose code is as follows: /** * Map config parameters onto bean properties of this servlet, and * invoke subclass initialization. * @throws ServletException if bean properties are in ...

Posted by artfuldrone on Thu, 06 Feb 2020 12:05:32 +0100

Day13 stream stream, method reference

Chapter 1 Stream stream When it comes to streams, it's easy to think of I / O streams. In fact, who stipulates that "streams" must be "IO streams"? In Java 8, thanks to the functional programming brought by Lambda, a new Stream concept is introduced to solve the existing drawbacks ...

Posted by demon_athens on Thu, 06 Feb 2020 07:24:02 +0100

The way of meituan's commodity platform

From the beginning of 2015 to the end of 2018, we have made a commodity system in meituan reviews for four years. A little summary. 2019/1/3   Business fast running, platform jogging 1. Fast business At the beginning of 2015, pan commodity system was started to explore ktv booking, and a set of ...

Posted by gabo on Thu, 06 Feb 2020 05:19:11 +0100

WPF Learning Notes: x Namespace Details

The letter X is actually the first letter of XML, and the X namespace corresponds to this statement: xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml", which contains classes related to parsing the XAML language and is divided into three main categories: Attribute, tag extension, instr ...

Posted by serial on Thu, 06 Feb 2020 03:42:17 +0100

The key principle of kubernetes scheduler

kubernetes scheduler has analyzed SchedulerCache, ScheduleAlgorithm, scheduleextender, Framework and other core data structures, as well as the core implementation of optimization, scheduling and preemption processes. This paper is the last chapter of this series, and also a summary of the current stage's learning of scheduling I've updated the ...

Posted by JackSevelle on Tue, 04 Feb 2020 06:02:02 +0100

C#Learning Notes 4-Flying Chess Project

Flying Chess Items Preface Introduction to Flying Chess Game Flying Chess Game Writing Preface The last genius said that he studied eight hours a day. Unexpectedly, he broke his word yesterday and learned four hours. He got up at 7:30 this morning to continue learning the flying chess project, a ...

Posted by hassanz25 on Mon, 03 Feb 2020 03:59:42 +0100

java: class and object, object container

The content of this article comes from "Object-Oriented Programming - Java language" written by Weng Kai, Zhejiang University, mooc.com. After learning, I sorted out this article, which is purely used for learning records. Article directory 1. Object initialization 2. Object interaction 3. c ...

Posted by oscardog on Sat, 01 Feb 2020 14:12:34 +0100

About js confusion

Last year, I opened a js obfuscation tool and a js obfuscation restore tool according to the second open source tool. Today, I will talk about the general principle of this obfuscation tool and what I will do next. At present, the obfuscation result of this obfuscation tool is barely, and the following is before and after obfuscation //Before c ...

Posted by daniel_lee_hill on Fri, 31 Jan 2020 20:20:16 +0100