Either I'm being very dense, or something doesn't quite make sense about these numbers. The slides say that on the busiest day of the year, they were serving around 175,000 transactions per second (126k of which, or maybe additionally, were payments). On the next slide it says they have 'millions of JVMs' running an 'insurmountable number' of requests. Is each JVM really taking 10s+ per transaction? Even assuming tho…
Java at Alibaba [pdf]
11–20 of 44 posts
Re: Java at Alibaba [pdf]
#12Impressive 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]
#13Either I'm being very dense, or something doesn't quite make sense about these numbers. The slides say that on the busiest day of the year, they were serving around 175,000 transactions per second (126k of which, or maybe additionally, were payments). On the next slide it says they have 'millions of JVMs' running an 'insurmountable number' of requests. Is each JVM really taking 10s+ per transaction? Even assuming tho…
200k transactions is a crazy number - a normal second for amazon is probably a few thousand orders (4-5k). This is 20x higher.
Re: Java at Alibaba [pdf]
#14Either I'm being very dense, or something doesn't quite make sense about these numbers. The slides say that on the busiest day of the year, they were serving around 175,000 transactions per second (126k of which, or maybe additionally, were payments). On the next slide it says they have 'millions of JVMs' running an 'insurmountable number' of requests. Is each JVM really taking 10s+ per transaction? Even assuming tho…
There’s probably a 10:1 or 100:1 page view to transaction ratio, and a 10:1 or 100:1 api request to page view ratio 200k transactions is a crazy number - a normal second for amazon is probably a few thousand orders (4-5k). This is 20x higher.
https://twitter.com/joelcomm/status/917229394212675584
That’s $3400/second in transactions for amazon, and certainly their average price/transaction is more than $1:1
Re: Java at Alibaba [pdf]
#15The scary things is that they have implemented coroutine (generalized async/await) by copying the stack back and forth instead of putting the stack in the heap like in stackless python or in scheme.
Re: Java at Alibaba [pdf]
#16Re: Java at Alibaba [pdf]
#17There was a presentation with more info at last JVM Language Summit https://www.youtube.com/watch?v=X4tmr3nhZRg The scary things is that they have implemented coroutine (generalized async/await) by copying the stack back and forth instead of putting the stack in the heap like in stackless python or in scheme.
Re: Java at Alibaba [pdf]
#18Impressive 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.
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.
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]
#19There was a presentation with more info at last JVM Language Summit https://www.youtube.com/watch?v=X4tmr3nhZRg The scary things is that they have implemented coroutine (generalized async/await) by copying the stack back and forth instead of putting the stack in the heap like in stackless python or in scheme.
For non-experts in this field could you please explain why its scary if it works great for their use cases?
Re: Java at Alibaba [pdf]
#20Either I'm being very dense, or something doesn't quite make sense about these numbers. The slides say that on the busiest day of the year, they were serving around 175,000 transactions per second (126k of which, or maybe additionally, were payments). On the next slide it says they have 'millions of JVMs' running an 'insurmountable number' of requests. Is each JVM really taking 10s+ per transaction? Even assuming tho…