You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-web-pubsub/overview.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,28 +10,30 @@ ms.date: 07/26/2024
10
10
11
11
# What is Azure Web PubSub service?
12
12
13
-
Azure Web PubSub Service makes it easy to build web applications that allows server and connected clients to exchange data in real-time. Real-time data exchange is the bedrock of certain time-sensitive apps developers build and maintain. Developers have leveraged the service in chat apps, real-time dashboards, multi-player games, online auctions, multi-user collaborative apps, location tracking, notifications and more. With the recent surge in interest in AI, Web PubSub has become an invaluable tool to developers building AI-enabled applications for token streaming. The service is battle-tested to scale to tens of millions of concurrent connections and offers ultra-low latency.
13
+
Azure Web PubSub Service makes it easy to build web applications where server and clients need to exchange data in real-time. Real-time data exchange is the bedrock of certain time-sensitive apps developers build and maintain. Developers have used the service in a variety of applications and industries, for exmaple, in chat apps, real-time dashboards, multi-player games, online auctions, multi-user collaborative apps, location tracking, notifications, and more.
14
+
15
+
With the recent surge in interest in AI, Web PubSub has become an invaluable tool to developers building AI-enabled applications for token streaming. The service is battle-tested to scale to tens of millions of concurrent connections and offers ultra-low latency.
14
16
15
17
When an app's usage is small, developers typically opt for a polling mechanism to provide real-time communication between server and clients - clients send repeated HTTP requests to server over a time interval. However, developers often report that while polling mechanism is straightforward to implement, it suffers three important drawbacks.
16
-
1.Not real-time enough.
17
-
2.Data inconsistency.
18
-
3. Wasted bandwidth and compute.
18
+
1.Outdated data.
19
+
2.Inconsistenct data.
20
+
3. Wasted bandwidth and compute resources.
19
21
20
-
These drawbacks are the primary motivations that drive developers to look for alternatives. This article provides an overview of Azure Web PubSub service and how developers can leverage it to build real-time communication channel fast and at scale.
22
+
These drawbacks are the primary motivations that drive developers to look for alternatives. This article provides an overview of Azure Web PubSub service and how developers can use it to build real-time communication channel fast and at scale.
21
23
22
24
## What is Azure Web PubSub service used for?
23
25
24
26
Any app scenario where updates at the data resource need to be delivered to other components across network can benefit from using Azure Web PubSub. As the name suggests, the service facilities the communication between a publisher and subscribers. A publisher is a component that publishes data updates. A subscriber is a component that subscrbes to data updates.
25
27
26
-
Azure Web PubSub service are used in a multitude of industries and app scenarios who data is time-senstive. Here's a partial list of some common use cases.
28
+
Azure Web PubSub service is used in a multitude of industries and app scenarios where data is time-sensitive. Here's a partial list of some common use cases.
27
29
28
-
|Use case |Example appliations|
30
+
|Use case |Example applications|
29
31
|----------------------|----------------------|
30
32
|High frequency data updates | Multi-player games, social media voting, opinion polling, online auctioning |
31
33
|Live dashboards and monitoring | Company dashboard, financial market data, instant sales update, game leaderboard, IoT monitoring |
|Location tracking | Vehicle asset tracking, delivery status tracking, transportation status updates, ride-hailing apps |
34
-
|Multi-user collaborative apps |co-authoring, collaborative whiteboard and team meeting apps |
36
+
|Multi-user collaborative apps |coauthoring, collaborative whiteboard and team meeting apps |
35
37
|Cross-platform push notifications | Social media, email, game status, travel alert |
36
38
|IoT and connected devices | Real-time IoT metrics, managing charging network for electric vehicles, live concert engagement |
37
39
|Automation | Real-time trigger from upstream events |
@@ -40,15 +42,15 @@ Azure Web PubSub service are used in a multitude of industries and app scenarios
40
42
41
43
**Built-in support for large-scale client connections and highly available architectures:**
42
44
43
-
Azure Web PubSub service is designed for large-scale, real-time applications. With a single Web PubSub resource, it can scale to one million concurrent connections, which is sufficent for most cases. When multiple resources are used together, the service allows you to scale beyond one million concurrent connections. Meanwhile, it also supports multiple global regions for sharding, high availability, or disaster recovery purposes.
45
+
Azure Web PubSub service is designed for large-scale, real-time applications. With a single Web PubSub resource, it can scale to one million concurrent connections, which is sufficient for most cases. When multiple resources are used together, the service allows you to scale beyond one million concurrent connections. Meanwhile, it also supports multiple global regions for sharding, high availability, or disaster recovery purposes.
44
46
45
47
**Support for a wide variety of client SDKs and programming languages:**
46
48
47
-
Azure Web PubSub service works with a broad range of clients. These clients include web and mobile browsers, desktop apps, mobile apps, server processes, IoT devices, and game consoles. Server and client SDKs are available for mainstream programming languages, C#, Java, JavaScript and Python, making it easy to consume the APIs offered by the service. Since the service supports standard WebSocket protocol, you can use any REST capable programming lanagues to call Web PubSub's APIs directly if SDKs are not available in your programming language of choice.
49
+
Azure Web PubSub service works with a broad range of clients. These clients include web and mobile browsers, desktop apps, mobile apps, server processes, IoT devices, and game consoles. Server and client SDKs are available for mainstream programming languages, C#, Java, JavaScript, and Python, making it easy to consume the APIs offered by the service. Since the service supports standard WebSocket protocol, you can use any REST capable programming languages to call Web PubSub's APIs directly if SDKs aren't available in your programming language of choice.
48
50
49
51
**Offer rich APIs for different messaging patterns:**
50
52
51
-
Azure Web PubSub service offers real-time, bi-directional communication between server and clients for data exchange. The service offers features to allow you finely control how a message should be delivered and to whom. Here's a list of supported messaging patterns.
53
+
Azure Web PubSub service offers real-time, bi-directional communication between server and clients for data exchange. The service offers features to allow you to finely control how a message should be delivered and to whom. Here's a list of supported messaging patterns.
0 commit comments