Google Open source go cloud, help "go" on the cloud

Source: Internet
Author: User

Google Open source goes to the Go Cloud project, designed to make the Go language (Golang) the language of choice for developing cloud applications. The project provides a library and tools for building applications that can be ported between multiple cloud platforms. Go Cloud is also in the early beta phase and is not suitable for production environments.

The go language has some advantages in cloud development, such as low latency and built-in concurrency. At the same time, Go Cloud provides a set of APIs to write simpler, more portable applications.

This common set of APIs includes:

Unstructured binary (BLOB) storage.

Variables that can be modified at run time.

Connection to the MySQL database.

Server startup and diagnostics, including request logging, tracking, and health checks.

Go Cloud is the foundation for building a portable cloud computing ecosystem based on these APIs. At this time, the Go Cloud GitHub repository provides the implementation of Google Cloud platform and Amazon Web services. The follow-up will soon support more cloud providers.

The key to this project is wire, which is a code generator that can create human-readable code and import the SDK for developers into the cloud provider. Go Cloud can therefore provide support to cloud vendors without increasing compilation time or binary file size, while avoiding the effects from the init () function.

Wire uses dependency injection to automatically connect components. Component dependencies are represented as function parameters and are encouraged to be explicitly initialized by the developer, rather than using global variables. A wire can be executed without a run-time state or reflection, so that handwritten initialization code can be used.

While the go language is popular among developers, Google believes the language lacks a standard library for connecting to cloud services. Developers often need to develop their own libraries to use the capabilities of the cloud, and businesses want to be able to easily move their workloads between cloud platforms.

Google believes that Go cloud allows development teams to build applications that run on any supported cloud platform without having to rebuild most of the application's content.

Adam Seligman, vice president of Google developer relations, said Google hopes the move will lead to an explosion in the go language ecosystem. Of course, this will also accelerate the go language into a cloud development language.

View English text:

Https://www.infoworld.com/article/3293417/development-tools/go-cloud-aims-to-cement-golang-in-the-cloud.html

https://techcrunch.com/2018/07/24/google-wants-go-to-become-the-go-to-language-for-writing-cloud-apps/

Originally from: https://www.linuxidc.com/Linux/2018-08/153428.htm

This address: https://www.linuxprobe.com/go-cloud.html Editor: Zhou Xiaoxue, Auditor: Bao

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.