Getting started with gRPC

grpc framework reference material: Official document teachingGetting started with grpc go https://www.cnblogs.com/hongjijun/p/13724738.html GRPC is a cross language, high-performance and general open source RPC framework developed by Google based on Protobuf. GRPC is designed based on HTTP/2 protocol and can provide multiple services based o ...

Posted by deeem on Thu, 28 Oct 2021 12:35:39 -0700

Java day 23 summary

1. Basic concepts: program, process and thread A program is a set of instructions written in a certain language to complete a specific task. It refers to a piece of static code, static object. A process is an execution process of a program, or a running program. It is a dynamic process: it has its own process of emergence, existence and extin ...

Posted by cashflowtips on Thu, 28 Oct 2021 10:33:43 -0700

Three characteristics of concurrency visibility

introduction Children's shoes familiar with concurrency know that concurrent programming has three characteristics: visibility, orderliness and atomicity. Today, we analyze visibility from a demo and how to ensure visibility. JMM model Before we analyze visibility, we need to understand the concept of JMM model, which is often referred to as ...

Posted by |Adam| on Thu, 28 Oct 2021 07:30:59 -0700

Common operations in string class

1. Basic concept of string container c language style string is too complex and difficult to master, which is not suitable for the development of large programs 2. Common operations of string container string constructor string();//Create an empty string, for example: string str; string(const string &str)//Us ...

Posted by cheeks2k on Thu, 28 Oct 2021 03:05:47 -0700

spring quartz cluster construction

background quartz can be used to manage and schedule scheduled tasks. There are cluster mode and stand-alone mode. quartz's stand-alone mode is deployed. All task execution information is saved in memory. There is a single point of failure. quartz's cluster mode has the characteristics of high availability and automatic load balancing, whi ...

Posted by ravi.kinjarapu on Thu, 28 Oct 2021 02:44:00 -0700

c# structure type

In C#, a structure is a value type data structure. It enables a single variable to store relevant data of various data types. The struct keyword is used to create a structure. Structure is used to represent a record. Suppose you want to track the movement of books in the library. You may want to track the following properties of each book: • Ti ...

Posted by jmrothermel on Wed, 27 Oct 2021 23:23:25 -0700

Definition and application of array

1. Basic usage of array 1.1 what is an array 1.2 creating arrays 1.3 use of arrays 2. Array as parameter of method 2.1 basic usage 2.2 understanding reference types 2.3 understanding 3. Array as the return value of the method 4. Two dimensional array 1. Basic usage of array 1.1 what is an array If you need to represent two data, ...

Posted by l!m!t on Wed, 27 Oct 2021 22:02:40 -0700

Fundamentals of Java language (array) (recursive)

1. Array overview and definition format description 1. Why is there an array      Now you need to make statistics on the salary of employees in a company, such as calculating the average salary, finding the maximum salary, etc. Assuming that the company has 80 employees,      Using the knowledge learned above ...

Posted by antisback on Wed, 27 Oct 2021 20:15:01 -0700

Class loader & Reflection & modularization

1. Class loader 1.1 class loading [understanding] Description of class loading When a program wants to use a class, if the class has not been loaded into memory, the system will initialize the class through three steps: class loading, class connection and class initialization. If there are no accidents, the JVM will complete these three st ...

Posted by GooberDLX on Wed, 27 Oct 2021 19:58:42 -0700

11 classic use cases of list and tuple

Hello, I'm brother Deng, Today, I'd like to introduce 11 classic use cases of list and tuple. Let's have a look! 1. Judge whether there are duplicate elements in the list We can implement an is to judge whether it is repeated or not_ The duplicated method uses the count method encapsulated in the list to judge the occurrence times of each ...

Posted by r00tk1LL on Wed, 27 Oct 2021 16:44:06 -0700