Microsoft Announces Preview Service for Building Real-Time Web Applications Called Azure Web PubSub – InfoQ.com

Live Webinar and Q&A – 5 Technical Lessons Learned from Outages at AWS, Google and Microsoft (Live Webinar Dec 9th, 2021) Register Now
Facilitating the spread of knowledge and innovation in professional software development


Canary releases enable product owners to check how a new feature is getting adopted by users by rolling it out to a small percentage of users and then incrementally rolling it out to a wider audience. Product owners might feel tempted to discontinue or reduce testing upon adopting canary releases, but decisions should be approached cautiously as they can have serious and unintended consequences.
Gwen Shapira and Vivek Sharma discuss some architectural highlights of building, evolving and scaling a control plane for thousands of Kafka clusters, and some challenges encountered.
In the podcast, Rosaria Silipo talks about the emerging trends in deep learning, with focus on low code visual programming to help data scientists apply deep learning techniques without having to code the solution from scratch.
Legacy software is still employed, even though it frequently fails to meet critical demands and core business operations. By choosing the right modernization strategy and software development teams, you can easily cut down on high legacy software maintenance costs and increase productivity.
This article deals with three biases people can have with establishing application security while trying to move fast in building them, attitude which can cost the organization later, showing how to spot the biases, and providing advice on what to do about them.
Learn from practitioners driving innovation and change in software. Attend in-person on April 4-6, 2022.
Your monthly guide to all the topics, technologies and techniques that every professional needs to know about. Subscribe for free.
InfoQ Homepage News Microsoft Announces Preview Service for Building Real-Time Web Applications Called Azure Web PubSub
This item in japanese
May 07, 2021 2 min read
by
Steef-Jan Wiggers
Recently Microsoft announced a preview of Azure Web PubSub, a new service for building real-time web applications. Azure Web PubSub is a fully-managed service that supports native and serverless WebSockets.
WebSockets allow for full-duplex communication channels over a single TCP connection. Developers can leverage WebSockets in their web application implementation to open a two-way interactive communication session between the user's browser and a server. It can be helpful in scenarios where web applications require high-frequency data updates such as gaming, auctioning, or applications that support live-chat cross-platform like chatbots, online customer support, and real-time shopping assistant.
Balan Subramanian, partner director of product management, stated in a blog post about the preview service:
WebSocket is a standardized protocol that provides full-duplex communication. It is key to building efficient real-time web interactions and is supported by all major browsers as well as web servers. 

Source: https://azure.microsoft.com/en-us/blog/easily-build-realtime-apps-with-websockets-and-azure-web-pubsub-now-in-preview/
Currently, the Azure Web PubSub preview supports native WebSocket and a wide variety of programming languages (including C#, Python, and Java) through WebSocket APIs – providing flexibility for developers to build real-time cross-platform applications and migrate existing WebSocket-based applications. Furthermore, the service also offers json.webpubsub.azure.v1 subprotocol – enabling clients to do publish-subscribe effectively without routing data between service and back-end server code. And the service is also natively integrated with Azure Functions, allowing developers to build serverless C#, JavaScript, Python, and Java applications using WebSockets. 
Subramanian stated in the same blog post:
You can use Azure Functions to integrate and process the location data from IoT devices and then leverage Azure Web PubSub service to broadcast the location data to multiple live dashboard clients to visualize real-time location information for your customers.
Azure Web PubSub is not the only real-time service offering Microsoft has in Azure. It also provides Azure SignalR, allowing developers to add real-time web functionality to applications over HTTP – also supporting similar scenarios. In a Twitter thread,  David Fowler, partner software architect at Microsoft on .NET, creator of SignalR and ASP.NET Core, explains the differences:
How is it different from SignalR, you ask? Well, internally, it's built on the same underlying tech, but the big difference is that there's no client requirement or protocol requirement, BYOWL (bring your own WebSocket library).
And, also:
Unlike SignalR, Azure Web Pubsub is just WebSockets; there's no long-polling or server sent events fallback nor automatic reconnect; it's just you and your WebSocket client. And lastly, if you're using Azure SignalR continue to do so unless there's something limiting you from using it in more places. This service won't benefit you if that's not the case.
Lastly, more details and guidance around using the Azure Web PubSub service are available on the documentation landing page and Github code samples.

Stuck trying to diagnose connectivity or performance issues? Learn howto quickly get to the root cause of traffic and network problems.
A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example

We protect your privacy.
You need to Register an InfoQ account or or login to post comments. But there’s so much more behind being registered.
Get the most out of the InfoQ experience.
Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example

We protect your privacy.
Focus on the topics that matter in software development right now.
Deep-dive with 64+ world-class software leaders. Discover how they are applying emerging trends. Learn their use cases and best practices.
Stay ahead of the adoption curve and shape your roadmap with QCon Plus online software development conference.
InfoQ.com and all content copyright © 2006-2021 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we’ve ever worked with.
Privacy Notice, Terms And Conditions, Cookie Policy

source