Tag:concurrency

  • A CAS operation scenario of go

    Time:2020-8-22

    About a year ago, there was such a problem:If there are n routines executed concurrently in the program, they will write data to a channel of size n. The n routines have high concurrency and large load, so they do not want to be stuck when writing data, so this code is used. if len(c) […]

  • ActionCable: WebSocket Connection

    Time:2019-12-31

    Every HTTP request is a process from request to response, so the HTTP server does not need to maintain any state, While websocket requires the server to maintain all connection states, ruby is not very good at dealing with concurrency. Actioncable uses many interesting technologies for performance and ease of use. For example, message’s Pub […]

  • Learn more about how concurrency options differ in the Java language

    Time:2019-12-1

    Preface Java? Engineers are trying to make concurrency easy for developers. Although many improvements have been made, concurrency is still a complex and error prone part of the Java platform. Part of the complexity is understanding the low-level abstraction of concurrency in the language itself, which fills your code with synchronized blocks of code. Another […]

  • Im-cloud builds distributed push middleware based on swoole native collaboration

    Time:2019-8-29

    github:http://github.com/brewlin/im-… Im-cloud builds distributed push middleware based on swoole native collaboration Installation and deployment of im-cloud distributed middleware IM-cloud <> GOIM distributed middleware concurrent pressure measurement comparison Analysis of im-cloud distributed middleware (1) – Communication Protocol Analysis of im-cloud distributed middleware (2) – Implementation of cloud node Analysis of im-cloud distributed middleware (3) – Implementation […]

  • Installation and deployment of im-cloud distributed middleware

    Time:2019-8-28

    github:http://github.com/brewlin/im-… Im-cloud builds distributed push middleware based on swoole native collaboration Installation and deployment of im-cloud distributed middleware IM-cloud <> GOIM distributed middleware concurrent pressure measurement comparison Analysis of im-cloud distributed middleware (1) – Communication Protocol Analysis of im-cloud distributed middleware (2) – Implementation of cloud node Analysis of im-cloud distributed middleware (3) – Implementation […]

  • Analysis of im-cloud distributed middleware (3) – Implementation of job node

    Time:2019-8-25

    github:http://github.com/brewlin/im-… Im-cloud builds distributed push middleware based on swoole native collaboration Installation and deployment of im-cloud distributed middleware IM-cloud <> GOIM distributed middleware concurrent pressure measurement comparison Analysis of im-cloud distributed middleware (1) – Communication Protocol Analysis of im-cloud distributed middleware (2) – Implementation of cloud node Analysis of im-cloud distributed middleware (3) – Implementation […]

  • IM-cloud Distributed Middleware Analysis (IV) – Logic Node Implementation

    Time:2019-8-24

    github:http://github.com/brewlin/im-… Im-cloud builds distributed push middleware based on swoole native collaboration Installation and deployment of im-cloud distributed middleware IM-cloud <> GOIM distributed middleware concurrent pressure measurement comparison Analysis of im-cloud distributed middleware (1) – Communication Protocol Analysis of im-cloud distributed middleware (2) – Implementation of cloud node Analysis of im-cloud distributed middleware (3) – Implementation […]

  • Record a redis concurrent processing problem

    Time:2019-8-11

    Record a redis concurrent processing problem Scene Analysis The company is an Internet of Things company, which involves sending instructions to devices. Now the problem is that there is a bug on a product line that connects with SkyCat voice. Enable combination command mode, such as a scenario mode, 1, turn on bedroom lights, 2 […]

  • Understanding Concurrent Bug in the Real World

    Time:2019-4-2

    Go brings new concurrency primitives and concurrency patterns (which are not very new), and without a thorough understanding of these features, concurrent bugs can be written as well. In the paper Understanding Real-World Concurrency Bugs in Go, the author systematically analyzed six popular Go projects (Docker, Kubernetes, gRPC-go, etcd, CockroachDB, BoltD) and 171 concurrent bugs […]