Profile

Cover photo
Niall Molloy
58 followers|79,698 views
AboutPostsCollectionsPhotosVideos

Stream

Niall Molloy

Shared publicly  - 
 
 
Go vs. Java vs. C# in clouds

Golang has a very significant advantage over Java and .NET, that isn't directly visible.

All three technologies, at first sight, seem to be on par in terms of speed. But only Go is a compiled language, that generates a static binary.

Why is that so important? Because of Linux KSM memory deduplication mechanism. Identical binaries, also across containers and virtual machines, get consolidated, are only stored once in memory. Also read: https://insights.ubuntu.com/2015/05/18/lxd-crushes-kvm-in-density-and-speed/

Since containers are typically rolled out 1000 times on big iron, a memory footprint of nonidentical binaries e.g. OXID or Magento e-shop - with size of 1.5 GBytes each - so needs a 1.5 Terabyte machine.

Java, .NET always generate different, nonidentical binaries at load, even do post-optimizing. Nothing here is predictable. With Golang, you generate one identical binary for all instances, LXC / Docker containers.

Same 1000 instances of Golang binary only leave a 1.5 GByte memory footprint on your machine. Plus stack, heap for each instance, connection, of course!

So, with Golang, your cloud can be 100-1000 times smaller, than with Java or .NET technology. Same for Windows Servers. No KSM.

And that's the reason, why Google, Canonical use C++ and Golang (e.g. see LXD), exclusively! Nice reads:

http://www.iron.io/blog/2013/03/how-we-went-from-30-servers-to-2-go.html

http://marcio.io/2015/07/handling-1-million-requests-per-minute-with-golang

Have fun!
LXD achieves 14.5 times greater density than KVM LXD launches instances 94% faster than KVM LXD provides 57% less latency than KVM LXD is the container-based hypervisor lead by Canonical. Today, Canonical published benchmarks showing that LXD runs guest machines 14.5 times more densely and with 57% less latency than KVM. The container-based LXD is a dramatic improvement on traditional virtualisation and particularly valuable for large hosting en...
1 comment on original post
1
Add a comment...

Niall Molloy

Shared publicly  - 
 
Here are lots of thoughts about the nature of games and game design.
1
Add a comment...

Niall Molloy

Shared publicly  - 
 
Read this, ta.
1
Add a comment...

Niall Molloy

Shared publicly  - 
 
Best Games. +1 For Rogue Legacy, my personal GotY.
1
Add a comment...

Niall Molloy

Shared publicly  - 
1
Add a comment...

Niall Molloy

Shared publicly  - 
1
Add a comment...
Have him in circles
58 people
Benjamin Kerensa's profile photo
Arnout van Meer's profile photo
Ashley Cross's profile photo
kaveh man's profile photo
Alexis Pisis's profile photo
Aldrin Castillo's profile photo
James Raymond's profile photo
Gordon Biggans's profile photo
David Pope's profile photo

Niall Molloy

Shared publicly  - 
 
What happens when 'games for non-gamers' becomes the most lucrative branch of game development? Where will this take us? (FYI: I don't know)
1
Richard Foster's profile photo
 
I might get that but my sd card is nearly full!
Add a comment...

Niall Molloy

Shared publicly  - 
1
Add a comment...

Niall Molloy

Shared publicly  - 
 
In which we review a review of a review of a children's computer game.
1
Add a comment...

Niall Molloy

Shared publicly  - 
1
Add a comment...

Niall Molloy

Shared publicly  - 
1
Add a comment...
Niall's Collections
People
Have him in circles
58 people
Benjamin Kerensa's profile photo
Arnout van Meer's profile photo
Ashley Cross's profile photo
kaveh man's profile photo
Alexis Pisis's profile photo
Aldrin Castillo's profile photo
James Raymond's profile photo
Gordon Biggans's profile photo
David Pope's profile photo
Work
Occupation
Developing Webs
Story
Tagline
Trash and Chaos
Bragging rights
Seen X JAPAN live, up close and personal.
Basic Information
Gender
Male