Redis Cache in teacher workshop Vectorcache and Rowcache scenarios

Source: Internet
Author: User

vectorcache: literally means "vector cache", which is generally translated as "column Cache", which is used to store the ID of the microblog information. Not every micro-blog ID will remain here, only the latest or the most focused need to cache.

Training Talent Top10

Method: Gettopusers

Parameter: startdatetime,start,end

Get a list of training talent, type set<string>

Advertising:

Method: GetAd ()

Parameters: Location, FromTime, ToTime, start, End (place, start time, cut-off time, start, end)

Get the ad list, type set<string>

Get class IDs based on your school ID:

Method: Getregionsbypid ()

Parameters: Sid, Start, end

Get class IDs, type set<string>

Rowcache: means "row cache", which is used to save specific microblogging information. The content of the row cache should correspond to the contents of the column cache.

Training Talent Top10:

Method: Getusertop ()

Parameters: StartDateTime and UserID

Obtain the user's personal information, type string

Advertising:

Method: GetAd ()

Parameters: ID

Get details about the ad amount, type string

Get the school ID based on class ID

Method: Getparentregionsbyid ()

Parameters: ID

return type: String

Redis Cache in teacher workshop Vectorcache and Rowcache scenarios

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.