Leader 1-to-1 micro service system Solar | Alibaba Sentinel landing practice

preface In recent years, the business of leader 1-to-1 has been developing rapidly, but at the same time, he has encountered "growing pains". With the increasing number of microservices, the traffic further increases, and the hardware resources are a little overwhelmed. Then, how to achieve better flow protection measures such as curr ...

Added by webtailor on Mon, 18 May 2020 09:32:34 +0300

C ා data operation series - 7. EF Core navigation attribute configuration

In the previous article, I introduced the logic of relationship mapping in Entity Framework Core. The foreign key mapping of EF left in the previous article is not mentioned, that is, the relationship of one-to-one, one to many, many to one, many to many, etc. This article will give you a detailed analysis of how to set up these mappings. 1. Re ...

Added by imawake on Sun, 17 May 2020 08:59:50 +0300

MySQL database functions

1, Date and time functions 1. Function to get the current dateIt's the same. It's different CURDATE() : Used to get the current date of the system CURRENT_DATE() Used by the system to get the current date mysql> select CURDATE(),CURRENT_DATE(); 2. Get function of current time CURTIME() : Used to get the current time of the system mysql& ...

Added by brighton on Thu, 14 May 2020 12:11:49 +0300

How to use Spring boot to quickly configure multiple Redis data sources? Correct case explanation

brief introduction The main application scenario of redis multiple data sources is to use multiple redis servers or multiple redis libraries. In this paper, the fastdep dependency integration framework is used to quickly integrate redis multiple data sources and integrate lettuce connection pool. Only after introducing dependency, configure th ...

Added by hitman6003 on Wed, 13 May 2020 16:46:01 +0300

Issue 04: column CHECK constraint

check constraint means to filter one or more columns according to certain preset rules. If the condition is true, the filtering succeeds; if the condition is false, the filtering fails and the failure code is returned to the client. Why do you want to list and write this separately? You often encounter irregular SQL. In many cases, you can onl ...

Added by AndyB on Wed, 13 May 2020 12:25:22 +0300

MySQL 8.0 InnoDB supports instant add column

Original address: https://mysqlserverteam.com/mysql-8-0-innodb-now-supports-instant-add-column/   For a long time, instant DDL has been one of the most popular InnoDB functions. For the growing and fast-growing data set, any network scale database must have the function of executing DDL immediately. Developers often need to add new columns to m ...

Added by coolfool on Tue, 12 May 2020 16:55:02 +0300

PHP uses Redis in seven common scenarios

Redis is an open source, network-enabled, memory-based and persistent log, Key-Value database written in the ANSI C language, and provides multilingual API s.   This article focuses on the main scenarios for using Redis with PHP. Simple String Cache Actual $redis->connect('127.0.0.1', 6379); $strCacheKey = 'Test_bihu'; //SET Application ...

Added by chadbobb on Tue, 12 May 2020 09:51:38 +0300

Mysql user management related

Currently used user and host: mysql> select USER(); +----------------+ | USER() | +----------------+ | root@localhost | +----------------+ 1 row in set (0.00 sec) Add user Before mysql 5, you can directly use INSERT to INSERT mysql users into mysql tables. You can't do this after mysql 5 mysql> insert into mysql.user(Ho ...

Added by snap2000 on Mon, 11 May 2020 19:06:52 +0300

My first JDCB program

1, Create your own database Download and install MySQL 1.windows Download: http://dev.mysql.com/downloads/mysql/ 2. Open the server: enter the bin directory of the download path in the terminal (cmd), and execute mysqld -- initialize executor to start the server and initialize, but an error will be reported. The reason is that there is no data ...

Added by _giles_ on Mon, 11 May 2020 07:51:35 +0300

Database learning 7: MySQL client tools and SQL introduction

7, MySQL client tools and SQL introduction 1. Syllabus: mysql client command introduction; How to get help from mysql; Management database of DDL statements; DDL statement management table and case introduction; Data in management table of DML statement; SELECT to retrieve data; 2. mysql interface program and SQL introduction mysql client comma ...

Added by jdimino on Fri, 08 May 2020 16:47:04 +0300