C + + implementation of anonymous shared memory

1, Ashmem C language interface You can usually use ashmem in the libcutils library_ create_ The region function creates a shared memory area: #define ASHMEM_DEVICE "/dev/ashmem" /* * ashmem_create_region - creates a new ashmem region and returns the file * descriptor, or <0 on error * * `name' is an optional label to give the region (vi ...

Posted by neoboffins on Mon, 07 Feb 2022 20:51:24 +0100

Introduction to Spring Boot JPA Basics

Spring Boot JPA preface The full name of JPA is Java Persistence API, that is, Java Persistence API. It is a set of ORM based specifications launched by SUN company. It is internally composed of a series of interfaces and abstract classes. JPA describes the mapping relationship between object and relational table through JDK 5.0 annotation, a ...

Posted by vijayanand on Mon, 31 Jan 2022 16:19:17 +0100

@ Data@Sf4j Annotation and lombok

catalogue brief introduction lombok pom dependency use principle Advantages and disadvantages brief introduction @The main function of the Data annotation is to improve the simplicity of the code. Using this annotation can save a large number of methods in the code, such as get(), set(), toString(). lombok pom dependency If you want ...

Posted by zhangy on Thu, 27 Jan 2022 07:36:39 +0100

Take you ten days to easily handle the Go micro service series (VIII. Service monitoring)

preface We will show you a go zero micro service example in detail through a series of articles. The whole series is divided into ten articles, and the directory structure is as follows: Environment constructionService splittingUser servicesProduct serviceOrder servicePayment servicesRPC service Auth authenticationService monitoring (this art ...

Posted by academ1c on Wed, 26 Jan 2022 17:14:27 +0100

Take you ten days to easily handle the Go micro service series

preface We will show you a go zero micro service example in detail through a series of articles. The whole series is divided into ten articles, and the directory structure is as follows: Environment constructionService splittingUser servicesProduct serviceOrder servicePayment services (this article)RPC service Auth authenticationService monit ...

Posted by tabatsoy on Tue, 25 Jan 2022 06:55:25 +0100

Take you ten days to easily complete the Go micro service series

preface We will show you a go zero micro service example in detail through a series of articles. The whole series is divided into ten articles, and the directory structure is as follows: Environment constructionService splittingUser servicesProducts and services (this article)Order servicePayment servicesRPC service Auth authenticationService ...

Posted by saranya on Thu, 20 Jan 2022 08:44:48 +0100

Unity simple lightweight ECS framework LeoECS Chinese document

LeoECS - simple lightweight C# entity component system framework Performance, zero / small memory allocation / footprint, the main goal of this project - independent of any game engine. **Important** It is a "structure based" version, if you search for a "class based" version - check Class based branching! This fr ...

Posted by kittrellbj on Thu, 20 Jan 2022 07:05:46 +0100

Take you ten days to easily complete the Go micro service series

At the beginning of this article, we will publish a series of articles to show you a go zero micro service example in detail. The whole series is divided into ten articles, and the directory structure is as follows: Environment construction (this paper)Service splittingUser servicesProduct serviceOrder servicePayment servicesRPC service Auth a ...

Posted by Pedestrian on Tue, 18 Jan 2022 09:26:59 +0100

MASA Framework - EventBus design

summary The publish subscribe mode is used to decouple different architecture levels, and can also be used to isolate the interaction between businesses advantage: loose couplingcrosscutting concern Testabilityevent driven Publish subscribe mode The publisher sends the message to the subscriber through the dispatching center. The dispat ...

Posted by NathanLedet on Fri, 14 Jan 2022 13:39:09 +0100

Distributed file storage database MongoDB

Introduction to MongoDB (article reprinted from Le byte) Mongo does not mean Mango, but comes from the word Humongous. MongoDB is a NoSQL database based on distributed file storage. Written in C + +. It aims to provide scalable high-performance data storage solutions for WEB applications. About what is NoSQL, you can read what is NoSQL aft ...

Posted by nmreddy on Tue, 11 Jan 2022 01:59:56 +0100