Features

| Platform | QPS | MAX_TOKEN | InvalidToken | Body | |----------|------|-----------|--------------|------| | Apns | | | | | | Fcm | 500 | | | | | Xiaomi | 500 | 1000 | | | | Huawei | 6000 | 1000 | | 4kb | | Email | | | | | | Wecom | | 1000 | | | | AgoraRtm | | | | |

Arch

Layer

platform: fcm, apns, email, wecom, huawei, xiaomi

lib:

db: mysql, mongo

service:

interface: http, grpc, graphql

```text


| interface |
| -------------------------
| | grpc | http | graphql | | ------------------------- | |--------------------------------------------------------------------- | service | App{ db: MysqlOrMongo, svc: lib::Service} | ------------------------------ | | registertoken| pushmessage | | ------------------------------ |---------------------------------------------------------------------- | db | mysql | mongodb | | --------------------------------------------------------- | | inserttoken | fetchtokens | fetchchans | fetchapp | | --------------------------------------------------------- |----------------------------------------------------------------------- | lib | Service: { pushers:Vec } | -------------------------------------------------- | | registerclient | removeclient | push_message | | -------------------------------------------------- | |----------------------------------------------------------------------- | platform | | ------------------------------------------------------ | | fcm | apns | email | wecom | xiaomi | huawei | rtm | | ------------------------------------------------------ | |


| | | | | | | | | ---------- | ------------ | --------------- | ----------- | ------ | ----- | --------- | | http | grpc | graphql | | service | | init | | dbservice | inserttoken | deletetoken | insertchan | | lib | pushmessage | registerclient | | fcm | apns | email | xiaomi | huawei | wecom | agora-rtm |

```