Data Imports in Optimizely: Part 1 - Writing efficient data imports

Importing data is a common task in Optimizely. Frequently a new site launch will require data to be imported from a legacy system. Depending on the scale of the site, this can include thousands of pages and blocks. It is therefore critical to follow some best practices around imports to ensure that they are efficient and effective.

Some key points to remember:

  1. Store a persistent identifier

  2. Query data efficiently

  3. Only save when necessary

  4. Use async where possible

  5. Parallelize - if it makes sense

  6. Separate jobs to be run independently

Previous
Previous

Data Imports in Optimizely: Part 2 - Store a persistent identifier