• Distributed RPC architecture: Dubbo application architecture analysis! Load balancing with Dubbo


    Dubbo application architecture (init) in Dubbo containerContainerMedium startstartProvider on containerProvider (init) providerProviderregisterregisterService to registryRegistry (init) consumerConsumerFrom registryRegistrysubscribesubscribeservice (async) registryRegistryTo consumersConsumernoticenotify (sync) consumerConsumercallinvokeService providerProvider (async) monitoring centerMonitorMonitoring service consumersConsumerAnd service providersProviderUsage, statisticscountNumber of service requests Dubbo load balancing During cluster load balancing, Dubbo provides a variety of load balancing strategies,The default is random call,You can also […]

  • What problems can shared pool solve?


    Use the shared pool latch.txt –//My test environment is very small. There is only one shared pool latch. If there are multiple, one SQL statement should use that shared pool latch–//According to the previous study, guess should be in hash_ value , bucket_ size , _ kghdsidx_ Count related, test and see.–//Note: bucket is the […]

  • Oracle order by handles null values


    Problem point: by default, Oracle considers null as the maximum value when processing order by, so if ASC is in ascending order, it will be ranked last, and desc is in descending order, it will be ranked first Solution:Use the nulls first or nulls last syntaxNulls first and nulls last are syntax supported by Oracle […]

  • React series — FSA knowledge


    Flux Standard Action Action is a very important concept in flux architecture. It is a necessary condition for application state change. All States must be triggered through action. The role of action is the carrier of state change information. It is an object that contains a field representing action type, which is all the requirements […]

  • Associate tapd and commit through git hook


    Tip 61Don’t Use Manual Procedures.Do not use manual processes –The cultivation of programmers – from small workers to experts preface Tapd provides gitlab code association function. We can use this function to associate the code submission with the requirements in tapd. You can associate the commit with the story / bug / task of tapd […]

  • Tomcat JVM settings and connection number settings


    Modifying Tomcat in Windows_ Add the following settings at the beginning of the file: set JAVA_OPTS=-Xms256m -Xmx512m Modifying Tomcat in Linux_ Add the following settings at the beginning of the file: “home% \ bin / Catalina. Sh” JAVA_OPTS=’-Xms256m -Xmx512m’ Where – XMS sets the size of initialization memory and – Xmx sets the maximum memory […]

  • Learn a Linux command every day (92): chkconfig


    Recommended reading:Learn a Linux command every day (91): NC Command introduction Chkconfig command is used to manage the boot items of Linux system Grammatical format chkconfig [options] Option description –add    # Add the specified system service –del   # Delete the specified system service –Level < level code >   # Specifies the execution level at which the […]

  • Maven best practices


    Maven is an excellent project management tool. At present, the best book on the market is Maven.Still can’t solve the problem:1. Maven built-in variableMaven built in variable description:${basedir} project root${ project.build.directory }Build a directory. The default is target${ project.build.outputDirectory }The output directory of the construction process is target / classes by default${ project.build.finalName }Output name, […]

  • All domestic images in one station


    In the development process, we often use a variety of package management tools. Almost every package management tool is set to download the corresponding software installation package from a foreign server by default, or it is slow to download, or it can’t be downloaded at all. The following is a list of all my commonly […]

  • Centos7 uses minikube to “quickly build” kubernetes local experimental environment (step on the pit collection and solutions)


    Centos7 uses minikube to “quickly build” kubernetes local experimental environment (step on the pit collection and solutions) precondition Check if Linux supports virtualization and verify that the output is not nullHow to turn on Virtualization grep -E –color ‘vmx|svm’ /proc/cpuinfo installkubectl Determine whether kubectl was successfully installed kubectl version Minikube installation Linux curl -Lo minikube […]

  • The mouse automatically clicks on the screen at intervals


    Knowledge points: the use of Python library and simple timer 1. The mouse automatically clicks on the screen code      (1) First, PIP install pymouse (2) . running code: modulenotfounderror: no module named ‘windows’ Cause: lack of pyuserinput toolSolution: PIP install pyuserinputCould not find a version that satisfies the requirement pyhook (from pyuserinput) (from […]

  • Java8 default methods principle and example explanation


    This article mainly introduces the java8 default method default methods principle and example detailed explanation, the article through the example code introduction is very detailed, has the certain reference study value to everybody’s study or the work, needs the friend may refer to Java 8 introduces a new language feature, default methods. Default methods enable […]