Go to file
Brian Palmer dd574808c2 cassandra batching, and batch up the page view updates
Add a batch method that uses cassandra's BEGIN BATCH/APPLY BATCH
functionality to cut down on the number of network round trips, and
possibly save a bit of CPU time on the cassandra servers.

Since execute returns a result set, it can't be batched, so we add another
method update for INSERT/UPDATE CQL statements that don't return a
value.

Closes CNVS-3526

test plan: No behavioral change. Do a regression test that page view
information is still send to cassandra properly. You can check the debug
logs to see that the CQL statements are all sent in one big BEGIN BATCH
statement.

Change-Id: Ibca4f6fbd84f2644436599c017f1ec8c39783e36
Reviewed-on: https://gerrit.instructure.com/17156
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Clare Hetherington <clare@instructure.com>
2013-01-31 16:59:13 -07:00
app cassandra batching, and batch up the page view updates 2013-01-31 16:59:13 -07:00
config cassandra batching, and batch up the page view updates 2013-01-31 16:59:13 -07:00
db/migrate clean up user account associations 2013-01-31 10:41:55 -07:00
doc don't promise features that aren't planned in the (near) future 2013-01-15 18:35:56 -07:00
guard parallelize build tasks 2012-04-16 16:38:23 -06:00
lib cassandra batching, and batch up the page view updates 2013-01-31 16:59:13 -07:00
node_modules update require.js node module 2012-06-27 17:29:47 -06:00
public show warning in gb1 for invalid assignment groups 2013-01-31 16:29:29 -07:00
script adds user search API to courses 2013-01-25 09:42:30 -07:00
spec cassandra batching, and batch up the page view updates 2013-01-31 16:59:13 -07:00
vendor/plugins allow reports on sub accounts and return deleted objects 2013-01-31 10:55:04 -07:00
.gitignore prune .gitignore some more 2013-01-23 09:29:35 -07:00
.jshintrc make jslint settings more sane 2012-08-17 11:04:40 -06:00
CONTRIBUTING.md add a contributing doc for github coolness 2012-09-19 10:16:04 -06:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Gemfile jenkins build summary 2013-01-29 16:06:32 -07:00
Guardfile fix our Guardfile for ruby 1.9 2012-10-31 14:02:12 -06:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md README changes to point more directly to installation instructions 2011-02-01 17:36:01 -07:00
Rakefile using custom parallelized specs gem for rspec tests 2012-04-23 13:33:29 -06:00
config.ru fix non-static image urls 2012-05-17 10:53:57 -06:00
package.json AMD Conversion 2012-02-06 16:41:40 -07:00

README.md

Canvas LMS

Canvas is a new, open-source LMS by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.