commercetools / commercetools/sphere-category-sync

parallelize API interaction once #6 is done

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CoffeeScript
Stars
4
Forks
4
PR merge metrics
No merged PRs in 30d

Description

until the import

importing a large tree (e.g. 500-1200 categories) takes a fairly long time currently because everything is completely sequential. It's not possible in a different way because the sync does not "understand" the tree ordering to do stuff in the right order.
But once #6 is done it could be possible to parallelize API interaction (e.g. in batches per tree depth).

not critical as massively huge category trees aren't the norm.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing issue #6 and the current sequential category-tree import flow. Determine how the API interaction can be grouped by tree depth without breaking ordering. Done means large category trees can use parallel API batches while preserving the required parent-before-child sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.