Exploration and test of 1PPS time synchronization function of GPS

Recently, in the study of GPSD related information, it is found that GPSD can cooperate with NTPD to achieve high-precision time synchronization function, so this topic is involved. At present, Ublox F9P module is in hand, UART outputs NEMA data, and another GPIO outputs 1PPS pulse First, look at a ...

Posted by igorlopez on Thu, 11 Jun 2020 05:41:44 +0200

Zookeeper implements service registration / Discovery (recommended Collection)

  what that? Zookeeper is frequently used in distributed development, but many frameworks encapsulate it. Beginners may not understand its working principle well. This article demonstrates the simple demo of using zookeeper to realize service registration and service discovery, hoping to achieve th ...

Posted by anushka on Tue, 09 Jun 2020 10:05:39 +0200

Spring zuul Quick Start Practice--Service Forwarding Implementation Resolution

As one of springCloud's bucket components, zuul has an indispensable component.As a normal java API gateway, it has its own benefits: Avoid exposing internal information to the outside; Unified Service End Application Entry; Adding an additional security layer to the microservice; Support hybrid communication protocols; Reduce the complexity ...

Posted by madspof on Mon, 08 Jun 2020 02:10:43 +0200

Linux command (30)ls command

ls command Function description: Lists a list of files (including subdirectories) in a specified directory, but does not display the contents of the files Usage: ls [OPTION]... [FILE]... option Effect -a Show all files, including hidden files -A Show all files except.And.. -l Show detailed properties of the file -h Converts the f ...

Posted by mcovalt on Thu, 28 May 2020 18:33:58 +0200

dump out all slab objects in the Linux kernel to seize the kernel Rootkit

The previous articles describe a number of ways to hide processes, hide TCP connections, and hide kernel modules. To sum up, the differences from most articles on the Internet that introduce Rootkit are: Most articles on the web are hook procfs to hide objects. My approach is to remove objects directly from data structures such as chains. ...

Posted by ask9 on Thu, 21 May 2020 03:19:02 +0200

Implement simple tomcat

Since our Web application is running in tomcat, the request must arrive at Tomcat first. Tomcat actually handles the request as follows. First, provide Socket service The start of Tomcat must be Socket service, but it only supports HTTP protocol! In fact, we can expand our thinking here. Since Tomcat is based on Socket, what about BIO or NIO ...

Posted by Sesquipedalian on Mon, 11 May 2020 16:41:20 +0200

java socket realizes the server, and the client has simple network communication. Chat

There are some serious bug s in the code written before to realize simple network communication. Write in detail later. According to the last code, mainly increased the user registration, login page, and realized the real-time display of the current login status of the number of people. And solve some bug s not found last time. (refer to previo ...

Posted by Byron on Mon, 04 May 2020 03:09:22 +0200

Android connects multiple tcp servers in one thread

In general, when our client starts tcp to connect to the server, it's a connection thread, so it's easy to write code public class SocketTcpClient implements Runnable { private final String ip; private Socket socket; public SocketTcpClient(String ip) { this.context = context; this.ip = ip; } @Override ...

Posted by ahmed17 on Sun, 03 May 2020 18:07:49 +0200

Performance problems caused by a long socket connection

socket long connection Performance issues caused by client maintaining heartbeat Client code It realizes a thread that sends heartbeat packets to the server regularly, and a thread that receives messages returned from the server. package practice; import client.Client; import client.KeepAlive; import java.io ...

Posted by Woolf on Fri, 01 May 2020 17:12:38 +0200

Python - Implementing SSH Tunneling Function

Please indicate the source of the reprint: http://blog.csdn.net/l1028386804/article/details/78845722 Imagine an environment where you can access an SSH server on your intranet and you also want to access a Web server on the same segment.You cannot access the Web server directly, but SSH servers can access the Web server and there are no tools ...

Posted by k994519 on Fri, 01 May 2020 11:11:52 +0200