Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataTransHub #15

Open
gatspy opened this issue Nov 23, 2021 · 1 comment
Open

DataTransHub #15

gatspy opened this issue Nov 23, 2021 · 1 comment

Comments

@gatspy
Copy link

gatspy commented Nov 23, 2021

请教下这两者的区别?

@lixiaoyu0123
Copy link
Contributor

有区别的,使用场景是不一样的。
DataReporter是准实时场景,数据一般需要尽量快的上报到后端。最好不落盘。使用的是接口方式上报。
DataTransHub是海量数据上报,比如log数据,APM数据,这种数据量非常大,使用的是文件方式上报,对于实时的要求并不迫切。如果用DataReporter,因为没有压缩,通过接口方式上报,效率非常低,很消耗网络,需要频繁多次网络请求。而DataTranshub使用文件方式,一般一个1M的文件承载上万条数据是很常见的。因为文本压缩比很高。
所以两者的使用场景是不一样的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants