What can be used for high concurrency besides java?-clojure, go, and rust

Source: Internet
Author: User

Both Java locks and CAS have an astonishing overhead (locks call local systems to block threads and cause high overhead ).

The actor message queue has its own serious problems (using actor will greatly increase programming complexity ).

Therefore, distributed development compromises the optimal solution based on business characteristics.


In the case of concurrent writing with fewer reads and more: Clojure STM,Use multi-Version Control to change the space timeProvides memory transaction rollback similar to MVCC, which is simple and efficient to the extreme.

In the case of a large number of writes, the task mechanism abstracted by go/rust on CAs can also make CAS development quite simple.

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.