+ All Categories
Home > Technology > Codecamp Iasi 7 mai 2011 Exception tail.com

Codecamp Iasi 7 mai 2011 Exception tail.com

Date post: 25-Jun-2015
Category:
Upload: codecampiasi
View: 803 times
Download: 4 times
Share this document with a friend
Description:
MomngoDb and RabbitMQ in action
Popular Tags:
26
ExceptionTail.com - MongoDB and RabbitMQ in action Vlad Bălan, Sorin Oboroceanu Twitter: @cybyvlad, @sorinoboroceanu RomSoft, www.rms.ro www.exceptiontail.com , @exceptiontail Iași, 7 th of May 2011
Transcript
Page 1: Codecamp Iasi 7 mai 2011 Exception tail.com

ExceptionTail.com - MongoDB and RabbitMQ in actionVlad Bălan, Sorin OboroceanuTwitter: @cybyvlad, @sorinoboroceanuRomSoft, www.rms.rowww.exceptiontail.com, @exceptiontail

Iași, 7th of May 2011

Page 2: Codecamp Iasi 7 mai 2011 Exception tail.com

Agenda

How we started Demo Architecture Demo

Page 3: Codecamp Iasi 7 mai 2011 Exception tail.com

How we startedLife and the way it works…

Page 4: Codecamp Iasi 7 mai 2011 Exception tail.com

How we startedWhat we usually work with @work

We needed to look on the dark side(Linux stuff) NOSQL? ASP.NET MVC 3 ThreadTail - analytics engine Smaller events-based project

Page 5: Codecamp Iasi 7 mai 2011 Exception tail.com

The Microsoft stack

Page 6: Codecamp Iasi 7 mai 2011 Exception tail.com

How we started What we usually work with @work

We wanted to look on the dark side(Linux stuff)

NOSQL? ThreadTail - analytics engine Smaller events-based project

Page 7: Codecamp Iasi 7 mai 2011 Exception tail.com

NOSQL CouchDB Hadoop RavenDB Cassandra MongoDB etc.

Page 8: Codecamp Iasi 7 mai 2011 Exception tail.com

How we started What we usually work with @work We wanted to look on the dark side(Linux stuff) NOSQL?

ThreadTail - analytics engine Smaller events-based project

Page 9: Codecamp Iasi 7 mai 2011 Exception tail.com

github.com/cybyvlad

Page 10: Codecamp Iasi 7 mai 2011 Exception tail.com

How we started What we usually work with @work We wanted to look on the dark side(Linux stuff) NOSQL? ThreadTail - analytics engine

Smaller events-based project

Page 11: Codecamp Iasi 7 mai 2011 Exception tail.com

Error reporting at its best

Page 12: Codecamp Iasi 7 mai 2011 Exception tail.com
Page 13: Codecamp Iasi 7 mai 2011 Exception tail.com

Exception flow

App

oops

User

Page 14: Codecamp Iasi 7 mai 2011 Exception tail.com

Demo

Page 15: Codecamp Iasi 7 mai 2011 Exception tail.com

Architecture of ExceptionTail.com

When simple doesn't cut it

Page 16: Codecamp Iasi 7 mai 2011 Exception tail.com

Default architecture of an web application

App

App

App

Web Server SQL Server

Performance Bottleneck: Too much load!

Page 17: Codecamp Iasi 7 mai 2011 Exception tail.com

App

App

App Web Server SQL Server…Performance Bottleneck:

Too much load!

RabbitMQ

Message Processor

Less load!

Report

Architecture using queuing

Page 18: Codecamp Iasi 7 mai 2011 Exception tail.com

Architecture using replication

App

Collection Server

SQL Server Master

Performance Bottleneck: Writes can’t scale!

Reporting Server

SQL Server SlaveSQL Server

SlaveSQL Server Slave

Replication

Scalable Reads!

Queue

Message Processor

SQL Server

Page 19: Codecamp Iasi 7 mai 2011 Exception tail.com

Reporting Server

Architecture using sharding

App SQL Server Master

Performance Bottleneck: Writes can’t scale!

SQL Server SlaveSQL Server

SlaveSQL Server Slave

Replication

Scalable Reads!

SQL Server MasterSQL Server

MasterS

hard

ing

Scalable Writes!

Development Bottleneck: Need to write custom code!

Collection Server

Queue

Message Processor

Sha

rdin

g

Page 20: Codecamp Iasi 7 mai 2011 Exception tail.com

Architecture using MongoDB!

App

Reporting Server

MongoDB

Scalable Writes!

Scalable Reads!

SQL Server Master

SQL Server MasterSQL Server

Master

Collection Server

Queue

Message Processor

Page 21: Codecamp Iasi 7 mai 2011 Exception tail.com

ExceptionTail.com - Final architecture

App

ASP.NET MVC 3

MongoDB

WCF

RabbitMQ

Message Processor

Page 22: Codecamp Iasi 7 mai 2011 Exception tail.com

Architecture of ExceptionTail.com

Default architecture of an web app

Architecture using queuing (RabbitMQ)

Architecture using replication

Architecture using sharding

Final architecture using MongoDB & RabbitMQ

Page 23: Codecamp Iasi 7 mai 2011 Exception tail.com

MongoDB

Demo

Page 24: Codecamp Iasi 7 mai 2011 Exception tail.com

Resources http://www.mongodb.org/ http://www.10gen.com/ http://www.mongovue.com/ http://www.rabbitmq.com/ http://highscalability.com/

Page 25: Codecamp Iasi 7 mai 2011 Exception tail.com

Q&A

Page 26: Codecamp Iasi 7 mai 2011 Exception tail.com

Please fill the evaluation form

Thank you very much!Vlad Bălan, Sorin OboroceanuTwitter: @cybyvlad, @sorinoboroceanuRomSoft, www.rms.rowww.exceptiontail.com, @exceptiontail

Iași, 7th of May 2011


Recommended