Synchronized implementation and lock upgrade

1. How does the JVM process and identify Synchronized? We analyze the implementation of synchronized from the bytecode perspective: Synchronized (lock object) {}Synchronized code blockThe underlying implementation is the monitorenter and monitorexit instructions. When modifying ordinary synchronization methods, the underlying implementation is: The execution instruction will check whether the method is set ACC_SYNCHRONIZED. If it […]

From Forever to Forever-Microservice Framework Upgrade

Microservice framework upgrade 1 background 2 upgrade 2.1 Overview 2.2 Version upgrade list 2.3 Upgrade issues 2.3.1 spring-cloud-starter-bootstrap 2.3.2 commons-pool2 2.3.3 java: package feign.hystrix does not exist 2.3.4 spring-cloud-loadbalancer 2.3.5 Circular dependency (there will be time for further verification) 2.3.6 springfox-swagger2 2.3.7 sleuth version conflict 2.3.8 Gateways and other services can be registered to nacos […]

centos7.9 upgrades kernel 3.10 to 5.4

When we build a K8S environment, the kernel version should be greater than 4.4. Check the kernel version first: uname -r [root@k8s-master ~]# uname -r 3.10.0-1160.el7.x86_64 Displayed as 3.10, check the kernel package: rpm -qa |grep kernel [root@k8s-master ~]# rpm -qa |grep kernel kernel-devel-3.10.0-1160.el7.x86_64 kernel-tools-libs-3.10.0-1160.el7.x86_64 abrt-addon-kerneloops-2.1.11-60.el7.centos.x86_64 kernel-headers-3.10.0-1160.el7.x86_64 kernel-3.10.0-1160.el7.x86_64 kernel-tools-3.10.0-1160.el7.x86_64 Add Alibaba source: cat

What should I do if the Spyder version upgrade fails in the Anaconda virtual environment?

This article describes various ways to update Spyder software versions in Anaconda for a virtual environment with an older version of Python method. First, let’s take a look at the requirements to be implemented in this article. According to the method mentioned in the article # Anaconda virtual environment to install Python library and Spyder […]

CDH 6.3.2 upgrades Flink to version 1.17.1

CDH:6.3.2 Original Flink: 1.12 Flink to upgrade: 1.17.1 Operating system: CentOS Linux 7 1. Flink1.17 compilation build.sh file: #!/bin/bash set -x set -e set -v FLINK_URL=`sed ‘/^FLINK_URL=/!d;s/.*=//’ flink-parcel.properties` FLINK_VERSION=`sed ‘/^FLINK_VERSION=/!d;s/.*=//’ flink-parcel.properties` EXTENS_VERSION=`sed ‘/^EXTENS_VERSION=/!d;s/.*=//’ flink-parcel.properties` OS_VERSION=`sed ‘/^OS_VERSION=/!d;s/.*=//’ flink-parcel.properties` CDH_MIN_FULL=`sed ‘/^CDH_MIN_FULL=/!d;s/.*=//’ flink-parcel.properties` CDH_MIN=`sed ‘/^CDH_MIN=/!d;s/.*=//’ flink-parcel.properties` CDH_MAX_FULL=`sed ‘/^CDH_MAX_FULL=/!d;s/.*=//’ flink-parcel.properties` CDH_MAX=`sed ‘/^CDH_MAX=/!d;s/.*=//’ flink-parcel.properties` flink_service_name=”FLINK” flink_service_name_lower=”$( echo $flink_service_name | tr […]

Project Reconstruction – Exploration and Practice of Kotlin Upgrade

Foreword Let’s first talk about our company’s current kotlin and gradle versions. kotlin version gradle plug-in version gradle version minSdkVersion targetSdkVersion 1.3.72 4.0.2 6.7.1 21 33 Our goal after the upgrade is to kotlin version gradle plug-in version gradle version minSdkVersion targetSdkVersion 1.6.10 4.1.1 6.7.1 21 33 I won’t elaborate on why I upgraded and […]

Why are pods deployed to nodes we don’t expect when k8s service is upgraded? ? It seems you still don’t understand stain and tolerance.

A colleague doing automation actually asked me today why the pod I deployed in k8s ran to the node you developed? Can I control it? Brothers, of course it can be controlled. Next, I will tell you in detail about node taint in k8s, pod’s tolerance for taint, and affinity and non-affinity Demand scenarios First […]

Zookeeper experiment single node upgrade cluster

Directory 1. Background 2. Experimental steps 3. Test cluster 1. Background Because I did not consider it carefully before, I deployed a single machine when deploying ZooKeeper. Now I want to upgrade to a high-availability cluster to improve fault tolerance. Current situation: There are currently 3 machines The z1 machine is a single node of […]

Mojo: 7 amazing Python upgrades in the new AI language

1. Description AI development is changing with each passing day, and we cannot but pay attention to the emergence of new models. Mojo is anewly released programming language made specifically for AI developers, made by Modulara company founded by the original creator of Swift, Chris Lattner. 2. About the concept of MOJO Enter Mojo: anewly […]