Giter Site home page Giter Site logo

Comments (1)

ccj659 avatar ccj659 commented on September 4, 2024

设计的初衷 为了最大保证数据不会丢失.
为什么会发送失败? 无非就是三种情况1.接收方出现问题,2.网络不通.3在SDK内部数据库取出到json序列化出现问题.

针对第一种,为了避免数据累计太大, 我们服务器做的处理是, 无论我们客户端数据怎么样,是否符合规定. 都要返回上传成功. 数据清洗,数据检查的工作, 会在服务器端进行. 这样就保证了, 客户端没有数据累计的现象, 如果有好的思路,可以提一个pull Request 或者 issues 一起探讨.

针对第二种, 一款APP产品, 没有网络就没有时效性的价值, APP都无法正常运行, 数据收集就更不用谈了..

针对对三种, 项目已经正常运行了将近一年的时间.BI反馈 运转正常. 如果在序列化阶段出现问题, 目前项目没有做标记和处理. 需要优化, 近期我会,在release版本中,优化第三种情况.等处理完毕, 我会第一时间通知您~

from jjevent.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.