Internet of Things Development Docking

Internet of Things Devices Camera Card reader Gateway lpr Wait and so on Communication protocol Frame Selection Device SDK Haikang camera, vehicle identification and other equipment Dahua's camera Red Gate Gate Principle: Use JNI or JNA technology of java to invoke c driver to realize docking of device data.Distinguish deployment platforms ...

Posted on Sun, 05 Apr 2020 13:48:41 -0700 by romilbm

Correct practices for relationship binding between Channel and users of project system Netty and security scenarios for Channel channel

Preface Consider a functional business that communicates in real time to a specified user in a web program In the Socket communication functions used by the Web (e.g. online customer service), to ensure peer-to-peer communication, this seemingly simple channel will actually encounter a lot of problems based on the user finding the channel The ...

Posted on Tue, 10 Mar 2020 09:55:26 -0700 by EPCtech

Java implementation of JTT1078 real time audio and video transmission instruction -- video streaming load package (RTP) transmission

1, On the way of realization 1. Receive the 0x9101 command (real-time audio and video transmission request) issued by the platform 2. Analyze the 0x9101 command and get the IP and port number of the audio and video upload data server 3. Start to acquire each frame of video data of the device camera. ...

Posted on Fri, 06 Mar 2020 23:34:52 -0800 by suma237

Multithreaded notes - BIO

BIO BIO is a synchronous blocking mode. As long as there is a client access, the server will have a thread corresponding to it to communicate Before, a common practice was to start a thread on the server to listen. When the supervisor heard that the client was connected, a new thread was set up to communicate with the client specially. If the t ...

Posted on Sun, 01 Mar 2020 00:15:37 -0800 by asukla

The application of Java multithreaded programming in the main frameworks

Spring, Netty, Mybatis and other frameworks use a lot of Java multithreading techniques. Whether the concurrent programming process is appropriate or not will directly affect the performance of the architecture. In this chapter, through the analysis of the source code of these frameworks, combined with ...

Posted on Sat, 22 Feb 2020 20:14:30 -0800 by dave_55

Heart beat mechanism of dubbo

In network transmission, how to ensure the availability of channel connection is a very important issue. Simply put, in network communication, there are clients and servers, one is responsible for sending requests, the other is responsible for receiving requests. In the context of ensuring the validity of connection, what role do these two obje ...

Posted on Wed, 19 Feb 2020 10:18:30 -0800 by B-truE

Lightweight RPC Design and Implementation 3rd Edition

In the first two versions, a new channel connection for netty is created every time a request is made, which wastes resources in high concurrency. It is important to implement asynchronous requests when there are multiple request threads, and a thread pool needs to be designed to manage them.In addition, the current method relies too much on th ...

Posted on Wed, 19 Feb 2020 09:06:19 -0800 by Markx

I understand the distributed system. I have everything you need to know

Preface When it comes to distributed systems, we have to say centralized systems. In the traditional centralized system, everything in the whole project is in one application. A website is an application. When the system is under great pressure, it can only expand horizontally, add multiple servers or ...

Posted on Sun, 16 Feb 2020 00:26:05 -0800 by scottchr226

When is the onStart() method of Spark source code analysis Master called?

As we all know, the life cycle method of Master is: constructor - > onStart - > receive * - > onstop; but there is no direct call to onStart in Master's main method, so when is the onStart method called? This is actually related to the underlying Netty communication architecture of Spark. In th ...

Posted on Fri, 07 Feb 2020 08:25:08 -0800 by jib

[Netty] startup of NioEventLoop: processSelectedKeys execution logic

review If you forget how to enter the method, please go back newChild chapter io.netty.channel.nio.NioEventLoop#run ... // Check I/O Events select(wakenUp.getAndSet(false)); ... // Handle the I/O events found by select above processSelectedKeys(); ... // Run the event set processed above runAllTasks( ...

Posted on Fri, 31 Jan 2020 13:08:43 -0800 by SuprSpy79