Vote for the best protocol for the given scenario

后端 未结 9 2208
时光取名叫无心
时光取名叫无心 2021-02-08 22:04

I have a design decision to make. I need your advice.

Requirements:

  • A server and a client. client is typically a mobile phone.
  • Connected through t
9条回答
  •  悲哀的现实
    2021-02-08 22:40

    Option 7 Why don't you go for XMPP?

    • It's a standard

    • it allows messages in both directions.

    • you may use existing XMPP infrastructure (clients might connect using their Google Talk accounts for instance) or easily build your own using open source XMPP servers

    • I also like the fact, that you basically only write client code (as the server is also an XMPP client) - assuming server and client are both written in same language, you may even use the exact same code.

    • file transfers are supported.

    • easily extensible to your needs

    • it's buzzing (Google Wave) ;)

    The only thing people might argue about is its efficiency - or the efficency of XML in general. I don't think it's a problem though.

提交回复
热议问题