RIPEstat Public demo January 24, 2012

18
RIPEstat Public demo January 24, 2012 Vasco Asturiano 1) Introduction 2) New features 3) Demo 4) What’s coming? 5) Feedback

description

 

Transcript of RIPEstat Public demo January 24, 2012

Page 1: RIPEstat Public demo January 24, 2012

RIPEstatPublic demo

January 24, 2012

Vasco Asturiano

1) Introduction2) New features3) Demo4) What’s coming?5) Feedback

Page 2: RIPEstat Public demo January 24, 2012

RIPEstat public demo

RIPEstat Introduction

• Modular & extendable Toolbox

• Single-point to Internet related data

• Work in progress

• Demo new functionality periodically

• We adjust based on usage and feedback

• Get involved2

http://stat.ripe.net

Page 3: RIPEstat Public demo January 24, 2012

RIPEstat public demo

Demo Key Points

•New Widget API

•New Data API

•Web application new architecture

•Performance monitoring and improvements

3

Page 4: RIPEstat Public demo January 24, 2012

RIPEstat public demo

The new Data and Widget APIs

• Data API - Access RIPEstat processed data directly

• Widget API - Embed RIPEstat plugins in your own website

• Bring RIPEstat closer to you

• Better adapted to your own needs

• More customization options

4

Page 5: RIPEstat Public demo January 24, 2012

RIPEstat public demo

New Widget API_Embed RIPEstat widgets into your own webpage!

5

<script src="http://stat.ripe.net/widgets/widget_api.js"></script><div class="statwdgtauto"><script>ripestat.init("as-path-length",{"resource":"AS3333"})

</script></div>

Page 6: RIPEstat Public demo January 24, 2012

RIPEstat public demo

New Widget API

• Embeddable on location in any HTML website

• Purely based on Javascript and HTML(5)

• Data fetched directly from data API via JSON(P)

• Input data configuration defines content

• Customizable layout (visible elements, size)

• Manipulation of the Widget after rendering (reload(), get_data(), etc) via scripting

6

Page 7: RIPEstat Public demo January 24, 2012

RIPEstat public demo

New Widget API

• Work in progress

• But some widgets already available publicly (beta testing)_ whats-my-ip [new]_ network-info [new]_ prefix-overview_ as-overview_ whois_ as-path-length

• http://stat.ripe.net/docs/widget_api

7

Page 8: RIPEstat Public demo January 24, 2012

RIPEstat public demo

New RIPEstat Data API• RESTful interface over HTTP• Can return RIPEstat data in various formats (JSON currently)

- Let us know if you’d like other formats• Used by the Widgets, data is fetched directly by the browser• Simple example:‣ http://stat.ripe.net/plugin/whats-my-ip/data.json

8

{ "cached": false, "data": { "ip": "2001:67c:2e8:13:223:6cff:fe8d:388c" }, "messages": [], "query_id": 11057, "status": "ok", "status_code": 200, "version": "0.1"}

Page 9: RIPEstat Public demo January 24, 2012

RIPEstat public demo

New RIPEstat Data API• Syntax:‣ http://stat.ripe.net/plugin/<pluginname>/data.<format>?<key>=<value>...

‣ http://stat.ripe.net/plugin/announced-prefixes/data.json?resource=AS3333&starttime=2012-01-14T12:00

• Full specification of services and required/optional parameters at:‣ http://stat.ripe.net/docs/data_api

9

{ "data": { "prefixes": [ { "prefix": "193.0.0.0/21", "timelines": [ { "endtime": "2012-01-16T00:00:00", "starttime": "2012-01-14T12:00:00" }, { [...]

Page 10: RIPEstat Public demo January 24, 2012

RIPEstat public demo

Web Application new architecture

10

Javascript Widget APIRESTful data API

routing history plugin

whois plugin

routing history widget

whois widget

Static HTML and JS

Table of Contents

Any HTML elements

• You can build your own web app too!

Page 11: RIPEstat Public demo January 24, 2012

RIPEstat public demo

Web Application new architecture

• During transition period current plugins on http://stat.ripe.net are being progressively replaced by widgets

11

Page 12: RIPEstat Public demo January 24, 2012

RIPEstat public demo

Demo

12

Page 13: RIPEstat Public demo January 24, 2012

RIPEstat public demo

Performance monitoring

• Monitor usage and performance of plugins• Raise understanding of possible performance bottlenecks

13

Page 14: RIPEstat Public demo January 24, 2012

RIPEstat public demo

Performance monitoring

• Monitor usage and performance of plugins• Raise understanding of possible performance bottlenecks

14

Page 15: RIPEstat Public demo January 24, 2012

RIPEstat public demo

Performance Improvement - Backend migration

• Several plugins migrated to a new backend data cluster_ BGP Update history_ AS Path Length_ Routing Consistency

• Significant performance improvement!

15

Page 16: RIPEstat Public demo January 24, 2012

RIPEstat public demo

What’s coming?• Widget API

- Add more widget types to cover existing plugins- Extending functionality of the API

• Data API- Add more services to cover existing plugins- Services based on new backend data (such as RIPE Atlas)- Backend performance improvements

• Plugins- Extend existing with more detail (history, granularity, etc)- IPv6 capability per AS - based on APNIC data- AS Routing Consistency

16

Page 17: RIPEstat Public demo January 24, 2012

• Play with it: _http://stat.ripe.net/_http://stat.ripe.net/docs/widget_api/_http://stat.ripe.net/docs/data_api/

• Feedback_ Comments - on the website_ Measurement, Analysis and Tools working group

_ Homepage: http://www.ripe.net/ripe/wg/mat/_ E-mail: [email protected]

_ Private feedback - [email protected]_ #ripestat on twitter

RIPEstat public demo

Feedback

17

Page 18: RIPEstat Public demo January 24, 2012

The EndThe next RIPEstat public demo is on:Tuesday, February 21, 2012

This session and the slides will be archived on RIPE labs:http://labs.ripe.net/

See previous demos and other videos on:http://www.youtube.com/user/RIPENCC/