May I ask the question about memcache?

Source: Internet
Author: User
Ask the hero, memcache the question
I set a key, if not write the expiration time, what is the default?

There is also the assumption that I set the expiration after 10 minutes, but in the middle I need to change the value. But I also want him to expire in the first 10 minutes, which means I just want to change his value, when it expires or when. What should I fill out at this time of the set expiration?
------Solution--------------------
1, by default, never expires, but may be deleted due to memory pressure
2, the Memcache agreement does not take this expiration time, but can use a workaround, that is, the expiration time of this key is also stored, the new setting to remove this value for the calculation
  • 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.