title: What type of database is the best for storing array or object like data
body: <p>I'm just curious what the best method would be if I'm trying to have a bot running on my Node server that I could play Blackjack against.</p>
  
  <p>But for multiple connected clients via sockets, each connected socket will have their own bot to play against but I need some way to keep the bots available cards for each time they send a POST request with whatever card they pull out of their deck.</p>
  
  <p>I figured MySQL would get messy really quickly because I cannot just store an array or an object and splice out each card as it gets used, but I'm not really familiar with which database would specialize in this kind of use.</p>
  
  <p>If I didn't make any sense, basically:</p>
  
  <p>I need to store cards for the bot (but for each connected users session) not just 1 deck for 1 person but multiple decks for multiple people. </p>
  
  <p>I'm not asking you to write any code for me, just point me in the direction of which database would be ideal for this kind of setup.</p>
  
  <p>I was thinking maybe Redis or MongoDB?</p>