Details about how to handle App message prompts in the background

Source: Internet
Author: User
A message center in an App will push a thumbs up to you by many people. after you click it in the message center, the number of messages is cleared. If not, this number is always added. If it is viewed, the counting starts again when someone likes the number. I want to know how to handle it in the background. this logic... A message center in an App will push a thumbs up to you by many people. after you click it in the message center, the number of messages is cleared. If not, this number is always added. If it is viewed, the counting starts again when someone likes the number. I want to know how the backend processes the data, how the logic is processed, and where the data exists in redis or mysql database tables.

Reply content:

A message center in an App will push a thumbs up to you by many people. after you click it in the message center, the number of messages is cleared. If not, this number is always added. If it is viewed, the counting starts again when someone likes the number. I want to know how the backend processes the data, how the logic is processed, and where the data exists in redis or mysql database tables.

  1. Redis likes

  2. Regularly synchronize the likes of redis to mysql in batches

  3. Nosql, disks, or hdfs stores likes, such as who likes at what time. Useful for data analysis, tracking, and data verification

The above is a detailed explanation of how the App message prompts the background to process the content. For more information, please follow the PHP Chinese network (www.php1.cn )!

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.