Azure - What service to use for Arduino data (iot) -
i have aurdino yun water data ( how have used ) data on web , have started check around azure seems amazing service bit overwhelming.
i expect project grow , im bit confused service should use.
my questions is. service should use? 1. mobile service 2. azure event bus
i have read alot of guides , seem use mobileservice microsoft seems want me use eventbus.
can please clarify difference on services or recommend me 1 use?
br emil
that's because 2 services different things. in fact, consider 1 opposite of other:
- mobile services provide services to mobile devices call. while use them post event streams, aren't optimised this. don't store stream, have no concept of consumers, etc. have write event hub yourself.
- event hubs exist accept lot of data events large number of devices. it's designed accept millions of events per second
mobile services aren't made event processing.
event hubs offer lot of advantages:
- the stream cached , queued, don't have consume events right away
- you have simple api define consumers, without bothering event storage etc. call
receiver.receive()
read next event stream. - you can have multiple consumers processing stream.
- consumers can stop , resume processing @ specific points in stream using checkpoints. way, if consumer crashes , restarts won't lose events after last checkpoint.
- scaling easy if traffic high, buy more throughput units
you'll find better explanation in event hubs overview article @ msdn.
Comments
Post a Comment