3 ms·
Surprised nobody is talking about the most interesting part. Taobao runs almost entirely on Nginx-Lua-MySQL. And I mean entirely. There is no application serve
by taligent 14y ago
Surprised nobody is talking about the most interesting part.
Taobao runs almost entirely on Nginx-Lua-MySQL. And I mean entirely. There is no application server just Nginx. And every request is non blocking all the way from user to database and back. Very, very fast.
http://news.ycombinator.com/item?id=2390816 http://news.ycombinator.com/item?id=2390816
In fact one of the developers from Taobao wrote the Lua integration.
- est 14y agoNot all of Taobao. Most of the business logic is still written in Java.
- ww520 14y agoOT: sounds like there's where GO should be, integrated with Nginx to have an end-to-end async stack.
- zhuzhaoyuan 14y agoThe ngx_lua solution is awesome, but Taobao runs mostly on Java, not Lua. The software stack is Nginx(Tengine)-Java-MySQL.
- binarray2000 14y agoCould someone please expand on how they integrate Java with nginx/tengine and Lua?
- 9oliYQjP 14y agoI know URL file extensions aren't necessarily related to the technologies being used, by why is it that the URLs end in .php on taobao.com? Did they migrate from PHP to the new stack and then want to keep the existing URLs for some reason?
- gingerbreadman 14y agoYeah, Agentzh(thats his handle everywhere) is very active in the Nginx community! He seems to be the one who worked quite a bit on the lua integration.