Received a technical task to create an anonymous chat. The chat server must be built using the Web API .

Previously, it was not necessary to build any chat in production. But I always knew that there is such a wonderful thing as SignalR , which, if necessary, will help me create a chat in a couple of steps. But with this TK it was not there.

All search queries somehow lead to SignalR or сокеты . I can not find a suitable tutorial for either the Web API or the WCF .

It is also said that the chat must withstand the load while 10,000 users are chatting simultaneously. Perhaps because of this, something not standard is required?

Which way should I dig? Or perhaps it should somehow clarify the TK at the customer?

  • And what is the problem? 10k users is very little, any asynchronous server can handle it. Web API and WCF are both asynchronous. - Pavel Mayorov
  • @PavelMayorov, does the Web API project use SignalR ? Or? Action for receiving the message and saving it in the database I can do. And how is this message redirected to other users? - Adam
  • one
    So you have to write it yourself. - Pavel Mayorov

0