CN106341402B - Treating method and apparatus based on multi rack structure distributed caching - Google Patents

Treating method and apparatus based on multi rack structure distributed caching Download PDF

Info

Publication number
CN106341402B
CN106341402B CN201610787071.XA CN201610787071A CN106341402B CN 106341402 B CN106341402 B CN 106341402B CN 201610787071 A CN201610787071 A CN 201610787071A CN 106341402 B CN106341402 B CN 106341402B
Authority
CN
China
Prior art keywords
application system
cached
configuration information
caching
cache
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610787071.XA
Other languages
Chinese (zh)
Other versions
CN106341402A (en
Inventor
陈卓
刘振昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Minsheng Banking Corp Ltd
Original Assignee
China Minsheng Banking Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Minsheng Banking Corp Ltd filed Critical China Minsheng Banking Corp Ltd
Priority to CN201610787071.XA priority Critical patent/CN106341402B/en
Publication of CN106341402A publication Critical patent/CN106341402A/en
Application granted granted Critical
Publication of CN106341402B publication Critical patent/CN106341402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The present invention provides a kind for the treatment of method and apparatus based on multi rack structure distributed caching, wherein this method comprises: when the application system starts up, obtaining and saving the cached configuration information in configuration center;According to cached configuration information, it is adapted to out client instance corresponding with current application system;According to cached configuration information and client instance corresponding with current application system, obtain data cached;Current application system banner is added in the data cached key assignments that will acquire, so that each application system shares same cache cluster.Realize the O&M cost for reducing caching;Allow and partly or completely share same set of cache resources using the application system of same buffered product, identical version, to realize that the maximum of hardware resource utilizes.

Description

Treating method and apparatus based on multi rack structure distributed caching
Technical field
The present invention relates to Internet technical field more particularly to a kind of processing method based on multi rack structure distributed caching and Device.
Background technique
With the development of internet technology, when all kinds of websites and database face large-scale data access, disk I/O often becomes performance bottleneck, so as to cause excessively high operating lag.So as to use caching technology, made with high-speed internal memory For the storage medium of data object, the response of request of data before terminal point is placed on cache server, thus when terminal is sent out Out when identical request of data, do not need for the request of data to be sent to data server again, but by buffer service The copy response that device is cached sends user, and then reduces magnetic disc i/o bring bottleneck.
In the prior art, an enterprise possesses tens even several hundred different application systems, enterprises and can generally purchase Several families even tens different IT service suppliers, the used caching product of different suppliers and specific deployment scheme have Distinguished, for example, common cache cluster have Codis-Redis cache cluster, Twemproxy-Memcacheds cache cluster, Redis-Cluster cache cluster and node cluster.It is obtained to carry out the respective caching of different application systems.
However in the prior art, the cache structure as used by different suppliers, caching product do not carry out unification Planning and deployment, each application system needs to build oneself independent cache module, then results in repeated construction, to increase The O&M cost of caching;Also, the area version Ye You of caching product difference, like products selected by each IT service supplier Not, so that enterprise effectively can not be managed collectively and be planned for caching, hardware resource can not be made full use of.
Summary of the invention
The present invention provides a kind for the treatment of method and apparatus based on multi rack structure distributed caching, to solve in the prior art The O&M cost of caching is higher, enterprise can not for caching be effectively managed collectively and be planned, can not to hardware resource into The problem of row makes full use of.
It is an aspect of the present invention to provide a kind of processing methods based on multi rack structure distributed caching, comprising:
When the application system starts up, obtain and save the cached configuration information in configuration center, the cached configuration information Including current application system banner;
According to the cached configuration information, it is adapted to out client instance corresponding with current application system;
According to the cached configuration information and client instance corresponding with current application system, obtain data cached;
In the data cached key assignments that will acquire add current application system banner so that each application system share it is same Cache cluster.
Another aspect of the present invention is to provide a kind of processing unit based on multi rack structure distributed caching, comprising:
First obtains module, for when the application system starts up, obtaining and saving the cached configuration information in configuration center, The cached configuration information includes current application system banner;
Determining module, for it is real to be adapted to out client corresponding with current application system according to the cached configuration information Example;
Caching obtains module, for according to the cached configuration information and client corresponding with current application system Example obtains data cached;
Adding module adds current application system banner in the data cached key assignments for will acquire, so as to respectively answer Same cache cluster is shared with system.
The solution have the advantages that: matched by when the application system starts up, obtaining and saving the caching in configuration center Confidence breath, cached configuration information includes current application system banner;According to cached configuration information, it is adapted to out and current application system Corresponding client instance;According to cached configuration information and client instance corresponding with current application system, caching is obtained Data;Current application system banner is added in the data cached key assignments that will acquire, so that each application system shares same delay Deposit cluster.The information such as type are realized to which application system only needs to configure caching product type, version, interface, can be adapted to It without being concerned about backstage caching deployment way, and then is reduced slow to suitable cache client by client call buffer service The O&M cost deposited;Meanwhile by simple client instance interface encapsulation, application system can simply and easily change caching Product.Isomery caching system can be managed collectively, unified configuration center is provided, it can be to single-point, active and standby, distributed Framework and Redis, Memcached provide unified management;Operation maintenance personnel can manage buffer memory device resource, pipe by it Manage the cached configuration of application system, the corresponding relationship of application system and equipment;It can also be slow for distributed system in configuration center Deposit framework increase and decrease cache node, merger or partition single-point type caching system;Meanwhile so that using same buffered product, identical The application system of version can partly or completely share same set of cache resources, thus realize that the maximum of hardware resource utilizes, The caching load of each application system can also be manually adjusted simultaneously;By cache client adaptation module, caching can be reduced The coupling of system and application system.
Detailed description of the invention
Fig. 1 is the flow chart for the processing method based on multi rack structure distributed caching that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the processing method provided by Embodiment 2 of the present invention based on multi rack structure distributed caching;
Fig. 3 is the structural schematic diagram for the processing unit based on multi rack structure distributed caching that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for the processing unit based on multi rack structure distributed caching that the embodiment of the present invention four provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the flow chart for the processing method based on multi rack structure distributed caching that the embodiment of the present invention one provides, such as Fig. 1 Shown, the method for the present embodiment includes:
Step 101, when the application system starts up, obtains and saves the cached configuration information in configuration center, cached configuration Information includes current application system banner.
In the present embodiment, specifically, providing configuration center, the cache client being deployed in each application system adaptation Module and cache resources pond.Wherein, configuration center is used to save the cached configuration information of each application system and existing slow Cluster resource information is deposited, the configuration admin service of High Availabitity is externally provided.A caching visitor is configured in each application system Family end adaptation module.It include the server buffer cluster of various isomery caching systems, cache resources pond Zhong Bao in cache resources pond Cluster containing Codis-Redis, Twemproxy-Memcache cluster, Redis-Cluster cluster and two kinds of products list Point, main-standby nodes.
The executing subject of the present embodiment can be for provided with application system and cache client adaptation module, device And equipment.When the application system starts up, cache client adaptation module is called, removes to read the cached configuration letter in configuration center Breath, while can establish the monitoring to the configuration field of configuration center.Then, the cache client adaptation module in application system The cached configuration information read can be saved.
It wherein, include current application system banner, cache information and buffer inlet address in cached configuration information, together When include application system mark, cache information and buffer inlet address corresponding relationship, further comprise of cache node Number.Wherein, cache information includes caching type, cached version number, client's end instruction and framework type.Also, buffer inlet Address is corresponding with cache cluster.
For example, table 1 is cached configuration information, as shown in cached configuration information table 1.
Table 1 is cached configuration information
Step 102, according to cached configuration information, be adapted to out client instance corresponding with current application system.
In the present embodiment, specifically, cache client adaptation module, covers the existing a variety of programming languages of caching of enterprise Client set, suitable client instance can be adapted to out according to the cached configuration information read from configuration center, thus The module can generate the client instance for specifically corresponding to certain framework of certain language according to the cached configuration information of configuration center For application system use.And then it can go to be adapted to out client corresponding with current application system according to cached configuration information Example.
Step 103, according to cached configuration information and client instance corresponding with current application system, obtain caching Data.
Wherein, the specific implementation of step 103 are as follows:
According to cached configuration information, buffer inlet corresponding with current application system banner address is determined;
Using client instance corresponding with current application system, obtain in cache cluster corresponding with buffer inlet address It is data cached.
In the present embodiment, specifically, first according to the current application system banner in cached configuration information, application system Mark, cache information and the corresponding relationship of buffer inlet address, determine buffer into corresponding with current application system banner Port address.Then client instance corresponding with current application system can be used, is obtained corresponding with buffer inlet address It is data cached in cache cluster, and then suitable client instance can be adapted to out according to cached configuration information, so that using System is gone using the client instance of generation using data cached.
For example, the cache client adaptation module in application system A, can be adapted to out the client of Redis client Example is held, the C language of support, framework type Redis, cached version number 3.0, corresponding cache cluster is Redis-Cluster; Cache client adaptation module in application system B can be adapted to out the client instance of Redis client, the JAVA of support Language, framework type Redis, cached version number 3.0, corresponding cache cluster are Redis-Cluster;In application system C Cache client adaptation module can be adapted to out the client instance of Redis client, JAVA language, the framework type of support Redis, cached version number 2.9, corresponding cache cluster are Codis-Redis;Cache client in application system D is adapted to mould Block, can be adapted to out the client instance of Memcached client, and the JAVA language of support, framework type Memcached are delayed Version number 1.4.14 is deposited, corresponding cache cluster is Twemproxy-Memcached;Cache client in application system E is suitable With module, the client instance of Memcached client, JAVA language, the framework type of support can be adapted to out Memcached, cached version 1.4.14, corresponding cache cluster are Single.
Current application system banner is added in step 104, the data cached key assignments that will acquire, so that each application system Share same cache cluster.
In the present embodiment, specifically, cache client adaptation module can increase according to the entitled key assignments of application system Prefix, to avoid caching key assignments conflict, carry out logic isolation.Specifically, cache client adaptation module can got Data cached key assignments in, increase current application system banner, and this current application system banner is application system Unique identification keeps the public same set of physics of each application system slow to distinguish the NameSpace of each application system in logic It deposits, i.e., each application system shares same cache cluster.
For example, can make using same version, identical product, different clients end instruction application system A and answer Same set of physical cache server can be shared with system B, that is, shares same cache cluster.
The present embodiment is cached by when the application system starts up, obtaining and saving the cached configuration information in configuration center Configuration information includes current application system banner;According to cached configuration information, it is adapted to out client corresponding with current application system Hold example;According to cached configuration information and client instance corresponding with current application system, obtain data cached;It will obtain Current application system banner is added in the data cached key assignments got, so that each application system shares same cache cluster.From And application system only needs to configure caching product type, version, interface and realizes the information such as type, can be fitted to suitable slow Deposit client, by client call buffer service, without being concerned about backstage caching deployment way, so reduce the O&M of caching at This;Meanwhile by simple client instance interface encapsulation, application system can simply and easily change caching product.It can be with Isomery caching system is managed collectively, unified configuration center is provided, can to single-point, active and standby, distributed structure/architecture, and Redis, Memcached provide unified management;Operation maintenance personnel can manage buffer memory device resource, management application system by it Cached configuration, application system and equipment corresponding relationship;It can also be the increase and decrease of distributed system cache structure in configuration center Cache node, merger or partition single-point type caching system;Meanwhile so that using same buffered product, the application of identical version System can partly or completely share same set of cache resources, to realize that the maximum of hardware resource utilizes, while can also be with Manually adjust the caching load of each application system;By cache client adaptation module, caching system and application can be reduced The coupling of system.
Fig. 2 is the flow chart of the processing method provided by Embodiment 2 of the present invention based on multi rack structure distributed caching, in reality On the basis of applying example one, as shown in Fig. 2, the method for the present embodiment, before step 102, further includes:
Step 201 obtains and saves the modified cached configuration information in configuration center, wherein modified caching Configuration information is the modification instruction that configuration center receives user's transmission, and is repaired according to modification instruction to cached configuration information It is obtained after changing.
In the present embodiment, specifically, user can go configuration caching corresponding with application system to match with login configurations center Confidence breath, specifically, user send modification instruction to configuration center, and configuration center is according to modification instruction to cached configuration information Modified cached configuration information is obtained after modifying.And then it can be to cache client type, caching product category, caching Version number etc. modifies;It simultaneously can be according to the load of each cache node, the cached configuration of each application system of on-line tuning Information.
Due to calling cache client adaptation module to establish the monitoring to the configuration field of configuration center, and then after modification Cached configuration information can active push into the cache client adaptation module of application system, and then the caching of application system Client adaptation module is available and saves modified cached configuration information.Then, application system can be according to modification Cached configuration information afterwards, goes using cache cluster.
The present embodiment is cached by when the application system starts up, obtaining and saving the cached configuration information in configuration center Configuration information includes current application system banner;And it is available and save the modified cached configuration in configuration center letter Breath;Then according to cached configuration information, it is adapted to out client instance corresponding with current application system;Believed according to cached configuration Breath and client instance corresponding with current application system obtain data cached;In the data cached key assignments that will acquire Current application system banner is added, so that each application system shares same cache cluster.To which application system only needs to configure It caches product type, version, interface and realizes the information such as type, suitable cache client can be fitted to, pass through client tune With buffer service, without being concerned about backstage caching deployment way, and then the O&M cost of caching is reduced;Meanwhile passing through simple visitor The encapsulation of family end Instance Interface, application system can simply and easily change caching product.It can unite to isomery caching system One management, provides unified configuration center, can provide single-point, active and standby, distributed structure/architecture and Redis, Memcached Unified management;Operation maintenance personnel can manage buffer memory device resource, the cached configuration of management application system, application system by it With the corresponding relationship of equipment;Can also configuration center be distributed system cache structure increase and decrease cache node, merger or point Singulated point type caching system;It, being capable of caching client to all application systems after configuration center modifies cached configuration information Adaptation module is held to push updated cached configuration information;Meanwhile so that the application using same buffered product, identical version is System can partly or completely share same set of cache resources, to realize that the maximum of hardware resource utilizes, while can also be with people Work adjusts the caching load of each application system;By cache client adaptation module, it can be reduced caching system and application be The coupling of system.
Fig. 3 is the structural schematic diagram for the processing unit based on multi rack structure distributed caching that the embodiment of the present invention three provides, As shown in figure 3, device provided in this embodiment, comprising:
First obtains module 31, for when the application system starts up, obtaining and saving the letter of the cached configuration in configuration center Breath, cached configuration information includes current application system banner;
Determining module 32, for being adapted to out client instance corresponding with current application system according to cached configuration information;
Caching obtains module 33, for real according to cached configuration information and client corresponding with current application system Example obtains data cached;
Adding module 34 adds current application system banner in the data cached key assignments for will acquire, so that respectively Application system shares same cache cluster.
The base that the embodiment of the present invention one provides can be performed in the processing unit based on multi rack structure distributed caching of the present embodiment In the processing method of multi rack structure distributed caching, realization principle is similar, and details are not described herein again.
The present embodiment is cached by when the application system starts up, obtaining and saving the cached configuration information in configuration center Configuration information includes current application system banner;According to cached configuration information, it is adapted to out client corresponding with current application system Hold example;According to cached configuration information and client instance corresponding with current application system, obtain data cached;It will obtain Current application system banner is added in the data cached key assignments got, so that each application system shares same cache cluster.From And application system only needs to configure caching product type, version, interface and realizes the information such as type, can be fitted to suitable slow Deposit client, by client call buffer service, without being concerned about backstage caching deployment way, so reduce the O&M of caching at This;Meanwhile by simple client instance interface encapsulation, application system can simply and easily change caching product.It can be with Isomery caching system is managed collectively, unified configuration center is provided, can to single-point, active and standby, distributed structure/architecture, and Redis, Memcached provide unified management;Operation maintenance personnel can manage buffer memory device resource, management application system by it Cached configuration, application system and equipment corresponding relationship;It can also be the increase and decrease of distributed system cache structure in configuration center Cache node, merger or partition single-point type caching system;Meanwhile so that using same buffered product, the application of identical version System can partly or completely share same set of cache resources, to realize that the maximum of hardware resource utilizes, while can also be with Manually adjust the caching load of each application system;By cache client adaptation module, caching system and application can be reduced The coupling of system.
Fig. 4 is the structural schematic diagram for the processing unit based on multi rack structure distributed caching that the embodiment of the present invention four provides, On the basis of embodiment three, as shown in figure 4, device provided in this embodiment, caching obtains module 33, comprising:
Address determines submodule 331, for determining corresponding with current application system banner slow according to cached configuration information It is stored in port address;
Acquisition submodule 332 is cached, use client instance corresponding with current application system is used for, obtains and buffer into It is data cached in the corresponding cache cluster of port address.
Device provided in this embodiment, further includes:
Second obtains module 41, for, according to cached configuration information, being adapted to out and current application system in determining module 32 Before corresponding client instance, obtains and save the modified cached configuration information in configuration center, wherein is modified Cached configuration information be configuration center receive user transmission modification instruction, and according to modification instruction to cached configuration information into It is obtained after row modification.
Cached configuration information further includes at least one below: application system mark, cache information and buffer inlet The corresponding relationship of address, the number of cache node;
Wherein, cache information includes caching type, cached version number, client's end instruction and framework type.
A cache client adaptation module is configured in application system.
Base provided by Embodiment 2 of the present invention can be performed in the processing unit based on multi rack structure distributed caching of the present embodiment In the processing method of multi rack structure distributed caching, realization principle is similar, and details are not described herein again.
The present embodiment is cached by when the application system starts up, obtaining and saving the cached configuration information in configuration center Configuration information includes current application system banner;And it is available and save the modified cached configuration in configuration center letter Breath;Then according to cached configuration information, it is adapted to out client instance corresponding with current application system;Believed according to cached configuration Breath and client instance corresponding with current application system obtain data cached;In the data cached key assignments that will acquire Current application system banner is added, so that each application system shares same cache cluster.To which application system only needs to configure It caches product type, version, interface and realizes the information such as type, suitable cache client can be fitted to, pass through client tune With buffer service, without being concerned about backstage caching deployment way, and then the O&M cost of caching is reduced;Meanwhile passing through simple visitor The encapsulation of family end Instance Interface, application system can simply and easily change caching product.It can unite to isomery caching system One management, provides unified configuration center, can provide single-point, active and standby, distributed structure/architecture and Redis, Memcached Unified management;Operation maintenance personnel can manage buffer memory device resource, the cached configuration of management application system, application system by it With the corresponding relationship of equipment;Can also configuration center be distributed system cache structure increase and decrease cache node, merger or point Singulated point type caching system;It, being capable of caching client to all application systems after configuration center modifies cached configuration information Adaptation module is held to push updated cached configuration information;Meanwhile so that the application using same buffered product, identical version is System can partly or completely share same set of cache resources, to realize that the maximum of hardware resource utilizes, while can also be with people Work adjusts the caching load of each application system;By cache client adaptation module, it can be reduced caching system and application be The coupling of system.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of processing method based on multi rack structure distributed caching characterized by comprising
When the application system starts up, the cached configuration information in configuration center is obtained and saves, the cached configuration information includes Current application system banner;
According to the cached configuration information, it is adapted to out client instance corresponding with current application system;
According to the cached configuration information and client instance corresponding with current application system, obtain data cached;
Current application system banner is added in the data cached key assignments that will acquire, so that each application system shares same caching Cluster;The current application system banner is for making the public same set of physical cache of each application system.
2. the method according to claim 1, wherein it is described according to the cached configuration information and with it is current The corresponding client instance of application system obtains data cached, comprising:
According to the cached configuration information, buffer inlet corresponding with current application system banner address is determined;
Using client instance corresponding with current application system, obtain in cache cluster corresponding with the buffer inlet address It is data cached.
3. the method according to claim 1, wherein according to the cached configuration information, be adapted to out with currently Before the corresponding client instance of application system, further includes:
Obtain and save the modified cached configuration information in configuration center, wherein modified cached configuration information be with The center of setting receives the modification instruction of user's transmission, and obtains after being modified according to modification instruction to cached configuration information 's.
4. method according to claim 1-3, which is characterized in that the cached configuration information, further includes following At least one:
Application system mark, cache information and the corresponding relationship of buffer inlet address, the number of cache node;
Wherein, cache information includes caching type, cached version number, client's end instruction and framework type.
5. method according to claim 1-3, which is characterized in that be configured with a caching in the application system Client adaptation module.
6. a kind of processing unit based on multi rack structure distributed caching characterized by comprising
First obtains module, described for when the application system starts up, obtaining and saving the cached configuration information in configuration center Cached configuration information includes current application system banner;
Determining module, for being adapted to out client instance corresponding with current application system according to the cached configuration information;
Caching obtains module, is used for according to the cached configuration information and client instance corresponding with current application system, It obtains data cached;
Adding module adds current application system banner in the data cached key assignments for will acquire, so that each application system Altogether with same cache cluster;The current application system banner is for making the public same set of physical cache of each application system.
7. device according to claim 6, which is characterized in that the caching obtains module, comprising:
Address determines submodule, for determining caching corresponding with current application system banner according to the cached configuration information Entry address;
Acquisition submodule is cached, use client instance corresponding with current application system is used for, is obtained and the buffer inlet It is data cached in the corresponding cache cluster in address.
8. device according to claim 6, which is characterized in that further include:
Second obtains module, for, according to the cached configuration information, being adapted to out and current application system in the determining module Before corresponding client instance, obtains and save the modified cached configuration information in configuration center, wherein is modified Cached configuration information is the modification instruction that configuration center receives user's transmission, and is believed according to modification instruction cached configuration What breath obtained after modifying.
9. according to the described in any item devices of claim 6-8, which is characterized in that the cached configuration information, further includes following At least one:
Application system mark, cache information and the corresponding relationship of buffer inlet address, the number of cache node;
Wherein, cache information includes caching type, cached version number, client's end instruction and framework type.
10. according to the described in any item devices of claim 6-8, which is characterized in that be configured with one in the application system and delay Deposit client adaptation module.
CN201610787071.XA 2016-08-30 2016-08-30 Treating method and apparatus based on multi rack structure distributed caching Active CN106341402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610787071.XA CN106341402B (en) 2016-08-30 2016-08-30 Treating method and apparatus based on multi rack structure distributed caching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610787071.XA CN106341402B (en) 2016-08-30 2016-08-30 Treating method and apparatus based on multi rack structure distributed caching

Publications (2)

Publication Number Publication Date
CN106341402A CN106341402A (en) 2017-01-18
CN106341402B true CN106341402B (en) 2019-11-12

Family

ID=57822370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610787071.XA Active CN106341402B (en) 2016-08-30 2016-08-30 Treating method and apparatus based on multi rack structure distributed caching

Country Status (1)

Country Link
CN (1) CN106341402B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147312B (en) * 2019-12-31 2022-11-22 深圳云天励飞技术股份有限公司 Resource allocation management method and device, resource allocation cache management method and device, and allocation management system
CN112395319A (en) * 2020-11-25 2021-02-23 平安普惠企业管理有限公司 Cache sharing method, device, server and storage medium
CN114978665A (en) * 2022-05-17 2022-08-30 中原银行股份有限公司 Data verification method and data isolation system based on Redis distributed cache platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042680A (en) * 2006-03-23 2007-09-26 国际商业机器公司 Data processing system, cache system and method for updating an invalid coherency state
CN101510205A (en) * 2009-03-16 2009-08-19 广州市有福数码科技有限公司 Method for implementing automatically clustering photographs, apparatus and system
CN102932696A (en) * 2012-09-29 2013-02-13 西安空间无线电技术研究所 Satellite-borne high-speed data multiplexer system and realizing method thereof
CN103257889A (en) * 2012-02-17 2013-08-21 联想(北京)有限公司 Device and method for managing application programs of hybrid architecture system
CN105321522A (en) * 2014-08-06 2016-02-10 航天恒星科技有限公司 Audio data processing and transmitting method and device
CN105579979A (en) * 2013-07-25 2016-05-11 格罗方德半导体公司 Three-dimensional processing system having multiple caches that can be partitioned, conjoined, and managed according to more than one set of rules and/or configurations

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10264029B2 (en) * 2009-10-30 2019-04-16 Time Warner Cable Enterprises Llc Methods and apparatus for packetized content delivery over a content delivery network
US9787605B2 (en) * 2015-01-30 2017-10-10 Nicira, Inc. Logical router with multiple routing components

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042680A (en) * 2006-03-23 2007-09-26 国际商业机器公司 Data processing system, cache system and method for updating an invalid coherency state
CN101510205A (en) * 2009-03-16 2009-08-19 广州市有福数码科技有限公司 Method for implementing automatically clustering photographs, apparatus and system
CN103257889A (en) * 2012-02-17 2013-08-21 联想(北京)有限公司 Device and method for managing application programs of hybrid architecture system
CN102932696A (en) * 2012-09-29 2013-02-13 西安空间无线电技术研究所 Satellite-borne high-speed data multiplexer system and realizing method thereof
CN105579979A (en) * 2013-07-25 2016-05-11 格罗方德半导体公司 Three-dimensional processing system having multiple caches that can be partitioned, conjoined, and managed according to more than one set of rules and/or configurations
CN105321522A (en) * 2014-08-06 2016-02-10 航天恒星科技有限公司 Audio data processing and transmitting method and device

Also Published As

Publication number Publication date
CN106341402A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
US11886429B2 (en) Persistent metadata catalog
US11711420B2 (en) Automated management of resource attributes across network-based services
US10817195B2 (en) Key-value based message oriented middleware
AU2019203266B2 (en) System, method and computer-readable storage medium for customizable event-triggered computation at edge locations
CN103299594B (en) System and method for extendible authentication framework
US20180181599A1 (en) Distributable model with biases contained within distributed data
US8634330B2 (en) Inter-cluster communications technique for event and health status communications
CN105138679B (en) A kind of data processing system and processing method based on distributed caching
US11553023B2 (en) Abstraction layer for streaming data sources
CN106341402B (en) Treating method and apparatus based on multi rack structure distributed caching
CN112069265A (en) Configuration data synchronization method, service data system, computer system and medium
CN104699723A (en) Data exchange adapter and system and method for synchronizing data among heterogeneous systems
CN107465616A (en) Client-based service routing method and device
CN104657435A (en) Storage management method for application data and network management system
US11895212B2 (en) Read-only data store replication to edge locations
US7480657B1 (en) Caching information for multiple service applications
CN109710223A (en) API gateway hot plug system based on distributed KV storage system
US9503351B1 (en) Deployment feedback for system updates to resources in private networks
CN110347654A (en) A kind of method and apparatus of online cluster features
US10712959B2 (en) Method, device and computer program product for storing data
CN106375414B (en) The treating method and apparatus of Remote configuration resource based on distributed environment
US20170220656A1 (en) Information Access System
CN110674080A (en) Method and system for collecting large-data-volume non-structural files based on NiFi
CN111858260A (en) Information display method, device, equipment and medium
CN108322319B (en) Log management method and management device based on incremental log

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant