Codecamp Iasi 7 mai 2011 Exception tail.com

969 views

Published on

MomngoDb and RabbitMQ in action

  • Be the first to comment

  • Be the first to like this

Codecamp Iasi 7 mai 2011 Exception tail.com

  1. 1. ExceptionTail.com - MongoDB and RabbitMQ in action<br />Vlad Bălan, SorinOboroceanu<br />Twitter: @cybyvlad, @sorinoboroceanu<br />RomSoft, www.rms.ro<br />www.exceptiontail.com, @exceptiontail<br />Iași, 7th of May 2011<br />
  2. 2. Agenda<br />How we started<br />Demo<br />Architecture<br />Demo<br />
  3. 3. How we started<br />Life and the way it works…<br />
  4. 4. How we started<br />What we usually work with @work<br />We needed to look on the dark side(Linux stuff)<br />NOSQL?<br />ASP.NET MVC 3<br />ThreadTail - analytics engine<br />Smaller events-based project<br />
  5. 5. The Microsoft stack<br />
  6. 6. How we started<br />What we usually work with @work<br />We wanted to look on the dark side(Linux stuff)<br />NOSQL?<br />ThreadTail - analytics engine<br />Smaller events-based project<br />
  7. 7. NOSQL<br />CouchDB<br />Hadoop<br />RavenDB<br />Cassandra<br />MongoDB<br />etc.<br />
  8. 8. How we started<br />What we usually work with @work<br />We wanted to look on the dark side(Linux stuff)<br />NOSQL?<br />ThreadTail - analytics engine<br />Smaller events-based project<br />
  9. 9. github.com/cybyvlad<br />
  10. 10. How we started<br />What we usually work with @work<br />We wanted to look on the dark side(Linux stuff)<br />NOSQL?<br />ThreadTail - analytics engine<br />Smaller events-based project<br />
  11. 11. Error reporting at its best<br />
  12. 12.
  13. 13. Exception flow<br />oops<br />App<br />User<br />
  14. 14. Demo<br />
  15. 15. Architecture of ExceptionTail.com<br />When simple doesn't cut it<br />
  16. 16. Default architecture of an web application<br />App<br />App<br />…<br />App<br />SQL Server<br />Web Server<br />Performance Bottleneck: Too much load!<br />
  17. 17. Architecture using queuing<br />Less load!<br />App<br />App<br />SQL Server<br />Web Server<br />…<br />Report<br />App<br />RabbitMQ<br />Performance Bottleneck: Too much load!<br />Message Processor<br />
  18. 18. Architecture using replication<br />Performance Bottleneck: Writes can’t scale!<br />Collection Server<br />SQL Server Master<br />Queue<br />SQL Server<br />App<br />Message Processor<br />Replication<br />SQL Server Slave<br />SQL Server Slave<br />SQL Server Slave<br />Reporting Server<br />Scalable Reads!<br />
  19. 19. Architecture using sharding<br />Performance Bottleneck: Writes can’t scale!<br />Scalable Writes!<br />Collection Server<br />SQL Server Master<br />SQL Server Master<br />Queue<br />SQL Server Master<br />App<br />Sharding<br />Message Processor<br />Replication<br />SQL Server Slave<br />SQL Server Slave<br />SQL Server Slave<br />Sharding<br />Reporting Server<br />Scalable Reads!<br />DevelopmentBottleneck: Need to write custom code!<br />
  20. 20. Architecture using MongoDB!<br />Scalable Writes!<br />Collection Server<br />App<br />SQL Server Master<br />SQL Server Master<br />Queue<br />SQL Server Master<br />Message Processor<br />MongoDB<br />Reporting Server<br />Scalable Reads!<br />
  21. 21. ExceptionTail.com - Final architecture<br />WCF<br />App<br />RabbitMQ<br />Message Processor<br />MongoDB<br />ASP.NET MVC 3<br />
  22. 22. Architecture of ExceptionTail.com<br /><ul><li>Final architecture using MongoDB & RabbitMQ
  23. 23. Architecture using sharding
  24. 24. Architecture using replication
  25. 25. Architecture using queuing (RabbitMQ)</li></ul>Default architecture of an web app<br />
  26. 26. MongoDB<br />Demo<br />
  27. 27. Resources<br />http://www.mongodb.org/<br />http://www.10gen.com/<br />http://www.mongovue.com/<br />http://www.rabbitmq.com/<br />http://highscalability.com/<br />
  28. 28. Q&A<br />
  29. 29. Please fill the evaluation formThank you very much!<br />Vlad Bălan, SorinOboroceanu<br />Twitter: @cybyvlad, @sorinoboroceanu<br />RomSoft, www.rms.ro<br />www.exceptiontail.com, @exceptiontail<br />Iași, 7th of May 2011<br />

×