News for hackers. Stuff that matters.
Re:Java at Alibaba [pdf] by Cyph0n on Sunday October 08, 2017 @11:13PM (#15431354)
Impressive stuff. They have basically forked their entire backend stack, starting from the OS and moving upwards. I am particularly interested in how much AliOS deviates from mainline Linux.
Re:Java at Alibaba [pdf] by dxhdr on Monday October 09, 2017 @12:27AM (#15431582)
> They have basically forked their entire backend stack, starting from the OS and moving upwards.

Isn't this pretty common at the $XXX billion dollar tech companies like Google, Facebook, etc?

Re:Java at Alibaba [pdf] by Cyph0n on Monday October 09, 2017 @12:16PM (#15435131)
Most likely, yes, but that doesn't make it any less impressive
Re:Java at Alibaba [pdf] by baybal2 on Monday October 09, 2017 @12:18AM (#15431550)
>Alibaba Runs Millions of Custom JVMs

>They have basically forked their entire backend stack, starting from the OS and moving upwards.

I doubt this being a cool thing. Sure, they are the second biggest IT employer in the country, and have excess resources for everything, but...

A thing about big dotcoms - architects there try to use off-the-shelf software for everything, even if the software is clearly unsuited for the task and its use will require hacks and massive re-engineering.

Putting efforts to use of off-the-shelf software without modifications and hacks greatly reduces all aspects of infrastructure support burden.

BUT, attempting to use of off-the-shelf software everywhere at all costs, that will of course give you problems. And the bigger your are, the worse this is. Read the article from a month ago how Alibaba got stuck with using MySQL for mission critical tasks, and how much efforts they put to "unhack" it

Re:Java at Alibaba [pdf] by vincnetas on Monday October 09, 2017 @08:29AM (#15433243)
> "Read the article from a month ago how Alibaba got stuck with using MySQL for mission critical tasks, and how much efforts they put to "unhack" it"

Do you have a link for that?

Re:Java at Alibaba [pdf] by disposable_123 on Monday October 09, 2017 @07:56AM (#15433069)
Can you add a link to the article (Alibaba/mysql/etc ?!)
Re:Java at Alibaba [pdf] by baybal2 on Monday October 09, 2017 @09:30AM (#15433592)
A video from Alibaba's mysql specialist, http://www.highload.ru/2015/abstracts/1915.html
Re:Java at Alibaba [pdf] by yegle on Monday October 09, 2017 @12:54AM (#15431660)
I worked for Alipay, a subsidiary of Alibaba, around 2010. At that time, the tech stack was lagging behind compare to most silicon valley companies. But it was 7 years ago so things might changed since then.
Re:Java at Alibaba [pdf] by rqs on Monday October 09, 2017 @04:09AM (#15432214)
It's certainly evolving.

Alibaba (and as well as other large online companies) had a huge leap during recent the Mobile Age as mobile phones makes online services more accessible to the public.

And government also enforced (impliedly) mobile carriers (China Unicom, China Mobile and China Telecom) to fueling this trend.

All this makes companies like Alibaba become very rich.

Plus, Alibaba's sites like taobao.com needs to handle tremendous amount of traffic in an average day, and even heavier traffic during promotion events like Nov 11 (Double 11) Day (It's like Black Friday[0]).

They had motive and resource to improve their system, and they opened some of those improvements already on GitHub[1]

[0] https://en.wikipedia.org/wiki/Black_Friday_%28shopping%29 [1] https://github.com/alibaba

Re:Java at Alibaba [pdf] by wrinkl3 on Monday October 09, 2017 @01:11PM (#15435605)
> I am particularly interested in how much AliOS deviates from mainline Linux.

What could be the benefits of not using the mainline Linux for a stack like that?

Re:Java at Alibaba [pdf] by Cyph0n on Monday October 09, 2017 @01:31PM (#15435756)
If I were to guess, the benefits would result from making very "tight" optimizations to e.g. networking or scheduling that are specific to the workloads they deal with regularly.

Remember, Linux is designed to run on as many machine configurations and support as many workloads as possible. To achieve this, kernel devs sometimes cannot adopt the most optimized implementation because it may lead to unforeseen corner cases.

On the other hand, a company like Alibaba knows exactly what kind of machines and workloads they are dealing with, which means that they can make those optimizations and gain a slight performance boost relative to mainline Linux.