Skip to content

Commit 08f528c

Browse files
committed
fix merge conflicts
2 parents 85b374e + 269e475 commit 08f528c

File tree

6 files changed

+93
-45
lines changed

6 files changed

+93
-45
lines changed

articles/azure-cache-for-redis/cache-best-practices-enterprise-tiers.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,27 @@ You might also see `CROSSSLOT` errors with Enterprise clustering policy. Only th
139139

140140
In Active-Active databases, multi-key write commands (`DEL`, `MSET`, `UNLINK`) can only be run on keys that are in the same slot. However, the following multi-key commands are allowed across slots in Active-Active databases: `MGET`, `EXISTS`, and `TOUCH`. For more information, see [Database clustering](https://docs.redis.com/latest/rs/databases/durability-ha/clustering/#multikey-operations).
141141

142+
## Enterprise Flash Best Practices
143+
The Enterprise Flash tier utilizes both NVMe Flash storage and RAM. Because Flash storage is lower cost, using the Enterprise Flash tier allows you to trade off some performance for price efficiency.
144+
145+
On Enterprise Flash instances, 20% of the cache space is on RAM, while the other 80% uses Flash storage. All of the _keys_ are stored on RAM, while the _values_ can be stored either in Flash storage or RAM. The location of the values is determined intelligently by the Redis software. "Hot" values that are accessed fequently are stored on RAM, while "Cold" values that are less commonly used are kept on Flash. Before data is read or written, it must be moved to RAM, becoming "Hot" data.
146+
147+
Because Redis will optmize for the best performance, the instance will first fill up the available RAM before adding items to Flash storage. This has a few implications for performance:
148+
- When testing with low memory usage, performance and latency may be significantly better than with a full cache instance because only RAM is being used.
149+
- As you write more data to the cache, the proportion of data in RAM compared to Flash storage will decrease, typically causing latency and throughput performance to decrease as well.
150+
151+
### Workloads well-suited for the Enterprise Flash tier
152+
Workloads that are likely to run well on the Enterprise Flash tier often have the following characteristics:
153+
- Read heavy, with a high ratio of read commands to write commands.
154+
- Access is focused on a subset of keys which are used much more frequently than the rest of the dataset.
155+
- Relatively large values in comparison to key names. (Since key names are always stored in RAM, this can become a bottleneck for memory growth.)
156+
157+
### Workloads that are not well-suited for the Enterprise Flash tier
158+
Some workloads have access characteristics that are less optimized for the design of the Flash tier:
159+
- Write heavy workloads.
160+
- Random or uniform data access paterns across most of the dataset.
161+
- Long key names with relatively small value sizes.
162+
142163
## Handling Region Down Scenarios with Active Geo-Replication
143164

144165
Active geo-replication is a powerful feature to dramatically boost availability when using the Enterprise tiers of Azure Cache for Redis. You should take steps, however, to prepare your caches if there's a regional outage.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: Azure Communication Services Closed Captions logs
3+
titleSuffix: An Azure Communication Services concept article
4+
description: Learn about logging for Azure Communication Services Closed captions.
5+
author: Kunaal
6+
services: azure-communication-services
7+
ms.author: kpunjabi
8+
ms.date: 02/06/2024
9+
ms.topic: conceptual
10+
ms.service: azure-communication-services
11+
ms.subservice: data
12+
---
13+
14+
# Azure Communication Services Closed Captions logs
15+
16+
Azure Communication Services offers logging capabilities that you can use to monitor and debug your Communication Services solution. You configure these capabilities through the Azure portal.
17+
18+
The content in this article refers to logs enabled through [Azure Monitor](../../../../azure-monitor/overview.md) (see also [FAQ](../../../../azure-monitor/overview.md#frequently-asked-questions)). To enable these logs for Communication Services, see [Enable logging in diagnostic settings](../enable-logging.md).
19+
20+
## Usage log schema
21+
22+
| Property | Description |
23+
| --- | --- |
24+
| TimeGenerated | The timestamp (UTC) of when the log was generated. |
25+
| OperationName | The operation associated with log record. ClosedCaptionsSummary |
26+
| Type | The log category of the event. Logs with the same log category and resource type have the same property fields. ACSCallClosedCaptionsSummary |
27+
| Level | The severity level of the operation. Informational |
28+
| CorrelationId | The ID for correlated events. Can be used to identify correlated events between multiple tables. |
29+
| ResourceId | The ID of Azure ACS resource to which a call with closed captions belongs |
30+
| ResultType | The status of the operation. |
31+
| SpeechRecognitionSessionId | The ID given to the closed captions this log refers to. |
32+
| SpokenLanguage | The spoken language of the closed captions. |
33+
| EndReason | The reason why the closed captions ended. |
34+
| CancelReason | The reason why the closed captions cancelled. |
35+
| StartTime | The time that the closed captions started. |
36+
| Duration | Duration of the closed captions in seconds. |
37+
38+
Here's an example of a closed caption summary log:
39+
40+
```json
41+
{
42+
"TimeGenerated": "2023-11-14T23:18:26.4332392Z",
43+
"OperationName": "ClosedCaptionsSummary",
44+
"Category": "ACSCallClosedCaptionsSummary",
45+
"Level": "Informational",
46+
"CorrelationId": "336a0049-d98f-48ca-8b21-d39244c34486",
47+
"ResourceId": "d2241234-bbbb-4321-b789-cfff3f4a6666",
48+
"ResultType": "Succeeded",
49+
"SpeechRecognitionSessionId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmNmUwMC01MWQyLTQ0YjAtODAyZi03N2RlNTA2YTI3NGYiLCJffffffXJjZVNwZWNpZmljSWQiOiIzOTc0NmE1Ny1lNzBkLTRhMTctYTI2Yi1hM2MzZTEwNTk0Mwwwww",
50+
"SpokenLanguage": "cn-zh",
51+
"EndReason": "Stopped",
52+
"CancelReason": "",
53+
"StartTime": "2023-11-14T03:04:05.123Z",
54+
"Duration": "666.66"
55+
}
56+
```

articles/communication-services/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,8 @@ items:
797797
href: concepts/analytics/logs/rooms-logs.md
798798
- name: Rooms metrics
799799
href: concepts/analytics/rooms-metrics.md
800+
- name: Closed captions logs
801+
href: concepts/analytics/logs/closed-captions-logs.md
800802
- name: Service events via EventGrid
801803
items:
802804
- name: Overview

articles/communication-services/tutorials/migrating-to-azure-communication-services-calling.md

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,10 @@ However, there are some key differences between them that may affect your choice
2222

2323
## Key features available in Azure Communication Services Calling SDK
2424

25-
- **Addressing** - Azure Communication Services provides [identities](../concepts/identity-model.md) for authenticating and addressing communication endpoints. These identities are used within Calling APIs, providing clients with a clear view of who is connected to a call (the roster).
26-
- **Encryption** - The Calling SDK safeguards traffic by encrypting it and preventing tampering along the way.
27-
- **Device Management and Media enablement** - The SDK manages audio and video devices, efficiently encodes content for transmission, and supports both screen and application sharing.
28-
- **PSTN calling** - You can use the SDK to initiate voice calling using the traditional Public Switched Telephone Network (PSTN), [using phone numbers acquired either in the Azure portal](../quickstarts/telephony/get-phone-number.md) or programmatically.
29-
- **Teams Meetings** – Azure Communication Services is equipped to [join Teams meetings](../quickstarts/voice-video-calling/get-started-teams-interop.md) and interact with Teams voice and video calls.
30-
- **Notifications** - Azure Communication Services provides APIs to notify clients of incoming calls. This enables your application to listen for events (such as incoming calls) even when your application isn't running in the foreground.
31-
- **User Facing Diagnostics** - Azure Communication Services uses [events](../concepts/voice-video-calling/user-facing-diagnostics.md) to provide insights into underlying issues that might affect call quality. You can subscribe your application to triggers such as weak network signals or muted microphones for proactive issue awareness.
32-
- **Media Quality Statistics** - Provides comprehensive insights into VoIP and video call [metrics](../concepts/voice-video-calling/media-quality-sdk.md). Metrics include call quality information, empowering developers to enhance communication experiences.
33-
- **Video Constraints** - Azure Communication Services offers APIs that control [video quality among other parameters](../quickstarts/voice-video-calling/get-started-video-constraints.md) during video calls. The SDK supports different call situations for varied levels of video quality, so developers can adjust parameters like resolution and frame rate.
3425

3526

3627

37-
| **Feature** | **Web (JavaScript)** | **iOS** | **Android** | **Agnostic** |
28+
| **Feature** | **Web (JavaScript)** | **iOS** | **Android** | **Platform neutral** |
3829
|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|
3930
| **Install** | [✔️](../quickstarts/voice-video-calling/getting-started-with-calling.md?tabs=uwp&pivots=platform-web#install-the-package) | [✔️](../quickstarts/voice-video-calling/getting-started-with-calling.md?tabs=uwp&pivots=platform-ios#install-the-package-and-dependencies-with-cocoapods) | [✔️](../quickstarts/voice-video-calling/getting-started-with-calling.md?tabs=uwp&pivots=platform-android#install-the-package) | |
4031
| **Import** | [✔️](../quickstarts/voice-video-calling/getting-started-with-calling.md?tabs=uwp&pivots=platform-web#install-the-package) | [✔️](../quickstarts/voice-video-calling/getting-started-with-calling.md?tabs=uwp&pivots=platform-ios#install-the-package-and-dependencies-with-cocoapods) | [✔️](../quickstarts/voice-video-calling/getting-started-with-calling.md?tabs=uwp&pivots=platform-android#install-the-package) | |
@@ -71,29 +62,7 @@ However, there are some key differences between them that may affect your choice
7162
| **Picture-in-picture** | | [✔️](../how-tos/ui-library-sdk/picture-in-picture.md?tabs=kotlin&pivots=platform-ios) | [✔️](../how-tos/ui-library-sdk/picture-in-picture.md?tabs=kotlin&pivots=platform-android) | |
7263

7364

74-
**For more information about using the Calling SDK on different platforms, see** [**Calling SDK overview > Detailed capabilities**](../concepts/voice-video-calling/calling-sdk-features.md#detailed-capabilities)**.**
7565

76-
If you're embarking on a new project from the ground up, see the [Quickstart: Add 1:1 video calling to your app](../quickstarts/voice-video-calling/get-started-with-video-calling.md?pivots=platform-web).
77-
78-
79-
### Calling support
80-
81-
The Azure Communication Services Calling SDK supports the following streaming configurations:
82-
83-
| Limit | Web | Windows/Android/iOS |
84-
|---------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|-----------------------------|
85-
| Maximum \# of outgoing local streams that can be sent simultaneously | 1 video and 1 screen sharing | 1 video + 1 screen sharing |
86-
| Maximum \# of incoming remote streams that can be rendered simultaneously | 9 videos + 1 screen sharing on desktop browsers\*, 4 videos + 1 screen sharing on web mobile browsers | 9 videos + 1 screen sharing |
87-
88-
## Call Types in Azure Communication Services
89-
90-
Azure Communication Services offers various call types. The type of call you choose impacts your signaling schema, the flow of media traffic, and your pricing model. For more information, see [Voice and video concepts](../concepts/voice-video-calling/about-call-types.md).
91-
92-
- **Voice Over IP (VoIP)** - When a user of your application calls another over an internet or data connection. Both signaling and media traffic are routed over the internet.
93-
- **Public Switched Telephone Network (PSTN)** - When your users call a traditional telephone number, calls are facilitated via PSTN voice calling. To make and receive PSTN calls, you need to introduce telephony capabilities to your Azure Communication Services resource. Here, signaling and media employ a mix of IP-based and PSTN-based technologies to connect your users.
94-
- **One-to-One Calls** - When one of your users connects with another through our SDKs. You can establish the call via either VoIP or PSTN.
95-
- **Group Calls** - When three or more participants connect in a single call. Any combination of VoIP and PSTN-connected users can be on a group call. A one-to-one call can evolve into a group call by adding more participants to the call, and one of these participants can be a bot.
96-
- **Rooms Call** - A Room acts as a container that manages activity between end-users of Azure Communication Services. It provides application developers with enhanced control over who can join a call, when they can meet, and how they collaborate. For a more comprehensive understanding of Rooms, see the [Rooms overview](../concepts/rooms/room-concept.md).
9766

9867
::: zone pivot="platform-web"
9968
[!INCLUDE [Migrating to ACS on WebJS SDK](./includes/twilio-to-acs-video-webjs-tutorial.md)]

articles/connectors/built-in.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ You can use the following built-in connectors to access specific services and sy
194194
[![Azure AI Search icon][azure-ai-search-icon]][azure-ai-search-doc]
195195
\
196196
\
197-
[**Azure API Search**][azure-ai-search-doc]<br>(*Standard workflow only*)
197+
[**Azure AI Search**][azure-ai-search-doc]<br>(*Standard workflow only*)
198198
\
199199
\
200200
Connect to AI Search so that you can perform document indexing and search operations in your workflow.

articles/machine-learning/how-to-configure-environment.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: roastala
88
ms.service: machine-learning
99
ms.subservice: core
1010
ms.reviewer: larryfr, mattmcinnes
11-
ms.date: 04/25/2023
11+
ms.date: 04/08/2024
1212
ms.topic: how-to
1313
ms.custom: devx-track-python, devx-track-azurecli, py-fresh-zinc
1414
---
@@ -69,17 +69,17 @@ Create a workspace configuration file in one of the following methods:
6969
[!INCLUDE [sdk v2](includes/machine-learning-sdk-v2.md)]
7070

7171
```python
72-
#import required libraries
73-
from azure.ai.ml import MLClient
74-
from azure.identity import DefaultAzureCredential
75-
76-
#Enter details of your Azure Machine Learning workspace
77-
subscription_id = '<SUBSCRIPTION_ID>'
78-
resource_group = '<RESOURCE_GROUP>'
79-
workspace = '<AZUREML_WORKSPACE_NAME>'
80-
81-
#connect to the workspace
82-
ml_client = MLClient(DefaultAzureCredential(), subscription_id, resource_group, workspace)
72+
#import required libraries
73+
from azure.ai.ml import MLClient
74+
from azure.identity import DefaultAzureCredential
75+
76+
#Enter details of your Azure Machine Learning workspace
77+
subscription_id = '<SUBSCRIPTION_ID>'
78+
resource_group = '<RESOURCE_GROUP>'
79+
workspace = '<AZUREML_WORKSPACE_NAME>'
80+
81+
#connect to the workspace
82+
ml_client = MLClient(DefaultAzureCredential(), subscription_id, resource_group, workspace)
8383
```
8484

8585
## Local computer or remote VM environment

0 commit comments

Comments
 (0)