Query Log for ProxySQL Official Translation_u 08_ProxySQL Configuration

Query Log for 08_ProxySQL Configuration Note: Subsequent official updates to github were not written between 201904 and 201905~~ 1. Query Logging ProxySQL can record the query statements that pass through it (all statements, collectively referred to here as queries).Logs are configured with query rules, which allow logging to become broader or ...

Posted on Mon, 27 Apr 2020 10:34:31 -0700 by PhilVaz

gorm series - create record and field defaults

Catalog Gorm create record and field defaults Establish Default Using pointer to save zero value into database Using Scanner/Valuer interface to store zero value into database Gorm create record and field defaults CRUD usually refers to the operation of adding, deleting, modifying and querying the database Establish package main import ( ...

Posted on Mon, 27 Apr 2020 08:46:32 -0700 by Vasko

retrofit2 of Android jar / library source code analysis

catalog: Source code analysis of andorid jar / Library  Retrofit2: Function: The okhttp library is encapsulated to communicate with the web, and the interface address is called by dynamic proxy, and the result is assigned by callback. Chestnut: Define an interface for access usage. public interface IServiceApi { @FormUrlEncoded @POST( ...

Posted on Mon, 27 Apr 2020 07:37:10 -0700 by Miko

gorm series - query

Catalog Gorm query General query where condition Normal SQL query Touch & map query Not condition Or condition Inline conditions Additional Query options FirstOrInit Attrs Assign FirstOrCreate Attrs Assign Advanced query Subquery Select field sort Number deviation Total Group & Having Connect Pluck scanning Chain opera ...

Posted on Mon, 27 Apr 2020 02:44:21 -0700 by jklanka

BuildUserVars and BuildNameDescriptionSetter plug-ins for jenkins plug-in learning

The execution order of BuildUserVars and BuildNameDescriptionSetter plug-ins in jenkins plug-in learning The two plug-ins BuildUserVars and BuildNameDescriptionSetter have been used before, Through BuildUserVars, you can get who triggered the build. This plug-in will set a similar environment variable BUILD_USER Then set the environment vari ...

Posted on Sun, 26 Apr 2020 03:00:02 -0700 by kellz

Python reptile's movie paradise, novice training project

  preface: This paper is very simple and easy to understand. It can be said that it is zero basis and can be mastered quickly. If you have any questions, please leave a message and I will reply as soon as possible. The code of this article is stored in github 1, The importance of reptiles: If the Internet is compared to a Spider web, Spide ...

Posted on Sun, 26 Apr 2020 02:50:34 -0700 by sdotsen

Microservice full link tracking: jaeger integrates istio and is compatible with Uber trace ID and b3

Microservice full link tracking: grpc integrated zipkin Microservice full link tracking: grpc integrated jaeger Microservice full link tracking: springcloud integrated jaeger Microservice full link tracking: jaeger integrates istio and is compatible with Uber trace ID and b3 The company has its own paas system based on k8s, and integrated isti ...

Posted on Sun, 26 Apr 2020 02:11:44 -0700 by Alicia

EF multi tenant instance: evolution to read write separation

Preface I'm going to write about multi tenancy again. It's a long series. If there is no accident, this essay is the last one. The content is about how to use our multi tenant library to simply realize read-write separation.   Analysis In fact, there are many ways to realize read-write separation, but there are two types as follows: 1. S ...

Posted on Sat, 25 Apr 2020 21:56:55 -0700 by demophoon88

okio of Android jar / library source code analysis

catalog: Source code analysis of andorid jar / Library  Okio: Function: To put it bluntly, it is an IO Library Based on java Native io. To operate, internal optimization, concise, efficient. So it is liked and used by some people Chestnut: Read and write files. private void ReadFile() { try { InputStream in = new FileI ...

Posted on Sat, 25 Apr 2020 18:42:01 -0700 by leoric1928

Sharing element mode of structural mode

1 General Flyweight pattern is a design pattern that reduces memory overhead by reusing elements. 2 enjoy yuan mode The so-called sharing element means sharing elements. When a program needs to create a large number of elements, or create some elements that occupy a large amount of memory, it is a great challenge to the memory resources of the ...

Posted on Fri, 24 Apr 2020 23:54:23 -0700 by vixtay