What are the use cases of Azure Cloud Services Worker Roles?

user1620696

I'm new to Microsoft Azure and I'm not really getting the idea of Worker Roles in the Cloud Services. The Web Roles are kind of easy to grasp: they are vm's running IIS so that I don't have to manage it myself, so when I deploy to a web role I would be deploying something to run in IIS.

Now, worker roles everyone says "it's like windows services, it runs on background" and I'm not really getting when and why I would need this. Until today I never needed to develop a windows service, so perhaps because of this I'm not getting the point with worker roles.

Also, I've seem people deploying WebAPI apps on worker roles, but WebAPI is something that I would run on IIS, so it seems much more like web role than worker role.

Anyway, what are the real use cases of azure worker roles? When should we use it and why? What are common examples of it's usage?

sebagomez

As @Thiago said, there are tons of uses.

Think of YouTube for instance. How would you implement it right now... You'd probably set up a front-end when users would watch and upload videos.

Once the video is uploaded you need to perform some task on it. Convert it to a specific format, look for copyright material, take snapshots... or whatever it is.

You definitely don't want to block the user while you do that, and you don't want to have the user with the browser open while you do that . That's when a worker role comes into play... there's no need for UI and it does not depend on anything from the user, you just run the processes you need there and notify the user when the video is ready. Is he still there? show him a badge or something, did he close the browser? send him an email.

This is just an example that helped my understand worker roles... hope it helps you too

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Can a Worker Role process call Antimalware for Azure Cloud Services programmatically?

From Dev

Can Azure worker roles be deployed with git?

From Dev

Azure Traffic Manager for Cloud Services - What about storage access?

From Dev

What to use in Azure for Scheduling and calling custom function (worker)

From Dev

What are the use cases for IntStream?

From Dev

What is a "Worker" (Cloud Hosting / PaaS)?

From Dev

Can Azure Web/Worker Roles Support .NET Framework 4.5.2 Yet?

From Dev

How to measure memory usage of azure web/worker roles programmatically?

From Dev

Multiple Instances of Azure Worker Roles for non-transaction integration tasks

From Dev

Webconfig overrides for Azure Cloud Services

From Dev

Azure Cloud Services and Web Jobs

From Dev

Understanding Azure cloud services firewall

From Dev

Unit Test Azure Cloud Services

From Dev

Azure Cloud Services and Web Jobs

From Dev

How to represent different roles of users in UML Use cases diagrams?

From Dev

What are some use cases of "$*" in bash?

From Dev

What are use cases for git namespaces?

From Dev

What are real use cases of currying?

From Dev

What are Apache Kylin Use Cases?

From Dev

What UML Use Cases to Write?

From Dev

What use cases is `chdir` is needed for

From Dev

How are the "Cloud Services" created for Virtual Machines and Azure Cloud Services related?

From Dev

Web Role vs Worker Role in Cloud Services / Node.js

From Dev

What permissions does Azure Mobile Services use to access an Azure SQL Database with the mssql object?

From Dev

What permissions does Azure Mobile Services use to access an Azure SQL Database with the mssql object?

From Dev

How to run NET USE to work to map a drive in Cloud Service to an Azure File Services share within webrole

From Dev

How to run NET USE to work to map a drive in Cloud Service to an Azure File Services share within webrole

From Dev

Can I deploy to Azure Cloud Services with a mac?

From Dev

Azure Cloud Services file system access

Related Related

  1. 1

    Can a Worker Role process call Antimalware for Azure Cloud Services programmatically?

  2. 2

    Can Azure worker roles be deployed with git?

  3. 3

    Azure Traffic Manager for Cloud Services - What about storage access?

  4. 4

    What to use in Azure for Scheduling and calling custom function (worker)

  5. 5

    What are the use cases for IntStream?

  6. 6

    What is a "Worker" (Cloud Hosting / PaaS)?

  7. 7

    Can Azure Web/Worker Roles Support .NET Framework 4.5.2 Yet?

  8. 8

    How to measure memory usage of azure web/worker roles programmatically?

  9. 9

    Multiple Instances of Azure Worker Roles for non-transaction integration tasks

  10. 10

    Webconfig overrides for Azure Cloud Services

  11. 11

    Azure Cloud Services and Web Jobs

  12. 12

    Understanding Azure cloud services firewall

  13. 13

    Unit Test Azure Cloud Services

  14. 14

    Azure Cloud Services and Web Jobs

  15. 15

    How to represent different roles of users in UML Use cases diagrams?

  16. 16

    What are some use cases of "$*" in bash?

  17. 17

    What are use cases for git namespaces?

  18. 18

    What are real use cases of currying?

  19. 19

    What are Apache Kylin Use Cases?

  20. 20

    What UML Use Cases to Write?

  21. 21

    What use cases is `chdir` is needed for

  22. 22

    How are the "Cloud Services" created for Virtual Machines and Azure Cloud Services related?

  23. 23

    Web Role vs Worker Role in Cloud Services / Node.js

  24. 24

    What permissions does Azure Mobile Services use to access an Azure SQL Database with the mssql object?

  25. 25

    What permissions does Azure Mobile Services use to access an Azure SQL Database with the mssql object?

  26. 26

    How to run NET USE to work to map a drive in Cloud Service to an Azure File Services share within webrole

  27. 27

    How to run NET USE to work to map a drive in Cloud Service to an Azure File Services share within webrole

  28. 28

    Can I deploy to Azure Cloud Services with a mac?

  29. 29

    Azure Cloud Services file system access

HotTag

Archive