Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
483 views
in Technique[技术] by (71.8m points)

sftp - OneM2M: IPE that periodically fetches device data from FTP server


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This is a question more related to the infrastructure architecture you are planing to deploy. It is feasible, of course, but polling has the disadvantage that if the delay is to small your AE would poll the ftp server unnecessarily often, and if it is to long then you might miss data delivered by your device (to the ftp server). Alternatives could be:

  • The ftp server notifies your AE
  • Your AE implements the ftp server and would then be able to directly react on new data events.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...