Tag:Thread

  • Android process scheduling

    Time:2020-1-13

    In Linux system, processes are divided into real-time processes and ordinary processes. The priority range of real-time processes is 0-99, and that of ordinary processes is 100-139. Moreover, the scheduling strategies of the two processes are also different. Android system is developed on the basis of Linux system, which makes full use of some features […]

  • Seriously, I found a mistake in this book!

    Time:2020-1-13

    This article starts with the public number [why technology], pays attention to the public number, has a better typesetting way, and has a better reading experience. Hateful title party First of all, let me talk about the mistakes I found in the art of Java Concurrent Programming.The edition of the art of Java Concurrent Programming […]

  • The difference between synchronized keyword and volatile keyword

    Time:2020-1-12

    WeChat public address:AI asked CTOProfessional programming Q & a communitywww.askcto.com 1. Volatile keyword is a lightweight implementation of thread synchronization, so volatile performance is definitely better than synchronized keyword. But the volatile keyword can only be used for variables and the synchronized keyword can decorate methods and code blocks. After Java se 1.6, synchronized keyword […]

  • Java Concurrent Programming: 1-threads and processes

    Time:2020-1-12

    Preface: This module is to learn some of the Java concurrency records and thinking, if there is something wrong, please understand and welcome to correct. A few common interview questions will be thrown at the beginning to introduce the content of this article. Every question has an answer for you. If you have any ideas […]

  • Song Baohua: about the implementation of arm linux atomic operation

    Time:2020-1-11

    This article is reprinted and the copyright belongs to the author. For commercial reprint, please contact the author for authorization. For non-commercial reprint, please indicate the source. Author: Song Baohua Source: WeChat public number Linux yard (id: linuxdev) Competition is everywhere First of all, we need to understand that race condition is ubiquitous, even for […]

  • Browser opens 2 pages, how many processes will there be?

    Time:2020-1-11

    If you don’t know enough about processes and threads, take a look at my article: talking about progress and threads from Chrome browser. From the current browser’s multi process architecture design, we can know that the latest browsers include:1 browser main process、1 GPU process、1 network process、Multiple rendering processesandMultiple plug-in processes。 In general, there are five […]

  • Detailed process of building windows 2008R2 + php5.6.28

    Time:2020-1-11

    Install IIS7 1. Open server manager (start – Computer – right click – manage – can also be opened), add role Go straight to the next step Check web server (IIS). Next, there is a notice to continue to the next step (I will not take a screenshot here) If asp.net is checked, the following […]

  • Android Development – Implementation of sub thread update UI

    Time:2020-1-10

    Android threads can be divided into two parts according to their functions: one is the main thread (UI thread), and the other is the sub thread The main thread can’t execute the code or task that takes too long (the code that takes too long will be prompted that the application doesn’t respond), so it […]

  • Spring boot 2 practice: using undercow instead of Tomcat as a web container

    Time:2020-1-10

    1. Introduction to undercow UndertowIt is a flexible and high-performance web server developed by Java, which providesNIONon blocking mechanism.UndertowIt’s an open source product of red hat company, and it’s wildfly’s default web server.UndertowProvide an infrastructure to build a web server, which is a completely embedded design project, providing an easy-to-use builder API, fully downward compatibleJava […]

  • JVM interview questions and answers to Java required questions

    Time:2020-1-9

    JVM memory model First, let’s learn about the memory model of the JVM: 1. Heap: store object instances. Almost all object instances allocate memory here The heap memory is specified by – XMS, which is 1 / 64 of the physical memory by default; the maximum memory is specified by – Xmx, which is 1 […]

  • How does Kafka achieve millions of high concurrency and low delay?

    Time:2020-1-9

    Kafka is a message middleware with high throughput and low latency, high concurrency and high performance, which is widely used in the field of big data. A well configured Kafka cluster can even write hundreds of thousands or millions of ultra-high concurrent writes per second. How does Kafka achieve such high throughput and performance? Today, […]

  • Deep decryption of the channel of go language

    Time:2020-1-9

    Catalog Concurrent model Concurrent and parallel What is CSP What is channel Channel implementation of CSP Why channel Channel implementation principle data structure Establish Receive Send out Close Channel advanced Nature of sending and receiving elements Resource leakage happened before How to close the channel gracefully The closed channel can still read data Channel application […]