Edge

Post on 06-May-2015

373 views 7 download

Tags:

description

My edge talk delivered at Dallas Day of .NET 2014. Code is here: https://www.dropbox.com/s/zlerf5v3xty6frz/edge_day_of_dotnet.zip

Transcript of Edge

EDGEhttp://instagram.com/p/l_BZUkBlCs/ (James L Kingston)

https://github.com/glennblockhttps://twitter.com/gblock

“I should be tweeting"

Make machine data accessible, usable and valuable to everyone

Any Machine Data

HA Indexes and Storage

Search and Investigation

Proactive Monitoring

Operational Visibility

Real-time Business Insights

CommodityServers

Online Services Web

Services

ServersSecurity GPS

Location

StorageDesktops

Networks

Packaged Applications

CustomApplicationsMessaging

TelecomsOnline

Shopping Cart

Web Clickstreams

Databases

Energy Meters

Call Detail Records

Smartphones and Devices

RFID

http://www.flickr.com/photos/hometownzero/24989360/

OK you are writing a node app

What do you do if?

You need to leverage capabilities of the underlying OS.You need to perform compute-intensive operationsYou want to leverage 3rd party libraries not available in node?You want to reuse existing internal libraries

?!?!?!?!?!?

Port to Javascript?

Write a native module?

Standup a service?

http://www.flickr.com/photos/91707070@N03/8328791515

ORlive on the edge

https://twitter.com/tjanczuk

http://github.com/tjanczuk

Tomasz Janczuk

Edge in Mathematics

12

"A line or line segment that is the intersection of two plane faces"

plane

planeedge

Edge in Nodematics

13

"A module that is the intersection of node and .NET"

node

.netedge

Edge 101

What is edge?

16

Allows node to call .NET

node .net

17

Allows .net to call back node

node .net

18

Supports multiple languages

C# IronPython F# Powershell

19

In the same process!

node .net

20

In a non-blocking fashion

Hello edge

Loading scripts

Loading dlls

Passing data objects

Passing functions

Passing instances

More .NET goodness

Windows Event log

Registry

Perf Counters

Accessing X509 cert

store

CallingSOAP Services

ZIP archives

Image conversion

Windows Auth

Extensible via modules

38

Languages are pluggable!

edge

edge-sql edge-py edge-ps edge-fs

SQL

Powershell

scriptcs?

Linux?

42

edge-mono

npm install edge

The codez

https://www.dropbox.com/s/zlerf5v3xty6frz/edge_day_of_dotnet.zip

Linkshttp://github.com/tjanczuk/edgehttp://github.com/dfinked/edge-pshttp://github.com/gblock/edge-scs

@gblock http://github.com/glennblock

http://www.flickr.com/photos/11812960@N04/4050576435