Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
sg247887.pdf
Скачиваний:
15
Добавлен:
01.03.2016
Размер:
4.45 Mб
Скачать

3.7 Enterprise infrastructure effects of the solidDB Universal Cache

This section describes how the introduction of the cache into an existing environment can lead to efficiencies in various infrastructure components within the existing IT assets of an enterprise. The infrastructure pain points described in this section can also be used as a guide to differentiate between new product development using cache architecture and more traditional database patterns.

The general pattern for the discussion is the comparison between an existing application where the database tier resides on a distinct hardware component accessed through the enterprise network infrastructure and a solidDB Universal Cache setup where a subset of the data required by the application is cached and collocated with the application.

3.7.1 Network latency and traffic

The existence of a cache can lead to the reduction of the network traffic between the application and the remote back-end database machine. This way has the dual advantage of both reducing the load on the network (and thus the overall load on the enterprise network assets) and reducing the overall latency of the database operations through the elimination of the network hop required by a more traditional architecture.

Two facets must be considered when you decide what type of data should reside in the cache:

Consider the volume of data to be transported over the network and if the network has the capacity to efficiently transport this data. Most commonly, if the application can make use of an operational (or hot) data set that is a subset of the overall data, this case leads to a reduction on the throughput load on the network.

If the application is sensitive to database operation latency, it is appropriate to cache the data that corresponds to the sensitive operations. In such a case, the amount of individual operations going across the network is reduced which leads to the reduction in the dependence of the application on the consistent response of the network.

3.7.2Back-end machine load

The cost of hardware used to host enterprise database systems can be high in both capital and operation terms. If you remove the load from the back-end machine through the use of solidDB Universal Cache by handling database

Chapter 3. IBM solidDB Universal Cache details 65

queries in the application tier, you are both delaying the need for an enterprise to upgrade or replace existing hardware infrastructure, and also reducing the operation expense of such systems, thus reducing the overall cost to an enterprise of an application.

By taking away CPU cycles from the back-end hardware, you can free hardware resources for use by other applications, whether resident on the machine or simply using the shared back-end database. Again, upgrades can be temporally delayed to some time in the future. The trade-off is the possible reallocation of hardware resources or funding to the front end or application tier; however, such hardware is typically commodity-based and less expensive in nature. Primarily, the hardware enhancements on the front end require increase of main memory, which is becoming progressively less expensive over time, particularly on commodity hardware.

3.7.3 Database operation execution

In this section, we consider two facets of the introduction of a cache database:

The reduction of the latency of database operations

The increased availability of enterprise database resources to other applications within the enterprise.

The response time of a database operation is defined as the round-trip time required to return a result to an application. The introduction of solidDB Universal Cache to the application tier of the enterprise can have two advantages:

The database response time itself can be improved

The transport layer between the application tier hardware and the back-end database hardware can be the eliminated.

The result of these advantages has the effect of accelerating the application through the raw speedup in response times.

Through the elimination of a percentage of database operations and interactions from the back-end database, the resources available to the back-end database can be substantially increased, which in turn leads to improvements in the availability and response time of the database to other applications using the database resource.

However, consider that existing disk-based enterprise databases are better suited to certain database operations than solidDB would be, such as queries with large result sets. This consideration is important when trying to quantify the benefit that solidDB Universal Cache can have on the increased availability of the back-end database to the enterprise.

66 IBM solidDB: Delivering Data with Extreme Speed

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]