Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.2
    • Fix Version/s: 1.2.0
    • Component/s: docs
    • Security Level: Public
    • Labels:
      None

      Description

      We've been trying to push customers/users towards using the config_cache but at the moment there is fairly limited documentation and instructions on how and why to use it.

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        trond Trond Norbye added a comment -

        You can find some info at https://github.com/couchbase/php-ext-couchbase/blob/master/example/couchbase.ini#L96

        Ideally we should speed up the config retrieval in ns_server to get it on par with the normal get ops and drop the cache

        Show
        trond Trond Norbye added a comment - You can find some info at https://github.com/couchbase/php-ext-couchbase/blob/master/example/couchbase.ini#L96 Ideally we should speed up the config retrieval in ns_server to get it on par with the normal get ops and drop the cache
        Hide
        perry Perry Krug added a comment -

        Unfortunately not all of our users are sophisticated enough to read the code from github and immediately know how to use everything...otherwise we wouldn't need any documentation in the first place right?

        This needs to get added into the normal docs with detailed descriptions and examples

        Show
        perry Perry Krug added a comment - Unfortunately not all of our users are sophisticated enough to read the code from github and immediately know how to use everything...otherwise we wouldn't need any documentation in the first place right? This needs to get added into the normal docs with detailed descriptions and examples
        Hide
        ingenthr Matt Ingenthron added a comment -

        I agree with the issue, but just want to caution you that we released the config cache option documented as experimental with known limitations. It's in production in a couple of places, but doesn't work for memcached buckets and we don't really have sufficient test coverage in the area where we have a lot of resubscribing.

        Still, this is better than the alternative behavior (making ns_server keel over from lots of HTTP connections).

        We'll document it, but it'll have to hold that experimental/known limitations for a bit.

        Show
        ingenthr Matt Ingenthron added a comment - I agree with the issue, but just want to caution you that we released the config cache option documented as experimental with known limitations. It's in production in a couple of places, but doesn't work for memcached buckets and we don't really have sufficient test coverage in the area where we have a lot of resubscribing. Still, this is better than the alternative behavior (making ns_server keel over from lots of HTTP connections). We'll document it, but it'll have to hold that experimental/known limitations for a bit.
        Hide
        brett19 Brett Lawson added a comment -

        The file that Trond linked to is actually the example ini that contains the documentation of all the possible ini configuration values. I suspect any user intended to set up the extension would look there first for details on the possible options?

        Show
        brett19 Brett Lawson added a comment - The file that Trond linked to is actually the example ini that contains the documentation of all the possible ini configuration values. I suspect any user intended to set up the extension would look there first for details on the possible options?
        Hide
        trond Trond Norbye added a comment -

        unfortunately the people who wrote pecl wouldn't include the support for installing such configuration example files... seems like a really bad design miss..

        Show
        trond Trond Norbye added a comment - unfortunately the people who wrote pecl wouldn't include the support for installing such configuration example files... seems like a really bad design miss..
        Show
        brett19 Brett Lawson added a comment - Added section to documentation. https://github.com/couchbaselabs/docs-ng/commit/e5942bbcc1c3414b4698799319beed18b41448de

          People

          • Assignee:
            brett19 Brett Lawson
            Reporter:
            perry Perry Krug
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes