{"id":19000032,"url":"https://github.com/dgiot/dgiot_tdengine_mqtt","last_synced_at":"2025-04-22T16:53:22.977Z","repository":{"id":44725042,"uuid":"349763782","full_name":"dgiot/dgiot_tdengine_mqtt","owner":"dgiot","description":"千万级设备时序数据实时存储桥接服务","archived":false,"fork":false,"pushed_at":"2021-09-06T13:32:37.000Z","size":43,"stargazers_count":10,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-17T07:17:19.721Z","etag":null,"topics":["dgiot","tdengine"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgiot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-20T15:31:59.000Z","updated_at":"2025-01-24T11:05:26.000Z","dependencies_parsed_at":"2022-09-07T20:50:34.483Z","dependency_job_id":null,"html_url":"https://github.com/dgiot/dgiot_tdengine_mqtt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgiot%2Fdgiot_tdengine_mqtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgiot%2Fdgiot_tdengine_mqtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgiot%2Fdgiot_tdengine_mqtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgiot%2Fdgiot_tdengine_mqtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgiot","download_url":"https://codeload.github.com/dgiot/dgiot_tdengine_mqtt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250283186,"owners_count":21405115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dgiot","tdengine"],"created_at":"2024-11-08T18:05:58.737Z","updated_at":"2025-04-22T16:53:22.949Z","avatar_url":"https://github.com/dgiot.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dgiot_tdengine_mqtt\n   2019年下半年在准备做3000万电表和1500万zetag压测时,开始尝试使用tdengine作为DG-IoT的主时序数据库，目前已与DG-IoT的物模型、数据管理权限、消息路由和消息缓存无缝对接，并在多个商用项目中落地.\n   \n  对于千万级设备时序数据无丢包实时落库难题，我们尝试了用erlang port, erlang nif, java jdbc, http resful等多种方法来解决这个技术难题，最后发现还是tdengine原生的落库方法效果是最好的，代码行数也只有100多行。\n# 部署\n  ``` shell script\n    git clone https://hub.fastgit.org/dgiot/dgiot_tdengine_mqtt.git\n    cd dgiot_tdengine_mqtt\n    sh install_dgiot_tdengine_mqtt\n  ```\n# 功能\n - 支持开机自启动与桥接服务进程守护\n - 通过DG-IoT的设备档案管理,可以支持亿级tdengine数据节点的读写\n   | 设备层 --\u003e | DG-IoT --\u003e  | 数据桥接 --\u003e  |  数据存储 |\n   | ------------ | ------------ | ------------ | ------------ |\n   |  千万设备 | dgiot server  | dgiot_tdengine_mqtt  |tdengine server   |\n   |  千万设备 | dgiot server  | dgiot_tdengine_mqtt  |tdengine server   |\n   |  千万设备 | dgiot server  | dgiot_tdengine_mqtt  |tdengine server   |  \n# 案例 \n- [ DG-IoT百亿级物流标签轨迹时序数据压测](https://mp.weixin.qq.com/s/8cK_Mo8NayiHaZ7Bkn4HJQ)\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgiot%2Fdgiot_tdengine_mqtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgiot%2Fdgiot_tdengine_mqtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgiot%2Fdgiot_tdengine_mqtt/lists"}