Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-2628

Change away from using SELECT when open socket

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.0
    • 3.0
    • LiteCore
    • Security Level: Public
    • None

    Description

      When using SELECT, there is a max of 1024 file descriptor limit. For the Flutter app which each plugin tends to use a lot of file descriptors, it is easy to reach the limit.

      From a discussion in a meeting, Jim Borden commented that the reason that we are using SELECT instead of POLL is that the POLL doesn't work on Windows. Also we are using socketpp 3rd library which is using SELECT. 

      Attachments

        Issue Links

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

          Activity

            Build couchbase-lite-cblite-3.0.0-195 contains couchbase-lite-core commit 627462d with commit message:
            CBL-2628: Use poll instead of select for opening connections on Unix (#1321)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-cblite-3.0.0-195 contains couchbase-lite-core commit 627462d with commit message: CBL-2628 : Use poll instead of select for opening connections on Unix (#1321)

            Build couchbase-lite-core-3.0.0-184 contains couchbase-lite-core commit 627462d with commit message:
            CBL-2628: Use poll instead of select for opening connections on Unix (#1321)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-core-3.0.0-184 contains couchbase-lite-core commit 627462d with commit message: CBL-2628 : Use poll instead of select for opening connections on Unix (#1321)

            Build couchbase-lite-c-3.0.0-174 contains couchbase-lite-core commit 627462d with commit message:
            CBL-2628: Use poll instead of select for opening connections on Unix (#1321)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-c-3.0.0-174 contains couchbase-lite-core commit 627462d with commit message: CBL-2628 : Use poll instead of select for opening connections on Unix (#1321)

            Build couchbase-lite-log-3.0.0-195 contains couchbase-lite-core commit 627462d with commit message:
            CBL-2628: Use poll instead of select for opening connections on Unix (#1321)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-log-3.0.0-195 contains couchbase-lite-core commit 627462d with commit message: CBL-2628 : Use poll instead of select for opening connections on Unix (#1321)

            Build couchbase-lite-ios-3.0.0-335 contains couchbase-lite-core commit 627462d with commit message:
            CBL-2628: Use poll instead of select for opening connections on Unix (#1321)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-3.0.0-335 contains couchbase-lite-core commit 627462d with commit message: CBL-2628 : Use poll instead of select for opening connections on Unix (#1321)

            Build couchbase-lite-net-3.0.0-120 contains couchbase-lite-core commit 627462d with commit message:
            CBL-2628: Use poll instead of select for opening connections on Unix (#1321)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-net-3.0.0-120 contains couchbase-lite-core commit 627462d with commit message: CBL-2628 : Use poll instead of select for opening connections on Unix (#1321)

            Build couchbase-lite-android-3.0.0-185 contains couchbase-lite-core commit 627462d with commit message:
            CBL-2628: Use poll instead of select for opening connections on Unix (#1321)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-android-3.0.0-185 contains couchbase-lite-core commit 627462d with commit message: CBL-2628 : Use poll instead of select for opening connections on Unix (#1321)

            Build couchbase-lite-java-3.0.0-185 contains couchbase-lite-core commit 627462d with commit message:
            CBL-2628: Use poll instead of select for opening connections on Unix (#1321)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-java-3.0.0-185 contains couchbase-lite-core commit 627462d with commit message: CBL-2628 : Use poll instead of select for opening connections on Unix (#1321)

            People

              jimb Jim Borden
              jimb Jim Borden
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty