interoperability and the sql platform abstraction layer · windows subsystem for linux (wsl) modern...

20

Upload: others

Post on 15-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,
Page 2: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

Interoperability and the SQL Platform Abstraction Layer

Argenis Fernandez

Principal Program Manager, Azure Data

Page 3: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

Agenda

议程安排

1. In The Beginning, There Was

Drawbridge

2. Enter SQL Server

3. Into Big Data Clusters, Azure

Arc, and Beyond

4. The Interop Story for SQLPAL

Page 4: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

In The Beginning, There Was Drawbridge

Page 5: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

Pico Processes in Context

Page 6: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

• NT process with modified service handler• All 1200+ system calls blocked from user-mode (NTOS and win32k)

• Enforced by 35-line change to KiSystemServiceHandler

• No perf impact to other processes—leverages “slow path” used by UMS

• 50 new system calls added to process (Drawbridge system calls)• Even hard-coded traps can’t break out

Page 7: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

Microsoft Products Built on Drawbridge’s Legacy

▅ SQL Server on Linux (SQLPAL)

▅ Windows Subsystem for Linux (WSL)

▅ Modern Windows CE (CEPAL)

Page 8: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

Enter SQL Server

Page 9: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

Host Extension

ABI (Memory, Scheduling, Synchronization, I/O)

Storage

Manager

Network

Manager

Resource

Manager

Process

ManagerSecurity

Manager

Availability

Manager

Config.

Manager

Hosted Windows APIs

SQL Server

Platform-Optimized APIs

Page 10: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

SQL Server on Linux: A Story in 4 Numbers

5 3 24 20Estimated number

of years to port SQL Server to Linux natively

Weeks to working prototype using

SQLPAL

Months to release, including support

for containers

Million Docker container pulls

Page 11: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

Using SQLPAL, SQL Server Went From...

Only on Virtual Machines

Page 12: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

On both virtual machines and containers

To Being Available Across ALL Of These

Page 13: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,
Page 14: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

SQL Server on Linux: Highlights ▪ Linux experience end-to-end

▪ Runs under systemd

▪ Supports EXT4, XFS and NFS v4.2

▪ Performance on par with Windows

▪ All editions available from a single

download, including our FREE

Developer Edition

Page 15: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

Into Big Data Clusters, Azure Arc, and Beyond

Page 16: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,

After SQL Server on Linux Was Released ▅ Cognitive Services

▅ Speech Server

▅ Azure SQL Database Edge

▅ Big Data Clusters

▅ Azure Arc (Azure Data Services

Anywhere)

▅ Stuff we can’t tell you about yet

Page 17: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,
Page 18: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,
Page 19: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,
Page 20: Interoperability and the SQL Platform Abstraction Layer · Windows Subsystem for Linux (WSL) Modern Windows CE (CEPAL) Enter SQL Server. Host Extension ABI (Memory, Scheduling, Synchronization,