Recommended (free): redis
SQL and NoSQL twin swords Hebi
How to store product information on Alibaba Chinese website
Look at the homepage of Alibaba Chinese website, taking women’s clothing/women’s bags as an example
Architecture development history:
1. Evolution process
2. 5th generation
3. Mission of the 5th generation architecture
Multiple data sources related to us Type of storage problem
Take a look at the homepage of Alibaba’s Chinese website, taking women’s clothing/baby girls as an example
1. Basic product information (number, name, etc., unchanged, stable data )
Stable data such as name, price, date of manufacture, and manufacturer
Relational database, Mysql/oracle. Currently, Taobao is de-Oizing (that is, removing Oracle). Note that Mysql is used internally on Taobao. It was modified by the great guy inside.
Why go to IOE
Most of them use Mysql.
2. Product description, details, evaluation information (multi-text type)
Multi-text information description type, IO read and write performance deteriorates, document database MongoDB
3. Pictures of the product
Product image display class
Distributed file systems: Taobao's own TFS, Google's GFS, Hadoop's HDFS
4. Product keywords
Taobao's own
ISearch
5. Product Band hot and high-frequency information (such as Valentine's Day chocolate)
Prepare in advance
In-memory database
Tair, Redis, Memcache
6. Product transactions, price calculations, and point accumulation
External system, external 3rd party payment interface
Alipay
Storage issues with multiple data sources and multiple data types.
Summary of the difficulties and solutions for large-scale Internet applications (big data, high concurrency, diverse data types)
Difficulties
Diversity of data types
Data Source diversity and change reconstruction
Data source transformation without large-scale reconstruction of the data service platform
Solution
EAI
UDSL Unified Data Platform Service Layer
What is
The above is the detailed content of Redis learning introduces current NoSQL application scenarios. For more information, please follow other related articles on the PHP Chinese website!