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.