push-server-task

command module
v0.0.0-...-dc24fe2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

README

push-server-task

介绍

手机消息推送消费端,主要任务是监听MQ消费业务消息并使用SDK(go-push-sdk)将消息下发到手机端,需要配合push-server-task一起使用

软件架构

技术栈:go语言开发
存储:MySQL+Redis
消息缓存:MQ(支持Redis,rabbitMq, aliyunMQ)都配置则后面覆盖前面
支持特性:
1 华为,OPPO,vivo平台access_token自动缓存,包级别PushClient按照LRU缓存(对同一个应用连续推送友好)
1 MQ消息消费失败自动重试(重试次数可配置),重试超时时间按照数列排布
2 解决推送配置DB和Redis一致性问题
3 对象缓存优化(引入LRU,sync.Pool)
4 消息推送失败邮件通知

使用教程

在项目根目录etc/app.ini填写应用配置
oss-disk并将配置放到tmp目录下

作者

QQ交流群讨论:1091125144

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL