Websocket vs REST when sending data to server

Viewed 13745

Background

We are writing a Messenger-like app. We have setup Websockets to Inbox and Chat.

Question

My question is simple. What are the advantages and disadvantages when sending data from Client to Server using REST instead of Websockets? (I am not interested in updates now.)

We know that REST has higher overhead in terms of message sizes and that WS is duplex (thus open all time). What about the other things we didn't keep in mind?

1 Answers
Related