Better product

Hello everyone, I think it is a simple question.

I would like to make a game where when you log in and choose a character, you can queue up for a random game.
When there are 10 players, I would like to make two groups (5 vs 5).
These players would fight to capture the flag like in World of Warcraft.

What product should I use? PUN? REAL TIME?...

Thank you very much, regards