I recently learnt that the kernel of sites like ebay, google , amazon is built in C++ and that made me thinking why so ? With my limited understanding I thought that ecommerce sites can be built using php, python or perl and they can do all kinds of operations like adding to cart, completing a purchase etc
Why would someone need C++ code for that.
Then I was told that site has lot of components and the presentation layer can be built using java script and php and then they make service calls to a business application server layer which could be written in c++
Can the experts talk about all this and explain to me how very scalable, secure ecommerce sites are built and the role of C and C++ in them and what is the architecture of these sites and also point me to a book or some notes on this.
It still is a news to me that C++ / C# programming is required to design very large websites