How to optimize tomcat configuration (from memory, concurrency, caching)

Tomcat has many aspects. I introduce the optimization methods from memory, concurrency, and caching. 1. Tomcat memory optimization tomcat memory optimization is mainly about tomcat startup parameters. We can set java_OPTS parameters in tomcat startup script catalina.sh. Description of JAVA_OPTS parameters - server enables the server ver ...

Posted on Sat, 22 Jun 2019 09:46:08 -0700 by bluestar

js uses my97 plug-in to display the current time, and select controls the calculation time difference

It takes two time input boxes to make a page, one to display the current time, the other to display the time before, and a select drop-down box to control the difference between the two time input boxes. The effect is as follows: my97 Date Picer is used here. It's simple and convenient. Introduce my97 plug-in and set the format of input time b ...

Posted on Fri, 21 Jun 2019 15:45:53 -0700 by reckdan

Detailed description of angular custom instructions

When using angular js, using custom instructions can write some components, which is very convenient. Here we share some knowledge about angular custom instructions. 1. Definition For instructions, it can be simply understood as a function running on a particular DOM element, and instructions can extend the function of this element. 2. Method o ...

Posted on Fri, 21 Jun 2019 14:23:14 -0700 by Win32

Implementing Ant Design Custom Form Component

Ant Design component provides Input, InputNumber, Radio, Select, uplod and other form components, but in actual development this can not meet the requirements, and we hope to continue to use the verification and prompts provided by Form (it is really cool to use), at this time we need to manually encapsulate some forms, while we also need to ma ...

Posted on Thu, 20 Jun 2019 17:51:38 -0700 by mdkelly_komex

echarts pie chart does not display data with 0

Firstly, it explains why there is such a demand, which is related to the display effect of echarts itself. If you choose a pie chart as the display figure, and then you have a data of 0 in your data, then the display data is a straight line, which does not look good. It will be very abrupt. Of course, if your business needs are shown even in ...

Posted on Thu, 20 Jun 2019 16:32:21 -0700 by Pawn

Design and Decomposition of React Components

Several articles on the React technology stack have been shared before: Making the Uber Mobile Web page version is not enough to achieve extreme performance. Analyzing Twitter Front-end Architecture to Learn Complex Scene Data Design React Conf 2017 Dry Goods Summary 1: React + ES next = _ React+Redux Create "NEWS EARLY" Single Page ...

Posted on Tue, 18 Jun 2019 18:31:52 -0700 by AmiraSan

MUI: The Final Version of Page Reference

Page transfer parameters are a common business requirement, which can be divided into two categories according to the implementation principle and application environment. There are several methods commonly used in common browsers: 1. Using URL to Pass Parameters When the page jumps, parameters are added by setting window.location.href ...

Posted on Tue, 18 Jun 2019 16:02:42 -0700 by fipp

Advantages and disadvantages of various inheritance methods in javascript

There are many ways to implement inheritance in javascript, typically through prototype chains and constructors.The following is an analysis of each implementation, summarizing the advantages and disadvantages of each. Inheritance of a prototype let Super = functioin(name) { this.name = name; this.setName = (newName) => { thi ...

Posted on Tue, 18 Jun 2019 10:28:10 -0700 by nz_mitch

javascript Object Oriented Foundation (1)

javascript object-oriented First, what is object-oriented, object-oriented? 1) Objects: Everything in javascript is an object. Objects refer to special data types with attributes and methods. Object-oriented; 1. Composition of objects: attributes (variables: state, static) and methods (functions: process, dynamic) 2) Object-oriented: ...

Posted on Tue, 18 Jun 2019 09:54:21 -0700 by Perry Mason

Construction of Web Pack Environment for React Technology Stack (3) Packing Performance Optimization

In practical projects, it is very common to pack thousands of modules for more than one minute. When we build, we often want our code to be packaged separately from the third-party libraries (vendors), because there is no need to waste packaging time every time we do not involve upgrading the third-party libraries. Dll (Dynamic Link Library) is ...

Posted on Mon, 17 Jun 2019 18:03:48 -0700 by _off_axis_