Tag:Journal

  • [Mr. Zhao Qiang] use mongodb’s Web console

    Time:2021-10-25

    Mongodb can monitor the database through the web interface. By default, this option is turned off and needs to be turned on at startup.Enableweb Console, need to be startedmongodbAdd:–httpinterface Start mongodb and observe the output log information:   Use the browser to access port 28017 to see mongodb’s Web console interface.  

  • MySQL restores data through binlog

    Time:2021-10-25

    objective By understanding the relevant configuration of binlog log, you can simply master the data recovery operation of database through binlog; MySQL log file Any mature software will have a mature log system. When there is a problem with the software, these logs are the treasure house to query the source of the problem. Similarly, […]

  • Springboot canal data synchronization solution

    Time:2021-10-25

    Springboot canal data synchronization solution 1、 Demand In the case of multiple microservices databases, canal can be used to replace the trigger. Canal is proposed in response to Alibaba’s business requirements of cross machine room synchronization. Canal obtains changes for incremental subscription & Consumption Based on database log analysis. Whether it is necessary for the […]

  • How many ways to collect nginx logs do you know?

    Time:2021-10-25

    Source: cnblogs.com/xiejava/p/12452434.html Because of the powerful function and outstanding performance of nginx, more and more web applications use nginx as the web server of HTTP and reverse proxy. The access log of nginx is one of the very important data sources for user behavior analysis and security analysis. How to effectively and conveniently collect nginx […]

  • Introduction to database transactions

    Time:2021-10-25

    1、 Transaction classification Transaction is a program execution unit that accesses and updates various data items in the database. Transaction will convert the database from one consistent state to another consistent state. This is the purpose of transaction and one of the important characteristics that distinguish the transaction model from the file system. Transactions in […]

  • JS log output is only console.log, then you are out

    Time:2021-10-25

    Almost all JavaScript developers most often use the log printing debugging APIconsole.log()In fact, there are many options for us to choose from. The author will introduce them one by one 1、 Console. Table () console.table()It is a method that I highly recommend you to use. It can accept JSON or arrays and print them in […]

  • You can’t stand these five suffocating bad codes

    Time:2021-10-25

    Absrtact: here is what I think is the common bad annotation style. I believe that as programmers, as long as they write code, they will write and see the code comments written by others. Therefore, we often encounter comments like “a hundred flowers bloom and a hundred schools of thought contend”. 10 things programmers hate […]

  • AOP of SSM spring (XML + annotation)

    Time:2021-10-24

    AOP of SSM spring (XML + annotation) AOP is the abbreviation of aspect oriented programming, which means that aspect oriented programming is a technology to realize the unified maintenance of program functions through precompiled mode and dynamic agent during operation. Main function application scenarios: logging, performance statistics, security control, transaction processing, exception handling, etc. Divide […]

  • Comparison of common technologies and schemes of database recovery subsystem (I)

    Time:2021-10-24

    Author: Xiao Chen / big data open laboratory For transactional database, the key function is to ensure the acid attribute of things, in which atomicity and persistence depend on the recovery subsystem. If it is found that the transaction cannot continue during the transaction, it needs to be rolled back with the recovery subsystem; Or […]

  • Always using resttemplate? Have you really figured it out?

    Time:2021-10-23

    Send get request <T> ResponseEntity<T> getForEntity(URI var1, Class<T> var2) /*client*/ @Test public void testRest(){ RestTemplate restTemplate = new RestTemplate(); String getUrl = “http://localhost:8083/mock/test/get” + “/” + “helloworld”; ResponseEntity<Student> entity = restTemplate.getForEntity(getUrl,Student.class); log.info(entity.toString()); log.info(entity.getHeaders().toString()); log.info(entity.getBody().toString()); } Client output log:2020-05-27 09:14:44 [main] info apptest – < 200, student (name = Wang Jie, age = 28), [content type: […]

  • Comparison of common technologies and schemes of database recovery subsystem (2)

    Time:2021-10-23

    Author: Xiao Chen / big data open laboratory Last article《Comparison of common technologies and schemes of database recovery subsystem (I)》In, we basically introduce the logging & recovery recovery subsystem in the database management system, and discuss in detail the concept and technical implementation of Aries, the mainstream recovery algorithm based on physical logging. This article […]

  • Military SELinux

    Time:2021-10-23

    Blog reference http://www.178linux.com/48336 http://www.178linux.com/47812 http://www.178linux.com/49367 SELinux introduction SELinux history SELinux: Secure enhanced Linux is a mandatory access control security module of Linux developed by the U.S. National Security Agency and SCC. It was released as GNU GPL after 2000, and the Linux kernel was integrated into the kernel after version 2.6. DAC: free access control. […]