High concurrency In addition to Java can also use what-clojure,go,rust

Source: Internet
Author: User
Tags message queue
This is a created article in which the information may have evolved or changed.

Both the Java lock and the CAs are expensive (locks call the local system for thread blocking and wake-up overhead).

The actor's message queue also has its own serious problem (the use of actor can greatly increase the complexity of programming).

So distributed development is in accordance with business characteristics, compromise the best solution.


in the concurrent scenario of writing less reads : Clojure's STM, which provides a MVCC-like memory transaction rollback through multi-versioning with space-time change , is simple and efficient to the extreme.

The task mechanism abstracted by go/rust on CAs can also make CAS development quite simple in a large number of written cases


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.