E-commerce-promotion system

Source: Internet
Author: User
Tags solr

the main role of the promotion system : the main provision of merchandise promotional preferential prices, if the product does not have a promotion, the original price of the goods.

Promotion Type:

    • Straight down promotion: limited time straight down, limited time limit straight down
    • Promotions: Full minus, full discount
    • Package promotion (Buy with multiple items, n items to enjoy a discount
    • Giveaway (buy n gift N)
    • Seconds to Kill

Promotion Rules:

Restrictions:

    • Product Restrictions: SKU,SPU, category, brand, merchant
    • User limit: Pin
    • IP restrictions

The high concurrency requirement for promotions is high due to the price of the product that the promotion offers, which may be accessed up to dozens of times for the promotion system each time the user browses the product page.

In order to respond to front-end requests in a timely manner, the computation should be as fast and simple as possible.

Because they are all query operations, Redis responds particularly quickly to read operations.

How to guarantee the real-time of promotional data?

When the promotion changes (straight down price, full minus price, restrictions), product changes (category change of the item, price change), if the Redis real-time data is updated quickly?

How do I quickly update redis with SOLR?

SOLR Promotional data storage structure:

With SOLR's inverted index principle, you can quickly update the product promotions in Redis with product information to find out what promotions are available for the current product, or to find current promotions with promotional IDs.

Price calculation process:

Promotion System overall structure:

E-commerce-promotion system

Related Article

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.