EDU 2.0
Migrating to CloudSearch
Graham Glass, Founder
EDU 2.0 Migrating to CloudSearch Graham Glass, Founder Background - - PowerPoint PPT Presentation
EDU 2.0 Migrating to CloudSearch Graham Glass, Founder Background Cloud-hosted E-learning Platform (LMS) www.edu20.org for academia www.edu20.com for businesses 1,000,000+ users 15,000 new users a week Customers
Graham Glass, Founder
Universities, California School Districts, small Kindergartens, etc.
volume items (messages, postings), which were migrated last of all.
search update records to database
minutes with records from database
def after_create
super update_search end def update_search if ((type = material_class).searchable? && (scope != 'None')) SearchUpdate.add(type, material_id) end end
def self.add(type, ids)
begin search_update = SearchUpdate.new(:class_name => type.name, :ids => (ids.kind_of?(Array) ? ids.join(',') : ids), :operation => 'Update') search_update.save! rescue Exception => exception puts "SearchUpdate.add exception: #{exception.message}" end end
spending 1-2 hours a day.
scalability and DynamoDB