2
SQL Server has been around for a few decades and is one of the most stable and widely used relaonal database
management systems (RDBMS) in the market. Just like any other RDBMS, SQL Server encounters performance issues as
the data it stores grows to larger volumes. SQL Server experts recommend performance tuning that includes seng up
the right indices, correctly sizing TEMPDBs and ensuring maximum degrees of parallelism (MAXDOP), as well as properly
conguring virtual machines (VMs), disk IO, main memory, etc.
Even with all of this ne tuning, SQL Server requires a heavy investment in the physical infrastructure in order to perform
a few thousand operaons per second. However, to stay ahead of the compeon, most enterprises need to operate at
the scale of a few million operaons per second with sub millisecond latency. Today’s compeve business environment
also drives companies to innovate and bring new services to market faster than ever before. But they must do so without
aecng any legacy applicaons.
Figure 1. SQL Server has limited opons to scale
How pung Redis in front of SQL Server can help
If you are innovang new soluons, the two most important quesons you face are:
1. How can we scale our applicaons with limited eort and cost?
2. How can we introduce new features, applicaons and soluons faster?
Redis helps you meet both challenges. First, as an extremely lightweight, in-memory database, Redis performs many more
operaons per second (usually in the order of 100-1000 mes more) with fewer computaonal resources. Second, Redis
enables you to get your apps to market faster. Its built-in data structures allow you to store data in whichever format
your program requires. In many cases you can avoid the burden of translang from a nave data structure to a relaonal
database. If you are using Redis as a scaling layer (such as caching), you can insert Redis between your data access layer and
the database without disrupng your program stack.
评论