Can Ribbon really be replaced by spring-cloud-loadbalancer?
background
Morning brush circle see Spring Cloud Hoxton.M2 Released The news was posted to my knowledge planet and a friend would come to ask the following questions.Take half a day to learn the source code of spring-cloud-loadbalancer and summarize this article
Spring Cloud Hoxton.M2 is the first version to incorporate a new loadbalancer impl ...
Added by starnol on Wed, 21 Aug 2019 05:35:18 +0300
Use of Java FastJson
1. Preface
1.1. Introduction of FastJson:
JSON(javaScript Object Notation) is a lightweight data exchange format. The key value pair ({"name": "json"}) is used to save and represent data. JSON is a string representation of JS objects. It uses text to represent the information of a JS object, which is essentially a string.
...
Added by ivki on Tue, 20 Aug 2019 16:39:46 +0300
Mobile Development Knowledge Point 2
1. Adaptive Layout (BFC Trigger)
Left fixed and right adaptive:
.left {
width: 200px;
height: 200px;
background-color: green;
float: left;
}
.right {
height: 300px; ...
Added by shellyrobson on Mon, 19 Aug 2019 15:07:21 +0300
Echarts 4.0 uses a series of polygons, i.e. attribute meanings
Links to the original text: https://segmentfault.com/a/1190000013812453
Foreword: Echarts are often used in projects. Some of the requirements are almost reusable. Because of the lack of a good summary before, it is easy to forget over a ...
Added by axnoran on Mon, 19 Aug 2019 13:42:40 +0300
New version of TarsPHP is released to support Protobuf protocol
Author Yang ZhangyongEditor's Little Assistant TARS
Introduction to Tars TarsPHP
Tars is a micro-service development framework that Tencent has been using from 2008 to today. It became an open source project of the Linux Foundation in 2018. It currently supports C++, Java, PHP, NodeJS and Go languages. The framework provides users with a set of ...
Added by larryg on Mon, 19 Aug 2019 10:04:31 +0300
Android Util Code KTX! It's time to improve your development efficiency! (Update!)
AndroidUtilCodeKTX It has been a month since Ktx was officially open source. So far, 98 star s and 11 fork s have been harvested on Github. During this period, I made a list of Github Trending Kotlin classifications, and also received good comments and suggestions from some developers. After this month's tortoise update, I did some functions I ...
Added by dserf on Sun, 18 Aug 2019 17:03:55 +0300
How to Use Reflection in Go Translation
Author: Jon Bodner | Address: Learning to Use Go Reflection
What is Reflection
In most cases, the use of variables, types and functions in Go is very simple.
When you need a type, define it as follows:
type Foo struct {
A int
B string
}
When you need a variable, define it as follows:
var x Foo
When you need a function, define it as follows: ...
Added by andrewpike2000 on Sun, 18 Aug 2019 12:08:32 +0300
Git Crawling Pit - Building Remote Warehouse
Git Crawling Beginning - Establishing a Remote Warehouse: The core of building a remote warehouse is to establish ssh connection between local and git server. After initializing the local warehouse through git init, we need to paste the locally gener ...
Added by iFlex on Sat, 17 Aug 2019 17:02:56 +0300
Spring Cloud Micro Services (06): Config Component to Achieve Configuration Unified Management
Introduction to Config
In the micro-service system, there are many services. The same configuration, such as database information, caching, parameters, will appear on different services. If a configuration changes, many service configurations need to be modified. spring cloud provides a configuration center to solve this scenario problem.
The ...
Added by digi24 on Sat, 17 Aug 2019 16:40:24 +0300
Use Python to sort out the relationships in the Dream of Red Mansions
Today, we use Python to sort out the relationships in the Dream of Red Mansions.
Don't ask me why the Dream of Red Mansions is, not the Three Kingdoms of the Marsh or the Westward Journey, because I have also identified that the Red Mansion is the un ...
Added by Assorro on Tue, 13 Aug 2019 13:22:18 +0300