i want to develop a chat application,but i want to develop the ability of private chat between 2 users.
multiple users chat is very simple,but private chat is very complex ,but if we use database it become simple and very flexible.
so i need your expert opinion before i go through to built this chat application.
should i use database or not? (related with performance).
thank you very much for your time.