Home  >  Article  >  Database  >  mysql-qt 多线程接收下位机数据写进MySQL中。

mysql-qt 多线程接收下位机数据写进MySQL中。

WBOY
WBOYOriginal
2016-06-06 09:42:531613browse

多线程mysqlsocketqt大数据

qt 多线程接收下位机数据写进MySQL中。上位机是一个多线程的服务端,想接收多个客户端(下位机)发来的数据(每个下位机大致有50MB的数据)。网络环境是局域网。问题1,大数据在tcpsocket上怎么发送,接收。问题2,如何多线程的写进MySQL中。问题3,传输和读写的速度需要越快越好,有大咖说这样的话可以使用索引+写硬盘。没见过呀。 希望大咖们百忙中指教哈。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn