Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-2848

Make the Client API support passing down timeouts

    XMLWordPrintableJSON

Details

    • Normal
    • Clients
    • Hide

      unit test and CI

      Show
      unit test and CI

    Description

      Having a max server RPC timeout is good for worst case, but many applications that have middleware in front of Cassandra, might have higher timeout requirements. In a fail fast environment, if my application starting at say the front-end, only has 20ms to process a request, and it must connect to X services down the stack, by the time it hits Cassandra, we might only have 10ms. I propose we provide the ability to specify the timeout on each call we do optionally.

      Attachments

        1. 2848-trunk.txt
          90 kB
          Geoffrey Yu
        2. 2848-trunk-v2.txt
          163 kB
          Geoffrey Yu

        Issue Links

          Activity

            People

              yifanc Yifan Cai
              lenn0x Chris Goffinet
              Yifan Cai
              Dinesh Joshi, Jorge Bay
              Votes:
              6 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated: