Home > Backend Development > Golang > Can go language only develop server side?

Can go language only develop server side?

青灯夜游
Release: 2023-01-06 18:49:27
Original
4088 people have browsed it

no. Go language can also: 1. Develop distributed systems, database agents, middleware, etc., such as Etcd. 2. Carry out network programming, including Web applications, API applications, and downloaded applications. Go's built-in net/http package basically implements all the network functions we usually use. 3. Perform database operations. 4. Develop cloud platforms. Currently, many foreign cloud platforms are using Go for development.

Can go language only develop server side?

The operating environment of this tutorial: Windows 7 system, GO version 1.18, Dell G3 computer.

Go (also known as Golang) is a statically strongly typed, compiled, concurrent programming language with garbage collection capabilities developed by Google.

Go language can not only develop the server side, but can also do other development.

Development that Go language can do:

Go language has attracted the attention of many developers and been widely used since the release of version 1.0. Go The simplicity, efficiency, and concurrency features of the language have attracted many traditional language developers to join, and the number is increasing.

In view of the characteristics and original design intention of the Go language, As a server programming language, the Go language is very suitable for processing logs, data packaging, virtual machine processing, file systems, distributed systems, database agents, etc.In terms of network programming, Go language is widely used in Web applications, API applications, download applications, etc.;In addition,Go language is also suitable for in-memory databases and cloud In the platform field, many foreign cloud platforms are currently developed using Go.

    Server programming, if you used C or C to do those things in the past, it is very suitable to use Go to do it, such as log processing, data packaging, virtual machine processing, file system, etc.
  • Distributed systems, database agents, middleware, etc., such as Etcd.
  • Network programming is currently the most widely used area, including Web applications, API applications, and download applications. Moreover, Go’s built-in net/http package basically implements all the network functions we usually use.
  • Database operation
  • Develop cloud platform. Currently, many foreign cloud platforms are using Go development

Companies using go language

Now more and more companies are beginning to use the Go language to develop their own services. At the same time, many services and applications developed using the Go language have been born, such as Docker, k8s, etc. Let’s take a look. , which big companies are using Go language.

1) Google

As the Google company that created the Go language, of course it will support the Go language. Google has many open source projects developed based on Go, such as kubernets and docker.

2) Facebook

Facebook is also using the Go language. For this reason, they have also established an open source organization facebookgo on Github. You can access and view Facebook's open source projects through https://github.com/facebookgo, the most representative of which is the famous smooth restart tool grace.

3) Tencent

Tencent has already implemented Docker on a scale of 10,000 units in 15 years. Because Tencent's main development language is C/C, it is much more convenient and has many advantages to use the Go language. However, the accumulated C/C code is difficult to transform and I dare not move it, so I mainly try to use Go in new businesses. .

4) Baidu

Baidu mainly uses Go language in operation and maintenance. For example, a BFE project of Baidu operation and maintenance is mainly responsible for the access of front-end traffic. Secondly, Even the server side of Baidu messaging system also uses Go language.

5) Qiniu Cloud

Qiniu Cloud is the first company in China to choose Go language as its server. As early as 2011, when the syntax of the Go language was not completely stable, Qiniu Cloud had already chosen Go as the main language of the storage server.

6) Jingdong

Jingdong Cloud message push system, cloud storage, and the list page of Jingdong Mall are all developed using Go language.

7) Xiaomi

Xiaomi’s support for the Go language lies in the open source operation and maintenance monitoring system. Its official website is http://open-falcon.org /. In addition, teams such as Xiaomi Interactive Entertainment, Xiaomi Mall, Xiaomi Video, and Xiaomi Ecological Chain are all using the Go language.

8) 360

360 There are also many uses of the Go language, such as the open source log search system Poseidon, which you can access through https://github.com/ Check Qihoo360/poseidon, and 360’s push team is also using Go language.

9) Others

In addition to the above, many companies have begun to try to use Go language, such as Meituan, Didi, Sina, etc.

  • Meituan: background traffic support program. Scope of application: Support the backend traffic of the main website (sorting, recommendation, search, etc.), provide load balancing, cache, fault tolerance, conditional distribution, statistical operation indicators (qps, latency) and other functions.

  • Didi: Basic service platform.

  • Sogou: Sogou push system. The part of the Push system used to maintain connections with clients.

  • Sina Weibo: Middleware and elastic scheduling are written in Java and Go, and Weibo video transcoding and storage services are written in Go.

  • . . . .

The strength of the Go language is that it is suitable for developing network concurrency services, such as message push, monitoring, containers, etc., so most companies use it on high-concurrency projects. Golang will be preferred as the development language.

【Related recommendations: Go video tutorial, Programming teaching

The above is the detailed content of Can go language only develop server side?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template