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

User based request scheduler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Won't Fix
    • None
    • None

    Description

      Today only a keyspace based request scheduler exists.

      Post CASSANDRA-4898 it could be possible to implement a request_scheduler based on users (from system_auth.credentials) rather than keyspaces. This could offer a finer granularity of control, from read-only vs read-write users on keyspaces, to application dedicated vs ad-hoc users. Alternatively it could also offer a granularity larger and easier to work with than per keyspace.

      The request scheduler is a useful concept but i think that setups with enough nodes often favour separate clusters rather than either creating separate virtual datacenters or using the request scheduler. To give the request scheduler another, and more flexible, implementation could especially help those users that don't yet have enough nodes to warrant separate clusters, or even separate virtual datacenters. On such smaller clusters cassandra can still be seen as an unstable technology because poor consumers/schemas can easily affect, even bring down, a whole cluster.

      I haven't look into the feasibility of this within the code, but it comes to mind as rather simple, and i would be interested in offering a patch if the idea carries validity.

      Attachments

        Issue Links

          Activity

            People

              mck Michael Semb Wever
              mck Michael Semb Wever
              Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: