Hi,

XMPP is an application-level protocol while TCP is a transport-level 
protocol. In fact, XMPP usually runs *on top of* TCP. So, yes, you can use 
Akka TCP to implement XMPP.

Comparing XMPP to what you probably have right now is that in your current 
application you used your own custom protocol the clients use to talk to 
your chat server. On the other side, XMPP is a standard for a chat protocol 
that defines how messages should be sent over the wire.

Fwiw it seems that XMPP in fact supports different kinds of transport 
protocols: 
https://en.wikipedia.org/wiki/XMPP#XMPP_via_HTTP_and_WebSocket_transports

Cheers,
Johannes

On Thursday, February 23, 2017 at 3:59:20 PM UTC+1, livetouch wrote:
>
> Hi,
>
> I have to develop a chat web application + android/ios clients.
>
> I did a sample using Akka Actors, using Akka TCP. So I have an 
> TCPUserActor that receives the connection, and after that I have some 
> UserActor for each user in the application.
>
> But I friend told me that chat applications uses XMPP protocol, and that 
> some chats like Gmail, Messanger, Whatsapp uses it..
>
> So the question is, can I use just Akka TCP for my chat application? Or 
> XMPP is better for this?
>
> Or can I use Akka TCP + XMPP together?
>
> thank you
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to