Giter Site home page Giter Site logo

dgiot_tdengine_mqtt's Introduction

dgiot_tdengine_mqtt

2019年下半年在准备做3000万电表和1500万zetag压测时,开始尝试使用tdengine作为DG-IoT的主时序数据库,目前已与DG-IoT的物模型、数据管理权限、消息路由和消息缓存无缝对接,并在多个商用项目中落地.

对于千万级设备时序数据无丢包实时落库难题,我们尝试了用erlang port, erlang nif, java jdbc, http resful等多种方法来解决这个技术难题,最后发现还是tdengine原生的落库方法效果是最好的,代码行数也只有100多行。

部署

  git clone https://hub.fastgit.org/dgiot/dgiot_tdengine_mqtt.git
  cd dgiot_tdengine_mqtt
  sh install_dgiot_tdengine_mqtt

功能

  • 支持开机自启动与桥接服务进程守护
  • 通过DG-IoT的设备档案管理,可以支持亿级tdengine数据节点的读写
    设备层 --> DG-IoT --> 数据桥接 --> 数据存储
    千万设备 dgiot server dgiot_tdengine_mqtt tdengine server
    千万设备 dgiot server dgiot_tdengine_mqtt tdengine server
    千万设备 dgiot server dgiot_tdengine_mqtt tdengine server

案例

dgiot_tdengine_mqtt's People

Contributors

lsxredrain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dgiot_tdengine_mqtt's Issues

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.