[hard study] Java notes 0.7

Java notes One of the object-oriented features: encapsulation and hiding Four access modifiers Member 3 of class: constructor (constructor) Constructor Overload Keywords - this JavaBean One of the object-oriented features: encapsulation and hiding The user's direct operation on the properties ...

Posted by terje-s on Tue, 09 Jun 2020 21:11:26 -0700

Analysis on the basic positioning of Mysql performance bottleneck

In the process of performance test, we often encounter the performance bottleneck of Mysql. For the database, the so-called performance bottleneck is nothing more than slow SQL, high CPU, high IO, and high memory. The first three examples are used for performance analysis. Finally, the high memory is ...

Posted by jvanv8 on Tue, 09 Jun 2020 19:30:00 -0700

Monitoring System Deployment for Docker and Kubernetes Environment Based on Prometheus

Prometheus Introduction to Prometheus Prometheus is an open source monitoring, alarm, and time series database project developed by SoundCloud, which collects indicators that need statistics by pulling interfaces periodically The basic principle of Prometheus is to periodically capture the status of ...

Posted by PHP'er on Tue, 09 Jun 2020 19:23:07 -0700

Django - Lifecycle of Requests & Templates & Routing

Lifecycle requested in Django 1. Overview First, we know that all data transferred in HTTP requests and server responses is strings. In Django, when we visit a url, we enter the corresponding html page through route matching. Django's request life cycle is what happens behind the scenes when a user enters a url into the browser and the user see ...

Posted by strangebeer on Tue, 09 Jun 2020 19:18:49 -0700

Using ibis, impyla, pyhive and pyspark to connect to Hive and Impala of Kerberos security authentication in Python

There are many ways to connect hive and impala in python, including pyhive,impyla,pyspark,ibis, etc. in this article, we will introduce how to use these packages to connect hive or impala, and how to pass kerberos authentication. Kerberos If the cluster does not enable kerberos authentication, the ...

Posted by RunningUtes on Mon, 08 Jun 2020 23:22:07 -0700

Spring cloud integrates with Seata and uses Nacos as the registration center and configuration center to build the initial experience

Recently, we are introducing distributed transaction technology for the project. At present, Seata is a good choice. I plan to take a look at it. This article is purely a personal learning note, without any responsibility. In this article, nacos-1.2.0, SpringBoot-2.3.0, seata-1.2.0, mysql-5.7 are use ...

Posted by fluvius on Mon, 08 Jun 2020 23:16:09 -0700

Please, don't write a full screen try catch again!!

Author: giant brother cnblogs.com/jurendage/p/11255197.html background In the process of software development, it is inevitable to deal with all kinds of exceptions. For myself, at least half of the time is spent dealing with all kinds of exceptions, so there will be a lot of try {...} catch {...} finally {...} code blocks in the code, which ...

Posted by chapm4 on Mon, 08 Jun 2020 21:34:07 -0700

MySQL Read-Write Separation Reality

1. MySQL Read-Write Separation Concept The principle of MYSQL read-write separation is to let Master database handle transactional add, delete, modify, update operations (create, insert, update, delete) and Slave database handle query operations (select). MySQL read-write separation is based on MySQL master-slave replication, which can guarant ...

Posted by fareedreg on Mon, 08 Jun 2020 10:08:09 -0700

With all due respect, I doubt you can enumerate in Java

Let's face it, enum (enumeration) is a keyword introduced in Java 1.5. It represents a special type of class. By default inherit From java.lang.Enum . To prove this, let's create a new enumeration player type: public enum PlayerType { TENNIS, FOOTBALL, BASKETBALL } There are two keywords w ...

Posted by Irvin Amoraal on Sun, 07 Jun 2020 20:17:15 -0700

One way master-slave synchronous configuration of mysql under windows

View mysql profile address mysql --help|grep 'my.cnf' ps aux|grep mysql|grep 'my.cnf' The configuration is divided into two parts, the master server part and the slave server part In this test, the master and slave of the two machines are synchronized, and the environment is windows (the same as Linux) Main server ip:192.168.1.199 Slave serve ...

Posted by busnut on Sun, 07 Jun 2020 19:52:27 -0700