razor - Poll an azure queue and update view when data arrives in queue Asp.net Mvc4 -


i have scenario request sent service via client response comes inside message queue in azure, how can poll queue @ client end , update view when response comes have update label when data recieved in queue.

azure has 2 types of queues - azure queue , service bus queue. although in theory can access them client side (i assume javascript) because cors has been introduced time ago (not sure cors support servicebusqueue), might not best option.

problems might face:

  • lot's of clients trying process messages (locking , releasing), azure queue not support sessions have either create queue per client or use service bus queue (as said earlier not sure cors) sessions
  • what should happen when client not online anymore? message stays in queue? till when? expiration?

different approach

you can message processing on server , notify user change using singlalr. gives better flexibility (one message can trigger notification many users etc).

signalr scaleout azure service bus

using signalr azure table storage - architecture?


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -