Kotlin has been the official language of Google for more than a year, but in addition to announcing the extreme popularity of that month, the back of life has returned to calm. Many small partners follow the pace of Google's father, but also to
Recently busy moving, so stop for a while, today to fill up.Introduction
Let's start with a joke.
Interviewer: Do you have any experience of concurrency? ”Candidate: "A little. ”Interviewer: "What optimizations have you made to deal with
Background
For high-frequency access but low-frequency updated data we generally do cache, especially in the high concurrency of the business, the original means we can use HashMap or Concurrenthashmap to store.
There is nothing wrong with this, but
1.1. What is the future model?
Just to give an example, when we usually write a function, the function of the statement line is executed synchronously, if a row execution is very slow, the program must wait until the end of execution to return the
Recently also has finally opened the code to write the journey, I can only silently say a sentence, writes the code the feeling, simply cannot again cool!
But also because Git branch manages the egg ache to be very long, therefore must record and
Definition of open closure principle
There are two different definitions of the principle of openness and closure, namely the most primitive definition of the the 1980s and a more modern definition of the latter, which is elaborated in more detail
Watching one by one "celebrating 30 million" operation promotion activities, but the heart is not little excitement, but become the starting point of loss.
A "30 million" behind a lot of icy numbers: 100+ (average 84GB memory +16c) Server (physical
Finally, we will explore the red and black tree deletion algorithm, compared to the insertion operation, it is more complex situation. So it's easy to get into the south wall, we need to use the idea of conversion and transformation (remember the
I. What is polynomial regressionLinear regression is a regression problem between a dependent variable and an independent variable, however, in many practical problems in the field of livestock and fishery science, the independent variables that
To undertake the former Wen springboot sentiment edify-web configuration (a), this article will be based on the previous analysis of the MVC of the relevant applications
A simple example of MVC
Write a controller layer code directly, return the
about Spring Cloud Spring Cloud is an ordered collection of frames. It uses spring boot's development convenience to subtly simplify the development of distributed system infrastructures, such as service discovery registration, Configuration center,
Today let's take a complete picture of the truth of the Py code, including Py2 and Py3. Some students may ask: After Py3 is the general trend, it is necessary to understand the py2 that the headache of the code? The answer is so necessary. Py2 is
In the micro-service architecture, several basic service governance components are needed, including service registration and discovery, service consumption, load balancing, circuit breakers, intelligent routing, configuration management, etc.,
The algorithm does not depend on the container (using iterators), but most of them depend on the element type. If find requires the = = operator, other algorithms may require support The algorithm never performs a container operation and never
Session ManagementIn the Shiro can find all the user's session information will be controlled by the Shiro, so that is, as long as the user is related to all the processing information operations can be obtained through Shiro, actually can obtain
IntroductionThe so-called Maze generation algorithm is the algorithm used to generate a random maze.The Maze generation algorithm is in such a scenario:
A row row, a grid map of Col columns, the first default all the walls around the grid
Shuffle algorithm is a more common face test.A pair of poker 54 cards, there are 54! Kind of arrangement. The best shuffling algorithm should be able to generate These 54 probabilities! One of the resultscode implementation of shuffling algorithm
Eureka Service Registration and DiscoveryI. Overview of Eureka1. Eureka features(1) Eureka is a rest-based service for locating services to enable mid-tier service discovery and failover in the cloud.(2) Eureka Supervisor Service Registration and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service