Hi all!
Working on a marketplace alike project where people can both search for shops or search for products and identify the shops selling that particular item. Some shops sell the same items, but with different prices.
At scale, there might be something in the range of 200.000 unique products, most of which with a different price times the number of shops selling that specific product. The number of SKU (same product, different price) could easily go in the range of millions.
To complicate things up I need to keep track of who sells what as I am going my user the possibility to save a set of products (similar to a Shopping Cart) and from there retrieve the shops selling all products in “Cart”.
How would it be better to structure my data for efficiency?