open source networking

26
Open Source Networking Wikia Inc / O’Reilly Radar http://radar.oreilly.com/

Upload: artur-bergman

Post on 14-Dec-2014

1.517 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Open Source Networking

Open Source Networking

Wikia Inc / O’Reilly Radar

http://radar.oreilly.com/

Page 2: Open Source Networking

Linksys WRT54GL

Page 3: Open Source Networking

Linksys WRT54GL

• Wireless

• 5 port vlan capable switch

• Programmable CPU

• Basic home networking

Page 4: Open Source Networking

OpenWRT

• Linux for embedded devices

• Networked devices

• Flash the Linksys with it

• http://openwrt.org/

Page 5: Open Source Networking

OpenWRT

• DHCP

• VLAN

• Bridging

• PPPoE (PPPoA)

Page 6: Open Source Networking

OpenWRT

• QoS

• OSPF

• BGP

• NIDS

• SSL Tunnel

• OpenVPN

Page 7: Open Source Networking

There is more

• IPSec

• LDAP Server

• VOIP (Asterisk)

• Radius

• Tor

Page 8: Open Source Networking

TCPDUMP

Page 9: Open Source Networking

Open source

• Drastically enhances functionality

• Flexibility

• Extensibility

• $50 of hardware

Page 10: Open Source Networking

Wikia Inc

• Host wikis– Second largest wiki in the world – World of Warcraft wiki– 7000 other on wide range of topics

• All under Free Content Licenses

• Open source search project– Crawl the web and give it away

Page 11: Open Source Networking

Core principles

• Commodity solutions• Open source everything• Multiple redundant datacenters

– Anycast

• No single points of failure• Aim of 99.9% availability

Page 12: Open Source Networking

Standardized racks

• Virtualized– For power saving

• 3 Classes of hardware– Web/App servers– DB servers– File servers

Page 13: Open Source Networking

Linux loadbalancers

• Linux Virtual Server

• Direct Server Response

• Full High Availability with transparent failover

• Super simple

Page 14: Open Source Networking

Advantages

• Cheap• Standard hardware• Simple

– No app logic in the biggest potential bottleneck

• Runs on two virtualized images on two different pieces of hardware

Page 15: Open Source Networking

Virtualized images

• Each datacenter has 2 network boxes– 8 cores low voltage 16 GB of RAM

• Dedicated cores for– L4 loadbalancing– L7 loadbalancing (squid, varnish)– Network monitoring

Page 16: Open Source Networking

Hunt for power

• Single CPU bad

• Multi core good

• Blades better

Page 17: Open Source Networking

Our routers

• Vyatta• Installed in pairs• Non virtualized because of latency under

heavy load• Still our standard class of hardware

– If they break, we have spares

• Can run as blades – 0.7 amps

Page 18: Open Source Networking

Ganglia

Page 19: Open Source Networking

Ganglia

Page 20: Open Source Networking

Argus

• Network Monitor

• Stream analysis

• Used on all hosts

Page 21: Open Source Networking

Argus

Page 22: Open Source Networking
Page 23: Open Source Networking

Our routers

• Ganglia installed

• Argus installed

• Don’t tell our vendor

Page 24: Open Source Networking

Benefits

• Fits into our standard model– Hardware– Software

• All operation engineers can monitor them• Most can troubleshoot the less complex

issues• Still need a wizard for BGP

Page 25: Open Source Networking

Thank you

Wikia Inc

Page 26: Open Source Networking

Links

• http://ganglia.sourceforge.net/• http://qosient.com/argus/• http://www.linuxvirtualserver.org/• http://www.vyatta.org/• http://openwrt.org/