SitePoint and Microsoft live Q&A: Session 2, Azure Mobile Services & Notifications

For someone using Amazon EC cloud services, should I consider making a switch to Azure? I imagine your answer would be yes, but maybe you could shed some light on the reasons why?

1 Like

Iā€™ll fix that for you now.

3 Likes

The Notification service infrastructure is not specific to your app, itā€™s done across all notifications globally and we closely monitor the load on it and scale as required. Of course, because there are many people using it, that tends to even out the load (one of the big advantages of a cloud-based, multi-user infrastructure is that you can run your hardware at much higher working loads because the peaks are smoothed out by the averaging of multiple disparate workloads across many timezones)

1 Like

So can you easily set notifications for specific timezones for your users? Are there any other cool tricks you can do with Notifications?

1 Like

Itā€™s a very difficult question to answer without having a more detailed architectural discussion. The answer really depends on what youā€™re doing on Amazon.

One thing I would say (and I bet you werenā€™t expecting to hear this) is that unless you have a good reason to do so (like a service or capability that canā€™t be met elsewhere) Iā€™d be wary about switching for the sake of change.

Having said that, as a developer, Iā€™m really sold on the PaaS model and Azure seems to offer the best version of that Iā€™ve seen.

2 Likes

@AndrewCoates Iā€™m sure this will be answered on your site, but since youā€™re here, does Azure have a network of computers globally, or are they mostly centered in one location? (I donā€™t have a great understanding of how cloud services disperse their hosting!)

Notifications can be sent to channels, or categories to which a user (or app on behalf of a user) subscribes. One of those channels could be set up for a particular time zone. You could also set up channels based on peopleā€™s preferences for, say, sport. A cricket app might have channels for each team, for each competition, for specific players or whatever. When you send the notification, you tag it with the channel(s) that should receive it, and the infrastructure takes care of sending it to the right people.

@AndrewCoates Being a C Programmer can I use it to make an app? Will C be enough or is there any other language needed? Are there any specific databases needed?

1 Like

Yep, there are over 16 Data Centres around the world, including 2 in Australia (I said over 16, because the number increases fairly regularly). You can choose to put your services and data in one or more of these and we also automatically back up between data centres.

Lots more info about the data centres themselves here: http://www.microsoft.com/en-us/server-cloud/cloud-os/global-datacenters.aspx

Thereā€™s a list of the redundancy locations used here http://azure.microsoft.com/en-us/regions/geo-redundant-storage/, but it looks like itā€™s a little out of date as the Australian centres arenā€™t listed (they opened late last year)

1 Like

That was an extremely quick half hour! Thanks so much @AndrewCoates for being so honest and answering as many questions as you could :slight_smile: Andrew will be answering some remaining questions in the next few minutes - thanks Andrew!

Stay tuned for our 3rd Microsoft Q&A session on Tuesday, 31 March - more details to come soon!

3 Likes

Thanks Jasmine - and thanks everyone. Iā€™ve really enjoyed this.

2 Likes

Yes, you can write an app in C (although itā€™s not the most common language in use for that these days). I really like C# at the moment. Using tools like Xamarin, I can write apps on iOS, Android, Windows and Windows Phone with a common code base and common language.

As for databases, you can use pretty much anything you can connect to. Some probably have more advanced libraries available to take care of the heavy lifting for you though.

1 Like

Thank you
And you will be able to post more links now :wink:
And even upload images if you want to.!

1 Like

Thanks :wink:

1 Like

Thereā€™s a great video about the data centres too:

3 Likes

Thanks Andrew, for the links and for your time!

1 Like

Thank you Andrew! Incredibly informative and I hope youā€™ll be back for future sessions.

2 Likes

Canā€™t believe I missed itā€¦ And I wanted to ask about how to deal with people that abuse the notifications system to spam and if there were some best practices that he could recommend :frowning:

1 Like

Wow thatā€™s a pretty amazing video on the data centers!

1 Like

Thank you @AndrewCoates for giving more stuff to readā€¦ :smiley:

1 Like