Thanks. I dont use 12000 queries to select 12000 messagers from database. My system is based on conversation-modal. It selects maximum 50 messages when user requests messages for the frist time. Select 50 messages is only one query. After that real time chat may make about 5 queries to database per a request. If we send 1000 messages it will make about 1500 reequests(Its how my systems based with core features).
So, if we send 1000 messages we will only have 7500 queries. But from the beginning there were only 12,000 messages. (From january). And any user doesnot use this app because it automatically redirects to the coming soon page.