dppx9253 2019-05-26 05:56
浏览 126

redis pub / sub数据如何与CentOS 7上的移动应用程序进行交互

I made a stock-like app, which received data from outside then publish them to clients. I want to use redis as cache to save 7 days’ data and MySQL to save all data. But I have wondered how to deal with subscribe data interaction is effective? I have used remote connection from mobile app to redis server, but the server is infected with mining virus. So it seems like unsafe. What about php api? I don’t use pub/sub but use ‘get’ once a second use php api? It seems ineffective. Java is difficult to me. I could use Qt to write a server, but it seems like poor performance on high concurrency. I am confused.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 程序不包含适用于入口点的静态Main方法
    • ¥15 素材场景中光线烘焙后灯光失效
    • ¥15 请教一下各位,为什么我这个没有实现模拟点击
    • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 ubuntu子系统密码忘记