N
N
NiceForce2013-11-14 03:20:40
go
NiceForce, 2013-11-14 03:20:40

golang and highload

1. - What advantages does Go provide in relation to alternatives?
2. - How soon and how gracefully is its main problem solved?
3. Why did you choose or not choose Go?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
EugeneOZ, 2013-11-14
@EugeneOZ

Cloudflare recently wrote an article about how they tried Go and are now rewriting everything in it. Great example of highload. As well as Iron.io and Disqus.

1. Instant compilation, good performance, convenient process parallelization.

3. A dynamically developing language, the level of entry is comparable to scripting languages, more and more highload projects praise it.

E
eremeevdev, 2014-06-27
@eremeevdev

And here bitly tells their experience with go

A
Anton Taraev, 2014-11-21
@ataraev

here's another digitalocean

Y
Yuri Yarosh, 2020-07-24
@voidnugget

1 - the development cycle is much shorter, the tools and specific approaches to development are well developed, compared to the JVM languages ​​and Rust /
Python existing developments and the quality of the development of approaches to the development
3 - fast TDD, a relatively large number of stable libraries that have no analogues in other languages, there are zero-alloc (0lloc) and gc-less approaches specifically for highload (it's worth looking at how fasthttp works and how allocation occurs there, on pools and with slice resizing), in the case of the JVM, you need to be able to use all sorts of disruptors there and other obsolete nonsense ... jmh does not know how to properly water allocations and GC monitoring is also superficial in places, and the object model is uncommonly bloated (hello Project Panama).
From the disadvantages - a monolithic and clumsy Runtime, and 99% of the community crafts and edits are simply depreciated and ignored ... it's hard, for example, there is some kind of F-Stack threadscrew, etc. without compiling the compiler and runtime. Although in the case of the JVM, this is almost impossible. I can't speak for Python/Rust.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question