Hey thurr. How are y'all doing?
I'm developing an e-commerce app that I believe will have to cope with quite a number of users, say 50,000 to 100,000 a day. I want to develop a shopping cart but I'm thinking of setting it up as an array, and then put it in a session variable. It can then be manupulated like a regular cart and it clears once the session is over. The reason I want to do this is to reduce costly database queries when data about the cart needs to displayed.
My question is, for the amount of users I'm expecting will the session arrays (my shopping cart) cause any performance problems? If so, is there a better way of persisting a shopping cart with sessions.
Thanks so much for your advice.