• Contact Us
  • Support
  • Questions? Contact Us Today: 617.630.2800
  • Follow us on Twitter
  • Join our Facebook Group
  • Find us on LinkedIn
  • Subscribe to our RSS Feed
  • Search Site

  • Solutions
    • By Use Case
    • By Industry
    • By Delivery Model
  • Product
    • Product Architecture
    • Scale Out via Data Distribution
    • Scale Out via Read/Write Splitting
    • Data Traffic Management
    • Availability
    • Key Features / Benefits
    • Easing Capacity Planning
    • What is Database Sharding?
  • Resources
    • Datasheets
    • Case Studies
    • Whitepapers
    • Webinars
    • Videos
    • Scale Out Readiness Calculator
    • Database Assessment
    • Benchmark
    • Frequently Asked Questions
    • Documentation
  • Blogs
    • ScaleBase Blog
    • CTO Blog
  • Company
    • Customers
    • Management
    • News
      • Press Releases
      • Coverage
      • Events
    • Partners
    • Investors
    • Careers
    • Contact Us

You are here: ScaleBase / Tag: MySQL Clustering

Tag Archive for: MySQL Clustering

MySQL Clustering

24 Oct 2010 / 0 Comments / in Architecture, Blog, Performance, ScaleBase/by scalebase

As you can probably guess, we get many requests for information on how to use caching along with ScaleBase. Well, the answer is very simple – always cache.
This, of course, is not a sufficient answer.
The real question is the architecture of the application, and where the caching layers needs to be implemented.
Consider the following architecture:
MySQL Clustering
This is a really basic architecture, and most applications usually start with something similar. Some logic runs on the browser side (mainly AJAX code, but some UI logic does as well). The Apache layer runs your code (for PHP, and just translates Apache to App Server in Java, IIS in .NET and so on). The MySQL server serves as your database.
However, this solution does not deliver stellar performance. Why? Because, we have not implemented any caching layer. So let’s add it.
MySQL Clustering
This solution can improve performance, but prompts new questions, such as when to use the cache and when to read directly from the database. While this is a simple problem to solve in a standalone machine (all reads are done through the cache, writes occur at the database and the write action also invalidates the relevant area of the cache), it is very difficult to implement with MySQL Clustering. For distributed cache solutions you can check GigaSpaces XTP or Oracle Coherence, and of course – Memcached.
Even when using caching, the database can become a bottleneck, and MySQL Clustering is not enough. This is where ScaleBase comes in. Consider the following architecture –
MySQL Clustering
Now the same business logic can enjoy both a scalable caching infrastructure, and a scalable database infrastructure, to be used for massive writes or reads situations. Do note however, that ScaleBase itself, because of the data splitting that occurs on the database layer, can speed up the performance of writes and most read operations. That said – it does not replace your caching layer in any way.
To summarize, you can add caching to your application when using ScaleBase. We even strongly recommend it. Just make sure to choose a caching layer that scales well ; otherwise, your scaling problems will move – from the database tier, to the caching tier.

Subscribe to Blog


 

Tweet
database assessment
Popular
  • Can Prepared Statements Improve Your Scalability?May 23, 2011, 5:57 pm
  • MemoryImageSeptember 6, 2011, 10:33 am
  • Backing Up MySQL With ScaleBaseSeptember 12, 2011, 8:34 am
  • Running TPC-C on MySQL/RDSJune 15, 2011, 8:45 pm
Recent
  • ScaleBase presents a Webinar on how to Optimize MySQL Scalability...May 19, 2013, 3:30 pm
  • MySQL Sharding Blog Series: Does Sharding Make Sense on...May 16, 2013, 10:03 am
  • MySQL Sharding Blog Series: Does Sharding Work in the Cloud?May 13, 2013, 9:45 am
  • MySQL Sharding Blog Series: How to Avoid Re-writing ApplicationsMay 6, 2013, 11:54 am
Comments
  • [...] business model, and a strong executive. Scalebase,...February 4, 1:49 am by The Investing Edge of Enterprise IT
  • [...] Recently some customers running on Amazon EC2 asked...December 28, 3:27 pm by High Availability for your ScaleBase instance | MySQL | Syngu
  • [...] ScaleBase Releases Database TPC-C Performance Results...December 12, 2:29 pm by ScaleBase achieves 180K NO-TPM TPCC results on... | MySQL | Syngu
  • Hi Milo - I totally agree. You need to understand how you're...September 6, 10:33 am by liran
Tags
Amazon RDS application re-write Big Data Funding cloud sharding Database Availability database capacity database cloud database scalability database scalability strategy database sharding database virtualization data traffic manager Elastic Load Balancing Hadoop high availability Industry News MySQL MySQL 5.6 MySQL Clustering MySQL Scalability MySQL Scalability Issues MySQL scale out MySQL Sharding MySQL Tuning NewSQL next gen apps NOSQL scalability of databases Sharding single point of failure thread pool

Recent Comments

  • The Investing Edge of Enterprise IT on Management
  • High Availability for your ScaleBase instance | MySQL | Syngu on High Availability for your ScaleBase instance

Solutions

  • Solutions
    • Centralized Database Management & Visibility
    • Scalability
    • Database Availability
    • Delivery Models
    • Industry Solutions

Products

  • Product Overview
    • Product Architecture
    • Scale Out via Data Distribution
    • Scale Out via Read/Write Splitting
    • Data Traffic Management
    • Availability
    • Key Features / Benefits
    • Easing Capacity Planning
    • Database Sharding

Resources

  • Datasheets
  • Case Studies
  • Whitepapers
  • Webinars
  • Videos
  • Scale Out Readiness Calculator
  • Benchmark
  • Frequently Asked Questions
  • Documentation
  • Database Assessment

Company

  • Company
    • Customers
    • Management
    • News
    • Partners
    • Investors
    • Careers
© 2012 Scalebase Inc.

  • |Home
  • |Sitemap
  • |Privacy Policy
  • |Contact Us
  • |Blog