Why are most large websites not written in Java?

Source: Internet
Author: User

During the National Day holiday, foreigners are discussing this topic enthusiastically,

Address: http://natishalom.typepad.com/nati_shaloms_blog/2007/10/why-most-scalab.html

Some of my extracted points are as follows:

Most of these sites are using lamp as the core runtime Stack

Some develop their own File System (Google, gfs)

Some are using caching to solve the database bottleneck (memcached and the like)

--

Introducing similar solutions for addressing the scalability challenges: an attempt to solve Scalability:

On the data tier we see the following:

1. Adding a caching layer to take advantage of memory resources

Availability and reduce I/O overhead
2. moving from a database-centric approach to partitioning, aka shards

Note: shards is a project that Google contributes to hibernate. It is an extension of Hibernate and can

Transparent data distribution and storage. As for how to distribute storage, you define policies by yourself, such as typical

Roundrobinshardselectionstrategy

 

On the business logic tier:

3. Adding parallelization semantics to the application tier (e.g .,

Mapreduce)
Note: mapreduce is a C ++ programming tool developed by Google for parallel operations on large-scale datasets (larger than 1 Tb. Mapreduce Delivers massive operations on datasets to each node on the network for reliability. Each node periodically returns the completed work and status update reports. Mapreduce generates a large number of temporary files. To improve efficiency, it uses the Google file system to manage and access these files.

4. Moving to scale-out application models to achieve linear scalability
Note:
Scaling: the ability of an application to address growth in throughput,

Usage, and capacity
There are two strategies: scale out and scale up.
The difference between scale up and scale out is:
1 reliance on hardware versus reliance on Software
2 equation with "first-class" Hardware versus "commodity" Hardware
3 massive versus Incremental capacity increases
4 centralized versus partitioned application ubuntures
Simply put, one is to upgrade the configuration of a single hardware, and the other is to use the low-end configuration to implement the cluster.

5. moving away from the classic two-phase commit and xa For transaction

Processing (see: Lessons from Pat Helland: life beyond distributed

Transactions)
Note: Do not use traditional distributed transaction processing, such as EJB transactions. Use the new space-based architecture (SBA) and gigaspaces xap middleware platform.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.