是否有任何特定原因使用亚马逊 SNS 而不是直接百度服务

Is there any specific reason to use Amazon SNS instead of direct Baidu service

我使用百度创建了推送通知。它通过百度控制台运行良好,我在 Android 手机上收到通知。 我必须使用百度提供的 SDK 创建一个 web 服务来从我的特定应用程序发送推送消息。我还有另一个选项,似乎在 Amazon SNS 下可用。它似乎是对百度、GCM 等的包装

我的疑问是,与百度提供的 SDK 相比,使用 Amazon SNS 是否有任何具体优势?

tldr;

如果您只针对中国市场并且百度很适合您,并且您的所有代码设置都可以与百度一起使用,那么留在百度

关于 Amazon SNS 需要澄清的其他几点

Baidu cloud push 如果您想在中国市场发送通知,我们提供非常好的服务

Amazon SNS on the other side is a much larger offering and as part of the Mobile Push Notifications亚马逊将作为一个抽象层,你可以选择你想要的实现。

具有以下优点:

  • 你不局限于百度范围所以你可以在中国市场发送通知但不仅如此 if/when 需要在国外发送通知不需要重写整个事情会容易得多
  • 您可以使用相同的代码并快速更改推送通知的提供商,以防提供商在给定时间不工作(停机操作)或条件发生变化而您对新条件不满意。

You send push notification messages to both mobile devices and desktops using one of the following supported push notification services:

  • Amazon Device Messaging (ADM)
  • Apple Push Notification Service (APNS) for both iOS and Mac OS X
  • Baidu Cloud Push (Baidu)
  • Google Cloud Messaging for Android (GCM)
  • Microsoft Push Notification Service for Windows Phone (MPNS)
  • Windows Push Notification Services (WNS)

The following figure shows an overview of how Amazon SNS is used to send a direct push notification message to a mobile endpoint.