Edge

47
EDGE http://instagram.com/p/l_BZUkBlCs / (James L Kingston

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

Page 1: Edge

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

Page 2: Edge

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

“I should be tweeting"

Page 3: Edge

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

Page 4: Edge

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

Page 5: Edge

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

?!?!?!?!?!?

Page 6: Edge

Port to Javascript?

Page 7: Edge

Write a native module?

Page 8: Edge

Standup a service?

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

Page 9: Edge

ORlive on the edge

Page 10: Edge

https://twitter.com/tjanczuk

http://github.com/tjanczuk

Tomasz Janczuk

Page 11: Edge
Page 12: Edge

Edge in Mathematics

12

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

plane

planeedge

Page 13: Edge

Edge in Nodematics

13

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

node

.netedge

Page 14: Edge
Page 15: Edge

Edge 101

Page 16: Edge

What is edge?

16

Allows node to call .NET

node .net

Page 17: Edge

17

Allows .net to call back node

node .net

Page 18: Edge

18

Supports multiple languages

C# IronPython F# Powershell

Page 19: Edge

19

In the same process!

node .net

Page 20: Edge

20

In a non-blocking fashion

Page 21: Edge

Hello edge

Page 22: Edge

Loading scripts

Page 23: Edge

Loading dlls

Page 24: Edge

Passing data objects

Page 25: Edge

Passing functions

Page 26: Edge

Passing instances

Page 27: Edge
Page 28: Edge
Page 29: Edge

More .NET goodness

Page 30: Edge

Windows Event log

Page 31: Edge

Registry

Page 32: Edge

Perf Counters

Page 33: Edge

Accessing X509 cert

store

Page 34: Edge

CallingSOAP Services

Page 35: Edge

ZIP archives

Page 36: Edge

Image conversion

Page 37: Edge

Windows Auth

Page 38: Edge

Extensible via modules

38

Languages are pluggable!

edge

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

Page 39: Edge

SQL

Page 40: Edge

Powershell

Page 41: Edge

scriptcs?

Page 42: Edge

Linux?

42

edge-mono

Page 43: Edge
Page 44: Edge

npm install edge

Page 45: Edge

The codez

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

Page 46: Edge

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

Page 47: Edge

@gblock http://github.com/glennblock

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