Tag:Compressed file

  • Redis cache of database

    Time:2021-9-18

    1. matters needing attention:1. Selection of data structure K-V structure2. The cache cannot store all the time, and the LRU algorithm needs to be optimized3. The cache needs to run fast, and the C language runs in memory4. If the cache is running in memory, sudden power failure / downtime will lead to direct memory […]

  • Use the tar command to archive and compress files

    Time:2021-9-11

    Archive and compress files Benefits of archiving and compressing files: save hard disk resources and speed up file transfer rateThe tar command is used to package and compress filesIn this figure, 123456 files are packaged into a.tar file, but the a.tar file is still large. Continue to use itGzip is compressed into a smaller compressed […]

  • Working experience: Linux compresses all files in the current folder

    Time:2021-9-3

    The difference between packaging and compression: Packaging refers to putting multiple files or directories together to form a total package, which is convenient for storage and transmission, but the size does not change. Compression refers to reducing the volume of one or more large files or directories through the compression algorithm to achieve the purpose […]

  • Eclipse uses Maven to develop groovy HelloWorld

    Time:2021-8-7

    Construction of groovy development environment 1. Establishment of groovy development environment 1.1. Groovy introduction 1.1.1. What is groovy Official websitehttp://www.groovy-lang.org/ Groovy is an agile dynamic development language based on JVM (Java virtual machine). It is a mature object-oriented programming language, which can be used not only for object-oriented programming, but also as a pure scripting […]

  • Eclipse uses groovy to develop jfinal-4.9

    Time:2021-8-6

    Developing jfinal-4.9 using groovy 1. Build a groovy development environment https://segmentfault.com/a/11… 2. Develop jfinal-4.9 using groovy 2.1. Development 2.1.1. The directory structure is as follows: 2.1.2.pom.xml <project xmlns=”http://maven.apache.org/POM/4.0.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd”> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.litongjava</groupId> <artifactId>groovy-ee-jfinal-4.9-study</artifactId> <version>1.0</version> </parent> <artifactId>groovy-ee-jfinal-4.9-hello</artifactId> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <compilerId>groovy-eclipse-compiler</compilerId> </configuration> <dependencies> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-eclipse-compiler</artifactId> <version>2.9.1-01</version> </dependency> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-eclipse-batch</artifactId> […]

  • maven-source-plugin

    Time:2021-7-28

    maven-source-plugin Where is the source code? 1. Introduction When we view the code of Maven package in idea, there will be a download source code in the upper right corner, so that we can obtain the source code corresponding to the jar package from the warehouse. To obtain the source code, first upload the source […]

  • Msql 2014 database AlwaysOn log too large, compressed log processing method

    Time:2021-3-29

    Use [{database name}] In order to separate the reading and writing of the database, we have done the fault transfer cluster and the database synchronization through AlwaysOn, but it also causes the database log files to increase continuously, and errors will be made through the previous methods   Also found a lot of methods, are […]

  • Inventory read only compressed file system

    Time:2021-3-20

    Why read only compressed file system? In the embedded devices with limited storage capacity, there is no need to write data to the system partition in the process of using, and at the same time, we hope to save storage space read only compressed file system emerges as the times require. In addition, the read-only […]

  • Vue packing volume optimization artifact gzip, don’t you know it yet?

    Time:2021-3-2

    When we package the project online, we find that the package volume after build is large, and the loading speed of the first screen is slow. Gzip can obviously and effectively solve this problem. Its principle is to compress the original JS and CSS files, so as to reduce the file size and speed up […]

  • Faster compression and decompression tool for pigz

    Time:2021-2-15

    Pigz (parallel implementation of gzip) is a parallel compression tool. Decompression is faster than gzip, and CPU consumption is several times of gzip. Pigz can be used in the scenario of high CPU consumption in a short time without being affected. Environmental Science Centos7 RAM:2GB , CPU: 4vcpus install Installing the EPEL extension source [[email protected] […]

  • Linux nodejs installation

    Time:2021-2-2

    1、 Download and install Go to nodejs download page( https://nodejs.org/en/download/releases/ ), find the corresponding version to download. GZ file to download For example, select node-v10.15.3-linux-x64.0 tar.gz Version download After downloading, connect SFTP and drag the compressed file to the server, such as the directory of / opt / download / Then enter the shell, switch […]

  • Ten most commonly used file compression tools under Linux

    Time:2021-1-26

    About the author Mr. lemon, senior operation and Maintenance Engineer (self claimed), SRE expert (target), dreams of buying a Porsche at the age of 35. Like to study the underlying technology, think that the underlying foundation is the king. All new technologies are inseparable from the operating system (CPU, memory, disk), network and so on. […]