Building Low Cost Scalable Web Applications Tools & Techniques

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

2 comments

Comments 1 - 2 of 2 previous next Post a comment

  • rramesh rramesh 1 month ago
    Thanks Ankurs7. You can also look at my blog www.techmasala.com , where I have posted a whitepaper talking in length on dynamically scaling applications on Amazon EC2 environment.

    Ramesh Rajamani
  • ankurs7 ankurs7 1 month ago
    thtat's useful. i would like to get some more insight in developing low cost scalable systems. thanks ramesh.
Post a comment
Embed Video
Edit your comment Cancel

3 Favorites

Building Low Cost Scalable Web Applications Tools & Techniques - Presentation Transcript

  1. Building Low Cost Scalable Web Applications - Tools & Techniques Ramesh Rajamani Compassites Software Solutions, Bangalore Barcamp, Hyderabad 16 th February 2008
  2. Needs
    • Scale seamlessly
      • High Performance
      • Unlimited storage expansion
      • Reduce Network Latency
        • Direct the user to nearest server
    • Scale out, no Scale in
    • Sweet spot: Low Cost, High Performance, Scaleable
  3. First & Foremost
    • Operating System makes a difference
    • Go for a *nix based operating system for your production environment
    • Why?
      • Stability
      • Low Cost of Ownership
      • Better security and resource management
      • Better control
      • Support for languages, tools, frameworks etc.
      • Exception - .Net
  4. Points of Focus
    • Performance
    • Scaling
    • Network
    • Storage & Replication
  5. Performance
    • Identify areas of bottlenecks
    • Example - Huge database reads
      • Cache repeated reads
    • Memory Clustering
      • Use MemCached
        • High-performance, distributed memory object caching system
      • Replicated Hash Table
        • Powerful high performance state replication
      • Java/J2EE - Terracota
        • Virtual Heap
        • POJO clustering
  6. Performance (2)
    • Example 2 - Lot of uploads and downloads
      • You can build a low cost grid computing
      • A simple set of scripts and webservices can do the magic
        • Reference IBM article
      • Amazon Web Services - EC2 and S3 if you want to save some time
    • Database Clustering
      • C-JDBC – Database clustering and replication solution for Java/J2EE Apps
  7. Scaling
    • Look for easy and quick scaling
    • Customers will be happy if you suggest a low cost solution
    • Scale Out Vs Scale In
      • Build a farm of low cost servers
    • Amazon Web Services
      • EC2
        • Elastic Computing
        • Quickly add/remove instances via web service calls
        • Pay for processor/networking per hour
  8. Reduce Latency
    • Global user access?
    • Route the user to the nearest data center
    • Solution - Content Delivery Network (CDN)
      • Globule - CDN module for Apache
    • Low cost solution providers are available
    • Work step by step
    • Key challenge - Replication of information across servers
    • Domain Name mapping across servers
      • Dynamic Domain Mapping
        • EasyDNS
        • EZ- IPUpdate
  9. Storage and Replication
    • Amazon
      • Simple Storage Service (S3)
        • Unlimited storage
        • Transparent Grid computing
        • Not just for file storage but for database as well
    • Replication
      • Database
        • Daffodil Replicator
        • SymmetricDS
      • Document Management
        • Thrudb – Built on top of Facebook’s Thrift framework
    • Scaleable Messaging
      • Spread - Reliable and scalable messaging and group communication
  10. Logical Architecture
  11. Roadblocks
    • Lot of work
      • R&D
      • Proof of Concepts
    • Integration Issues
    • Multiple point of failures
    • Day 1 won't be a perfect world
      • Learn and improvise
    • Mitigation
      • Be visionary
      • Get the business vision
      • Start working early on
      • Risk Management
        • Bottlenecks
        • Point of failures
        • Sizing and Capacity Planning
  12. Q&A
  13. About
    • Blog - TechMasala - http://www.techmasala.com
    • Co-founder and Architect, Compassites Software Solutions, Bangalore - http://www.compassites.net
    • Co-Author - Java Servlet Programming Bible - John Wiley - 2002

rrameshrramesh, 2 years ago

custom

2456 views, 3 favs, 0 embeds more stats

I presented this topic in the Barcamp Hyderabad eve more

More Info

© All Rights Reserved

Go to text version
  • Total Views 2456
    • 2456 on SlideShare
    • 0 from embeds
  • Comments 2
  • Favorites 3
  • Downloads 121
Most viewed embeds

more

All embeds

less

Flagged as inappropriate Flag as inappropriate
Flag as innappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

Categories