Cached Application

Cache-aside in front of the database: hits return fast, misses fall through to the database.

Loading the Design Lab…

Try this

  • · Lower the cache hit ratio and watch database connections fill up.
  • · Crash the cache: does the database survive the full read load?

Components

  • · Users (Client)
  • · Load Balancer (Load Balancer)
  • · App 1 (Application Server)
  • · App 2 (Application Server)
  • · Cache (Cache)
  • · Database (Database)