+ All Categories
Home > Technology > ExceptionTail.com - MongoDB and RabbitMQ in action

ExceptionTail.com - MongoDB and RabbitMQ in action

Date post: 28-Jun-2015
Category:
Upload: sorin-oboroceanu
View: 444 times
Download: 1 times
Share this document with a friend
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: ExceptionTail.com - MongoDB and RabbitMQ in action

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: ExceptionTail.com - MongoDB and RabbitMQ in action

Agenda

How we started Demo Architecture Demo

Page 3: ExceptionTail.com - MongoDB and RabbitMQ in action

How we startedLife and the way it works…

Page 4: ExceptionTail.com - MongoDB and RabbitMQ in action

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: ExceptionTail.com - MongoDB and RabbitMQ in action

The Microsoft stack

Page 6: ExceptionTail.com - MongoDB and RabbitMQ in action

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: ExceptionTail.com - MongoDB and RabbitMQ in action

NOSQL CouchDB Hadoop RavenDB Cassandra MongoDB etc.

Page 8: ExceptionTail.com - MongoDB and RabbitMQ in action

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: ExceptionTail.com - MongoDB and RabbitMQ in action

github.com/cybyvlad

Page 10: ExceptionTail.com - MongoDB and RabbitMQ in action

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: ExceptionTail.com - MongoDB and RabbitMQ in action

Error reporting at its best

Page 12: ExceptionTail.com - MongoDB and RabbitMQ in action
Page 13: ExceptionTail.com - MongoDB and RabbitMQ in action

Exception flow

App

oops

User

Page 14: ExceptionTail.com - MongoDB and RabbitMQ in action

Demo

Page 15: ExceptionTail.com - MongoDB and RabbitMQ in action

Architecture of ExceptionTail.com

When simple doesn't cut it

Page 16: ExceptionTail.com - MongoDB and RabbitMQ in action

Default architecture of an web application

App

App

App

Web Server SQL Server

Performance Bottleneck: Too much load!

Page 17: ExceptionTail.com - MongoDB and RabbitMQ in action

App

App

App Web Server SQL Server…Performance Bottleneck:

Too much load!

RabbitMQ

Message Processor

Less load!

Report

Architecture using queuing

Page 18: ExceptionTail.com - MongoDB and RabbitMQ in action

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: ExceptionTail.com - MongoDB and RabbitMQ in action

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: ExceptionTail.com - MongoDB and RabbitMQ in action

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: ExceptionTail.com - MongoDB and RabbitMQ in action

ExceptionTail.com - Final architecture

App

ASP.NET MVC 3

MongoDB

WCF

RabbitMQ

Message Processor

Page 22: ExceptionTail.com - MongoDB and RabbitMQ in action

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: ExceptionTail.com - MongoDB and RabbitMQ in action

MongoDB

Demo

Page 24: ExceptionTail.com - MongoDB and RabbitMQ in action

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

Page 25: ExceptionTail.com - MongoDB and RabbitMQ in action

Q&A

Page 26: ExceptionTail.com - MongoDB and RabbitMQ in action

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