Tag:Journal

  • Autorun and observe functions of mobx response to new values

    Time:2020-10-27

    Autorun response function, commonly used for printing log, persisting or updating UI code var numbers = observable([1,2,3]);var disposer = autorun(() => console.log(sum.get())); //Output ‘6’ numbers.push(4); //Output ’10’ disposer(); numbers.push(5); //No more values are output. Observe can listen to the new and old values newvalue and oldvalue import {observable, observe} from ‘mobx’; const person = observable({ […]

  • How to collect and extract big data? This article has finally come to light!

    Time:2020-10-27

    This article comes from the official account [fat rolling pig programming], please indicate the source of the reprint! About the concept and architecture of data platform, we analyze the panoramic architecture and module of data platform and data platform in big vernacular six questions! One article introduction to Taiwan architect! It is clear in both […]

  • How to build a big data system with 10 billion SDK cumulative coverage

    Time:2020-10-25

    As a leader in the push industry, up to now, the cumulative installation coverage of individual push SDK has reached 10 billion (including overseas), the access applications have exceeded 430000, and the coverage of independent terminals has exceeded 1 billion (including overseas). A large number of logs and data will be generated every day in […]

  • Thinking after removing conditions evaluation report from springboot2 boot information

    Time:2020-10-25

    preface When I recently started a springboot 2.2 + project, I found the console output 17:22:05 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory – Creating shared instance of singleton bean ‘org.springframework.cloud.util.random.CachedRandomPropertySourceAutoConfiguration’ 17:22:05 [main] DEBUG o.s.b.a.l.ConditionEvaluationReportLoggingListener – ============================ CONDITIONS EVALUATION REPORT ============================ Positive matches: —————– ConfigurationPropertiesRebinderAutoConfiguration matched: – @ConditionalOnBean (types: org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor; SearchStrategy: all) found bean ‘org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor’ (OnBeanCondition) ConfigurationPropertiesRebinderAutoConfiguration#configurationPropertiesBeans matched: – […]

  • Kafka documents (contents)

    Time:2020-10-24

    Kafka documentation Apache Kafka? Is a distributed streaming platform: publish and subscribe to record streams, similar to message queuing or enterprise messaging systems, store record streams in a fault-tolerant and persistent manner, and process them when they occur. 1. Introduction 1.1 INTRODUCTION 1.2 use cases 1.3 quick start 1.4 ecosystem 1.5 upgrade 2. API 2.1 […]

  • The problem of spark executor being killed by yarn

    Time:2020-10-24

    For spark tasks, the executor always hangs up during runtime. At first, I felt that the amount of data was too large, and the executor memory was not enough. However, after estimating the amount of data, we don’t think there should be insufficient memory. Therefore, we first try to observe the memory distribution of executor […]

  • Node log management / PM2 logrotate ext log management

    Time:2020-10-24

    This article is about how to use PM2 to manage the log output (cutting and backup) of node projects. The steps in this article are based on the premise that PM2 has been installed. If there is no PM2, please do it yourself.   Step 1: you need to log in to the company server, […]

  • The springboot project uses slf4j to save the log to the local directory

    Time:2020-10-23

    1. Import jar package <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.25</version> </dependency> 2. Compilation application.properties/yml #.properties logging.config= classpath:logback-spring.xml logging.file= #Storage path #.yml logging: config: classpath:logback-spring.xml File: ා storage path 3. Write logback- spring.xmlWe create a logback in Src / main / resources- spring.xml ,Note: – spring can be scanned after application, if only write logback.xml Then the XML […]

  • Several replication methods of MySQL master slave replication

    Time:2020-10-23

    catalog Asynchronous replication Multithreaded replication Enhanced semi synchronous replication Asynchronous replication MySQL replication is asynchronous by defaultMaster slave replication requires at least two MySQL services, which can be distributed on different servers or on the same server. MySQL master-slave asynchronous replication is the most common replication scenario. The integrity of the data depends on whether […]

  • Super detailed! Nginx log configuration practice

    Time:2020-10-22

    preface Nginx logs are useful for statistics and system service troubleshooting. There are two main types of nginx logs:access_ Log and error_ Log (error log). By accessing the log, we can get the user’s IP address, browser information, request processing time and other information. Error logs record information about access errors, which can help us […]

  • What happened to flume

    Time:2020-10-22

    Framework learning the most reliable information flume official website and flume source code If you think that pure English is inefficient, you can also search flume in Chinese;This paper is used to record the process of understanding flume and the core technology points of flume, so as to quickly master flume Quick understanding Flume User […]

  • One node.js End super easy to use file paging, read by line library

    Time:2020-10-22

    For the first time, it took a lot of effort to open source. Welcome to star~~ github: https://github.com/shisuiyou/query-lines-reader npm: https://www.npmjs.com/package/query-lines-reader 1、 Purpose Purpose of use Read log Search file content … Why powerful Read range It can be read in pagination You can read it right now You can read it backwards Can search to […]