Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2051

iOS CouchbaseHttpClient MaxConnectionsPerServer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7.11
    • Fix Version/s: None
    • Component/s: library
    • Labels:
      None

      Description

      I am using CouchbaseNetClient 2.7.11 and have an issue in iOS. Your code is always setting a value for MaxConnectionsPerServer (see CouchbaseHttpClient line 70) which throws a NotImplementedException on iOS. You are only trapping PlatformNotSupportedExceptions which makes this basically useless on iOS. Any suggestions on how I can work around this?

        Attachments

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

          Activity

          Hide
          jmorris Jeff Morris added a comment - - edited

          As posted in the forums, using a Couchbase Server SDK instance per device isn't scalable; a better solution is to publish an HTTP endpoint using the SDK which allows mutiple clients to ping for data.

          That being said, the NotImplementedException can and should be caught and handled since there may be other platforms that throw a similar exception and it shouldn't be fatal.

          Show
          jmorris Jeff Morris added a comment - - edited As posted in the forums , using a Couchbase Server SDK instance per device isn't scalable; a better solution is to publish an HTTP endpoint using the SDK which allows mutiple clients to ping for data. That being said, the NotImplementedException can and should be caught and handled since there may be other platforms that throw a similar exception and it shouldn't be fatal.

            People

            • Assignee:
              jmorris Jeff Morris
              Reporter:
              blimkemann Brian Limkemann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.