Avatar of anshuma
anshuma
Flag for United States of America asked on

Any book/information on core architectures of web sites

Hi,

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
Web DevelopmentC#Web ApplicationsCOBOL

Avatar of undefined
Last Comment
Dave Baldwin

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Kanti Prasad

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
anshuma

ASKER
Thanks a lot for this

can you please give specific example of components where c++ and Java are used

Take for example an Amazon.com what will be the components of this site which might be written in c++
Kanti Prasad

Hi

I can say most companies use C++ and most of the databases are written in C++ and many operating systems are written in C and C++.
So in general most real-time  applications, image processing, audio processing, etc use c/c++.

Java, C# and C++ are all Object-oriented languages and the language won't enhance performance but the infrastructure ( Servers, CPU, OS, Network etc) that it in on and the way the developer writes his code will enhance the performance.

All the above can more or less do everything that a language can do to deal the business requirements. Thier selection will be based on a companies resource skills sets, familiarity, Infrastructure etc.
SOLUTION
Dave Baldwin

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23