javascript - Handling large amounts of variants (3 million+) in e-commerce software -
boss doesn't believe me when 3 million entries per item problem. told me defer, notify user, , scale servers.
i have server side implementation pulls data multiple e-commerce integrations, calculate cartesian product of of possible variations of item, stores them in cache, serves them client side heavily looped. works items less 200 variants, aka normal items.
example:
t-shirt
size: small medium large
color: red blue orange
cartesian variants: (small, red) (small, blue) (small, orange) (medium, red) ...
we received client has items with:
7 option sets
with option sets having: 50 options each
now, customer not doing inherently wrong. offering clothing many color options individual parts of item.
is there way handle in elegant way? no, right?
Comments
Post a Comment