Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Multiple Web Roles on Azure

Received: by 10.52.89.73 with SMTP id bm9mr69630vdb.3.1336000851422;
        Wed, 02 May 2012 16:20:51 -0700 (PDT)
X-BeenThere: nodejs@googlegroups.com
Received: by 10.52.89.17 with SMTP id bk17ls533816vdb.2.gmail; Wed, 02 May
 2012 16:20:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.23.211 with SMTP id o19mr945vdf.6.1336000843261; Wed, 02
 May 2012 16:20:43 -0700 (PDT)
Authentication-Results: ls.google.com; spf=pass (google.com: domain of
 araf...@gmail.com designates internal as permitted sender)
 smtp.mail=araf...@gmail.com; dkim=pass
 header...@gmail.com
Received: by ee2g2000vbb.googlegroups.com with HTTP; Wed, 2 May 2012 16:20:43
 -0700 (PDT)
Date: Wed, 2 May 2012 16:20:43 -0700 (PDT)
In-Reply-To: <6261762383577990352@unknownmsgid>
References: <6261762383577990352@unknownmsgid>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19
 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19,gzip(gfe)
Message-ID: <8b8ba26d-a09c-4986-af53-4167e4627f1a@ee2g2000vbb.googlegroups.com>
Subject: Re: Multiple Web Roles on Azure
From: Rafel <araf...@gmail.com>
To: nodejs <nodejs@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello Glenn,
Thanks for the clean description and i understand what you say. Both
roles has their own kind of application where they are implemented.
But i am creating a website in which i want Grid View, Email Service
at some pages and some other parts that are in WebRole, also i have
another node chat application which is implemented in Worker Role. Now
i want to create a complete website which has Grid View, Email Service
and Chat functionality so for this i have to merger Web Role and
Worker Role, I am trying that but it give me error always.

Appreciate your help!!

Thanks.

On Apr 26, 8:37=A0pm, Glenn Block <glenn.bl...@gmail.com> wrote:
> Hi Rafel
>
> I work on the node/azureteam at Microsoft. Whether or not to create
> many roles depends on what you are doing. The main benefit of WebRole
> is IIS manages your node processes for you. It will spin up multiple
> instances. It will monitor memory pressure and kill frozen instances
> and restart them. We also provide access to logs over an http endpoint.
> Further you can enable node-inspector for server side debugging withinAzu=
revia our IIS integration.
>
> The big benefit for worker is that it is leaner and it supports
> WebSockets. In worker IIS is not present. This means there is less in
> the box from a management perspective, but you get closer to the metal.
> Because they are lighter they are more ideal for background processes
> or for serving web apis.
>
> One place where you might do a hybrid is for Websockets. For example
> your front end might run in a WebRole with multiple instances while
> your backend exposes web apis / uses WebSockets via a Worker.
>
> Another scenario where you might use worker is for hosting an app
> server like Redis / Mongo which your web role uses.
>
> That being said, many folks just use one role and you do not have to
> use multiple.
>
> Hope this helps.
>
> Sent from my Windows Phone
> From: Rafel
> Sent: 4/26/2012 8:51 AM
> To: nodejs
> Subject: [nodejs] Multiple Web Roles onAzure
> Hello All,
> I am a newbie to node. right now i am trying to create a web app using
> node and deploying it onAzure. My idea is to create a website which
> has simple tabs on menu bar and each tab open a new functionality e.g.
> one tab gives me grid view, other give me email functionality, other
> is for chat etc.
> So my question is do i need to create multiple web roles in this case,
> or combination of web roles and worker roles. How it goes?? give me an
> idea.
>
> I appreciate any help.
>
> Thanks.
>
> --
> Job Board:http://jobs.nodejs.org/
> Posting guidelines:https://github.com/joyent/node/wiki/Mailing-List-Posti=
ng-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscribe@googlegroups.com
> For more options, visit this group athttp://groups.google.com/group/nodej=