Thinkphp 3.2 couchbase Distributed cache driver, distributed session driver

Source: Internet
Author: User
Couchbase Server (formerly Membase) is a distributed, document-oriented NoSQL database management system that unites CouchDB's simplicity and reliability with Memcached's high performance and membase scalability.

Replace memcached when the cache is the best, and not one, and can be persisted
  1. /*couchbase Configuration */
  2. ' Couch_port ' = ' 8091 ',
  3. ' couch_host ' = ' localhost ',
  4. ' Couch_user ' = ',
  5. ' Couch_pass ' = ',
  6. ' Couch_prefix ' = ',
  7. ' Couch_expire ' =>7200,
  8. ' Couch_buckets ' = ' + '//Data bin
  9. /* Session Settings */
  10. ' Session_type ' = ' couchbase '
  11. /* Data Cache Settings */
  12. ' Data_cache_type ' = ' couchbase '
Copy Code
  • 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.