Skip to main content
1-Visitor
January 13, 2020
Question

DotNet SDK - Best way to implement queue and buffering to update properties

  • January 13, 2020
  • 6 replies
  • 2309 views

We have various properties that are updating very frequently. What will be the best way to implement this using the .Net SDK?

Do we need to create separate threads to update properties?

Current code looks like this, which is the default implementation, however for properties that are updating very frequently, what would be the best way?

 

targetThing.setProperty(propertyName, value);

targetThing.updateSubscribedProperties(15000);

 

6 replies

Shivaji1-VisitorAuthor
1-Visitor
January 14, 2020

How to achieve maximum throughput, using both these?

Do I need to create separate threads for both SetProperty and UpdateSubscribedProperties ?

 

Support
January 16, 2020

Hi @Shivaji.

 

When you say the properties are updating very frequently, how often is that?  What version of the DotNet SDK are you using?

 

Regards.

 

--Sharon

Shivaji1-VisitorAuthor
1-Visitor
January 17, 2020

We have several devices that have more than 300 properties which are updating every second.