#307 ✓resolved
Walter McGinnis

Move building or rebuilding of search records to backgroundrb process to speed up create and update requests

Reported by Walter McGinnis | February 20th, 2012 @ 02:18 PM | in 1.4

When items are created or updated a corresponding search record is either created or updated. For items that have lots of relationships, think thousands of relationships, (or are related to an a topic with lots of relationships through a prepopulated choices from topic type extended field value), generating the search record can take considerable time. Since these records have to be generated before the rest of the create or update actions finish, this can delay returning the request to the user to an unacceptable level.

By moving the generation of corresponding search records to a generic muted worker under backgroundrb that will build the search record asynchronously, we can return a result the user in acceptable time.

This functionality should fall back to standard search record generation for tests and also if the backgroundrb process is not available.

Comments and changes to this ticket

  • Walter McGinnis

    Walter McGinnis February 22nd, 2012 @ 12:01 PM

    • State changed from “new” to “resolved”

    This work has been done and merged into master, including checking for backgroundrb availability and falling back to direct call to prepare_and_save_to_zoom if backgroundrb is unavailable.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.

People watching this ticket

Pages