CN102984267B - A kind of method and system that realize distributed caching node and dynamically update client - Google Patents

A kind of method and system that realize distributed caching node and dynamically update client Download PDF

Info

Publication number
CN102984267B
CN102984267B CN201210526492.9A CN201210526492A CN102984267B CN 102984267 B CN102984267 B CN 102984267B CN 201210526492 A CN201210526492 A CN 201210526492A CN 102984267 B CN102984267 B CN 102984267B
Authority
CN
China
Prior art keywords
cache
node
port
address
cache node
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.)
Expired - Fee Related
Application number
CN201210526492.9A
Other languages
Chinese (zh)
Other versions
CN102984267A (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.)
Beijing Sohu New Media Information Technology Co Ltd
Original Assignee
Beijing Sohu New Media Information Technology Co 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 Beijing Sohu New Media Information Technology Co Ltd filed Critical Beijing Sohu New Media Information Technology Co Ltd
Priority to CN201210526492.9A priority Critical patent/CN102984267B/en
Publication of CN102984267A publication Critical patent/CN102984267A/en
Application granted granted Critical
Publication of CN102984267B publication Critical patent/CN102984267B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of method and system that realize distributed caching node and dynamically update client, comprising: according to the notice of received newly-increased available cache memory node, obtain IP address and the port of newly-increased available cache memory node; The IP address of this newly-increased available cache memory node and port are increased in cache node set; According to the notice of the received unavailable cache node of deletion, obtain IP address and the port of unavailable cache node; The IP address of this unavailable cache node and port are deleted from buffer memory node set; Make client request of access be sent to the cache node in described cache node set in cache node set described in client application, having realized the fault cache node of deleting can delete in time from the node set of client, and newly-increased cache node can be the object of client service in time.

Description

A kind of method and system that realize distributed caching node and dynamically update client
Technical field
The present invention relates to distributed caching field, particularly one realizes distributed caching node dynamically moreThe new method and system to client.
Background technology
Distributed caching, because its performance is powerful, agreement simple, call efficient advantage, makes it interconnectedIn net, be used widely. In the time of local cache node fault, can be by malfunctioning node be deleted, newlyIncrease the high efficiency service that cache node ensures distributed caching.
But, when distributed caching provides high efficiency service, ignored client-cache node dimensionThe problem of protecting. Client will be used distributed caching node at present, need to be in advance by distributed caching nodeSet configuration to client, by client, the data that will store are distributed on each cache node. SoAnd the cache node that client configures is the fixing node set of static configuration in advance, at follow-up pointWhen cloth formula cache node fault, the malfunctioning node of deleting can not be deleted in time from the node set of clientRemove, for ensure the newly-increased node of normal service can not be in time client service, cause the client canWith node fewer and feweri, cannot reach the effect of two-forty access.
Summary of the invention
In view of this, main purpose of the present invention is to provide one to realize distributed caching node dynamically moreThe new method and system to client with realize the fault cache node deleted can be in time from the joint of clientIn some set, delete, newly-increased cache node can be the object of client service in time.
The invention provides a kind of method that realizes distributed caching node and dynamically update client, the partyMethod comprises:
According to the notice of received newly-increased available cache memory node, obtain the IP ground of newly-increased available cache memory nodeLocation and port;
The IP address of this newly-increased available cache memory node and port are increased in cache node set;
According to the notice of the received unavailable cache node of deletion, obtain the IP ground of unavailable cache nodeLocation and port;
The IP address of this unavailable cache node and port are deleted from buffer memory node set;
Make client that request of access is sent to described buffer memory joint in cache node set described in client applicationCache node in some set.
Alternatively, described according to the notice of received newly-increased available cache memory node, obtain newly-increased available slowDeposit IP address and the port of node, specifically obtain by monitoring described notice in client;
Described the IP address of this newly-increased available cache memory node and port are increased in cache node set to toolBody is increased to the IP address of this newly-increased available cache memory node and port in client the buffer memory joint of clientIn some set;
Described according to the notice of the received unavailable cache node of deletion, obtain unavailable cache nodeIP address and port, specifically obtain by monitoring described notice in client;
Described the IP address of this unavailable cache node and port are deleted from buffer memory node set, concreteFrom the cache node set of client, delete.
Alternatively, described according to the notice of received newly-increased available cache memory node, obtain newly-increased available slowDeposit IP address and the port of node, specifically obtain by monitoring described notice at state server end;
Described the IP address of this newly-increased available cache memory node and port are increased in cache node set to toolBody is increased to status service at state server end by IP address and the port of this newly-increased available cache memory nodeIn the cache node set of device;
Described according to the notice of the received unavailable cache node of deletion, obtain unavailable cache nodeIP address and port, specifically obtain by monitoring described notice at state server end;
Described the IP address of this unavailable cache node and port are deleted from buffer memory node set, concreteFrom the cache node set of state server, delete;
Before cache node set using described cache node set as client, also by described buffer memory jointPoint set sends to described client from state server end.
Alternatively, described cache node set is sent to client specifically current from state server endThe time gap last time sends to cache node set the time of the time of client from state server endWhen equaling timing, interval sends.
Alternatively, described by cache node set from state server end send to client specifically receiveIn the time that upgrading cache node set request, client sends.
Alternatively, described in described client specifically sends to state server in the time of Connection Cache node failureUpgrade cache node set request.
Alternatively, described client is specifically in the time listening to state server transmission update notification, to stateServer sends described renewal cache node set request;
Described state server end is specifically being increased to IP address and the port of newly-increased available cache memory nodeWhen the cache node set of state server with by the IP address of unavailable cache node and port from buffer memoryWhile deletion in node set, send update notification.
Alternatively, notice and the unavailable cache node of described deletion of the newly-increased available cache memory node of described receptionNotice specifically obtain from buffer memory monitoring server;
Wherein said buffer memory monitor service implement body generates the logical of newly-increased available cache memory node by following stepsKnow and delete the notice of unavailable cache node:
By obtaining IP address and the port of newly-increased cache node, generate the logical of newly-increased available cache memory nodeKnow, described notice comprises IP address and the port of this newly-increased cache node, and by this IP address and portBe kept in the cache node set of buffer memory monitoring server;
Obtain IP address and the port of cache node from the cache node set of preserving, to each cache nodeSend access, in the time confiscating the feedback of cache node, generate the notice of deleting unavailable cache node,Described notice comprises that this confiscates IP address and the port of cache node of feedback.
The present invention also provides a kind of system that realizes distributed caching node and dynamically update client, and this isTurnkey is drawn together:
Cache node is new module more: for according to the notice of received newly-increased available cache memory node, obtainIP address and the port of newly-increased available cache memory node, by IP address and the end of this newly-increased available cache memory nodeMouth is increased in cache node set, according to the notice of the received unavailable cache node of deletion, obtainsIP address and the port of unavailable cache node, by the IP address of this unavailable cache node and port fromIn cache node set, delete;
Client is new module more: for client being accessed in cache node set described in client applicationRequest sends to the cache node in described cache node set.
Alternatively, more new module of described cache node: specifically in client according to received newly-increasedThe notice of available cache memory node, obtains IP address and the port of newly-increased available cache memory node, by this newly-increased canBe increased in the cache node set of client, according to received with IP address and the port of cache nodeDelete the notice of unavailable cache node, obtain IP address and the port of unavailable cache node, by this notThe IP address of available cache memory node and port are deleted from the cache node set of client.
Alternatively, more new module of described cache node: specifically for state server end according to receiveThe notice of newly-increased available cache memory node, obtain IP address and the port of newly-increased available cache memory node, shouldIP address and the port of newly-increased available cache memory node are increased in the cache node set of state server, rootAccording to the notice of the received unavailable cache node of deletion, obtain IP address and the end of unavailable cache nodeMouthful, the IP address of this unavailable cache node and port are deleted from the cache node set of state serverRemove;
More new module of described cache node: also for described cache node set is sent out from state server endDeliver to the more new module of client in client.
Alternatively, more new module of described cache node: newly-increased specifically for receiving from buffer memory monitoring serverThe notice of available cache memory node and the notice of deleting unavailable cache node;
Buffer memory monitoring server: for increase IP address and the port of cache node newly by acquisition, generate newThe notice that increases available cache memory node, described notice comprises IP address and the port of this newly-increased cache node, andThis IP address and port are kept in the cache node set of buffer memory monitoring server, slow by what preserveDeposit IP address and port that node set obtains cache node, send access to each cache node, do not havingWhile receiving the feedback of cache node, generate the notice of deleting unavailable cache node, described notice comprises thisConfiscate IP address and the port of the cache node of feedback.
Visible the present invention has following beneficial effect:
Because the present invention is according to the notice of received newly-increased available cache memory node with delete unavailable buffer memory jointThe notice of point, obtains IP address and port newly-increased and unavailable cache node in time, will increase buffer memory joint newlyIP address and the port of point are increased in cache node set, by the IP address of unavailable cache node andPort is deleted from buffer memory node set, thus the set of the available cache memory node that obtains dynamically updating,Described in client application, cache node set makes client that access is sent to enabled node, has realized deletionFault cache node can from the node set of client, delete in time, the cache node energy newly increasingEnough is the object of client service in time.
Brief description of the drawings
Fig. 1 is a kind of flow process that realizes distributed caching node and dynamically update the method for client of the present inventionFigure;
Fig. 2 is a kind of composition of realizing distributed caching node and dynamically updating the system of client of the present inventionFigure;
Fig. 3 is a kind of system one real of realizing distributed caching node and dynamically update client of the present inventionExecute routine composition diagram;
Fig. 4 is a kind of another of system of realizing distributed caching node and dynamically updating client of the present inventionEmbodiment composition diagram.
Detailed description of the invention
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawingWith detailed description of the invention, the embodiment of the present invention is described in further detail.
Referring to Fig. 1, for a kind of distributed caching node realized provided by the invention dynamically updates clientThe flow chart of method, as shown in the figure, the method comprises:
S101, according to the notice of received newly-increased available cache memory node, obtain newly-increased available cache memory nodeIP address and port;
S102, the IP address of this newly-increased available cache memory node and port are increased in cache node set;
S103, according to the notice of the received unavailable cache node of deletion, obtain unavailable cache nodeIP address and port;
S104, the IP address of this unavailable cache node and port are deleted from buffer memory node set;
S105, make described in client sends to request of access in cache node set described in client applicationThe cache node of cache node set.
Apply the method that this embodiment realizes, according to the notice of received newly-increased available cache memory node with deleteExcept the notice of unavailable cache node, obtain in time IP address and the port of newly-increased and unavailable cache node,IP address and the port of newly-increased cache node are increased in cache node set, by unavailable cache nodeIP address and port from buffer memory node set, delete, thereby the available cache memory node that obtains dynamically updatingSet, make client that access is sent to enabled node in cache node set described in client application,Having realized the fault cache node of deleting can delete in time from the node set of client, newly increasesCache node can be the object of client service in time.
In one embodiment of the invention, the method step S101 can complete in client to S104,Particularly:
Wherein, step S101, according to the notice of received newly-increased available cache memory node, obtains newly-increased availableIP address and the port of cache node, specifically obtain by monitoring described notice in client;
Wherein, described in step S102, the IP address of this newly-increased available cache memory node and port are increased to slowDeposit in node set, specifically in client, IP address and the port of this newly-increased available cache memory node are increased toIn the cache node set of client;
Wherein, according to the notice of the received unavailable cache node of deletion, obtain described in step S103IP address and the port of unavailable cache node, specifically obtain by monitoring described notice in client;
Wherein, described in step S104 by the IP address of this unavailable cache node and port from cache nodeIn set, delete, specifically from the cache node set of client, delete.
In another embodiment of the present invention, step S101 can complete at state server end to S104,Particularly:
Wherein, according to the notice of received newly-increased available cache memory node, obtain new described in step S101The IP address and the port that increase available cache memory node, specifically obtain by monitoring described notice at state server end;
Wherein, described in step S102, the IP address of this newly-increased available cache memory node and port are increased to slowDeposit in node set, specifically at state server end by IP address and the port of this newly-increased available cache memory nodeBe increased in the cache node set of state server;
Wherein, according to the notice of the received unavailable cache node of deletion, obtain described in step S103IP address and the port of unavailable cache node, specifically obtain by monitoring described notice at state server end;
Wherein, described in step S104 by the IP address of this unavailable cache node and port from cache nodeIn set, delete, specifically from the cache node set of state server, delete;
And, in this embodiment, the cache node set using described cache node set as clientBefore, also described cache node set is sent to described client from state server end;
Wherein, described by cache node set from state server end send to client specifically can work asThe front time gap last time cache node set is sent to from state server end client time timeBetween interval send while equaling timing;
Can also in the time receiving client renewal cache node set request, send.
Wherein, described client specifically can send institute to state server in the time of Connection Cache node failureState the cache node set request of upgrading.
Can also send when update notification listening to state server, described in sending to state server moreNew cache node set request, wherein, described state server end specifically will increase available cache memory node newlyIP address and port while being increased to the cache node set of state server and by unavailable cache nodeIP address and port while deleting from buffer memory node set, send update notification.
It should be noted that, wherein, step S105 makes client in cache node set described in client applicationRequest of access is sent to the cache node in described cache node set by end, specifically can answer in clientWith described cache node set, adopt hash algorithm that the access of client is sent to each available cache memory jointPoint IP address and port.
Apply the method that this embodiment realizes, dynamically update the collection of available cache memory node at state server endClose, can make each client all obtain the collection of the available cache memory node dynamically updating from state serverClose, keep the distributed caching node uniformity in each client, make the available cache node can bothBe applied in time each client, and needn't be responsible for separately dynamically updating of cache node by each client,Efficiency and uniformity that cache node upgrades are improved.
Below the notice receiving described in step S101 in above embodiment and step S103 is separatedRelease, particularly, notice and the unavailable cache node of described deletion of the newly-increased available cache memory node of described receptionNotice specifically can obtain from buffer memory monitoring server, wherein, described buffer memory monitor service implement body canTo generate the notice of newly-increased available cache memory node by following steps and to delete the logical of unavailable cache nodeKnow:
By obtaining IP address and the port of newly-increased cache node, generate the logical of newly-increased available cache memory nodeKnow, described notice comprises IP address and the port of this newly-increased cache node, and by this IP address and portBe kept in the cache node set of buffer memory monitoring server;
Obtain IP address and the port of cache node from the cache node set of preserving, to each cache nodeSend access, in the time confiscating the feedback of cache node, generate the notice of deleting unavailable cache node,Described notice comprises that this confiscates IP address and the port of cache node of feedback.
Application cache monitoring server sends access to cache node in the present invention, keeps and cache nodeCommunication, in the time confiscating the feedback of cache node, can determine that this cache node fault is unavailable, returnReturn the notice of deleting unavailable cache node, can realize the object of timely discovery node failure; Obtain newIncrease behind the IP address and port of cache node, this IP address and port are kept to buffer memory monitoring serverIn cache node set, and send the notice that increases available cache memory node newly, can realize the joint that makes clientPoint set obtains the object of newly-increased node in time, it should be noted that the newly-increased cache node of this generation logicalThe buffer memory monitoring server of knowing and delete the notice of unavailable cache node is only a kind of enforcement of the present inventionMode, on the inventive method basis, can also have other to obtain notice and the deletion of newly-increased cache nodeThe method of the notice of unavailable cache node, the present invention is unrestricted in this regard.
Referring to Fig. 2, for a kind of distributed caching node realized provided by the invention dynamically updates clientSystem, as shown in the figure, this system comprises:
Cache node is new module 201 more: for according to the notice of received newly-increased available cache memory node, obtainMust increase IP address and the port of available cache memory node newly, by IP address and the end of this newly-increased available cache memory nodeMouth is increased in cache node set, according to the notice of the received unavailable cache node of deletion, obtainsIP address and the port of unavailable cache node, postpone IP address and the port of this unavailable cache nodeDeposit in node set and delete;
Client is new module 202 more: for client being visited in cache node set described in client applicationThe request of asking sends to the cache node in described cache node set.
In an embodiment of system of the present invention, referring to Fig. 3, described cache node is new module 301 more:Specifically can in client according to the notice of received newly-increased available cache memory node, obtain newly-increased canWith IP address and the port of cache node, IP address and the port of this newly-increased available cache memory node are increased toIn the cache node set of client, according to the notice of the received unavailable cache node of deletion, obtainIP address and the port of unavailable cache node, by the IP address of this unavailable cache node and port from visitorIn the cache node set of family end, delete;
Described client is new module 302 more: specifically can for from described cache node more new module 301 connectReceive described cache node set, make client by request of access in cache node set described in client applicationSend to the cache node in described cache node set.
In another embodiment of system of the present invention, referring to Fig. 4, described cache node is new module 401 more:Specifically can at state server end according to the notice of received newly-increased available cache memory node, obtainIP address and the port of newly-increased available cache memory node, by IP address and the port of this newly-increased available cache memory nodeBe increased in the cache node set of state server, according to the received unavailable cache node of deletionNotify, obtain IP address and the port of unavailable cache node, by the IP address of this unavailable cache nodeDelete from the cache node set of state server with port;
Described cache node is new module 401 more: also for described cache node set is sent out from state serverDeliver to described client;
Described client is new module 402 more: specifically can be for the cache node from state server end moreNew module 401 receives described cache node set, makes client in cache node set described in client applicationRequest of access is sent to the cache node in described cache node set.
Wherein, more new module 301 and 401 of cache node described in said system embodiment: specifically can useIn receiving the notice of newly-increased available cache memory node from buffer memory monitoring server and deleting unavailable cache nodeNotice;
Wherein, described buffer memory monitoring server 303 and 403: specifically can be for increasing buffer memory newly by acquisitionIP address and the port of node, generate the notice that increases available cache memory node newly, and described notice comprises that this is newly-increasedIP address and the port of cache node, and this IP address and port are kept to the slow of buffer memory monitoring serverDeposit in node set, obtain IP address and the port of cache node by the cache node set of preserving, toEach cache node sends access, in the time confiscating the feedback of cache node, generates and deletes unavailable buffer memoryThe notice of node, described notice comprises that this confiscates IP address and the port of cache node of feedback.
It should be noted that, in this article, the relational terms such as the first and second grades is only used forAn entity or operation are separated with another entity or operating space, and not necessarily require or implyBetween these entities or operation, there is relation or the order of any this reality. And term " comprises "," comprise " or its any other variant is intended to contain comprising of nonexcludability, thereby make to comprise that one isProcess, method, article or the equipment of row key element not only comprise those key elements, but also comprise do not have brightOther key elements of really listing, or it is intrinsic to be also included as this process, method, article or equipment instituteKey element. In the situation that there is no more restrictions, the key element being limited by statement " comprising ... ",And be not precluded within process, method, article or the equipment that comprises described key element, also exist other identicalKey element.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection model of the present inventionEnclose. All any amendments of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., allBe included in protection scope of the present invention.

Claims (8)

1. realize the method that distributed caching node dynamically updates client, it is characterized in that, bagDraw together:
According to the notice of received newly-increased available cache memory node, obtain the IP ground of newly-increased available cache memory nodeLocation and port;
The IP address of this newly-increased available cache memory node and port are increased in cache node set;
According to the notice of the received unavailable cache node of deletion, obtain the IP ground of unavailable cache nodeLocation and port;
The IP address of this unavailable cache node and port are deleted from buffer memory node set;
Make client that request of access is sent to described buffer memory joint in cache node set described in client applicationCache node in some set, make the cache node deleted can be in time from the cache node set of clientMiddle deletion, the cache node newly increasing can be client service in time;
Wherein, described according to the notice of received newly-increased available cache memory node, obtain newly-increased available cache memoryIP address and the port of node, specifically obtain by monitoring described notice in client;
Described the IP address of this newly-increased available cache memory node and port are increased in cache node set to toolBody is increased to the IP address of this newly-increased available cache memory node and port in client the cache node of clientIn set;
Described according to the notice of the received unavailable cache node of deletion, obtain unavailable cache nodeIP address and port, specifically obtain by monitoring described notice in client;
Described the IP address of this unavailable cache node and port are deleted from buffer memory node set, concreteFrom the cache node set of client, delete; Or,
Described according to the notice of received newly-increased available cache memory node, the newly-increased available cache memory node of acquisitionIP address and port, specifically obtain by monitoring described notice at state server end;
Described the IP address of this newly-increased available cache memory node and port are increased in cache node set to toolBody is increased to state server at state server end by IP address and the port of this newly-increased available cache memory nodeCache node set in;
Described according to the notice of the received unavailable cache node of deletion, obtain unavailable cache nodeIP address and port, specifically obtain by monitoring described notice at state server end;
Described the IP address of this unavailable cache node and port are deleted from buffer memory node set, concreteFrom the cache node set of state server, delete;
Before cache node set using described cache node set as client, also by described buffer memory jointPoint set sends to described client from state server end;
Wherein, describedly in cache node set described in client application, client is sent to request of accessCache node in described cache node set, is specifically as follows: at cache node described in client applicationSet, adopts hash algorithm that the access of client is sent to each available cache memory node IP address and port.
2. method according to claim 1, is characterized in that, described by cache node set from shapeState server end send to client specifically in current time distance once by cache node set from stateThe time interval that server end sends to the time of client sends while equaling timing.
3. method according to claim 1, is characterized in that, described by cache node set from shapeState server end sends to client and specifically in the time receiving client renewal cache node set request, sends outSend.
4. method according to claim 3, is characterized in that, described client is specifically slow in connectionWhile depositing node failure, send described renewal cache node set request to state server.
5. method according to claim 3, is characterized in that, described client is specifically listening toWhen state server sends update notification, send described renewal cache node set request to state server;
Described state server end is specifically being increased to shape by IP address and the port of newly-increased available cache memory nodeWhen the cache node set of state server with by the IP address of unavailable cache node and port from cache nodeWhile deletion in set, send update notification.
6. method according to claim 1, is characterized in that, the newly-increased available cache memory joint of described receptionThe notice of point and the notice of the unavailable cache node of described deletion specifically obtain from buffer memory monitoring server;
Wherein said buffer memory monitor service implement body generates the logical of newly-increased available cache memory node by following stepsKnow and delete the notice of unavailable cache node:
By obtaining IP address and the port of newly-increased cache node, generate the notice of newly-increased available cache memory node,Described notice comprises IP address and the port of this newly-increased cache node, and this IP address and port are kept atIn the cache node set of buffer memory monitoring server;
Obtain IP address and the port of cache node from the cache node set of preserving, to each cache nodeSend access, in the time confiscating the feedback of cache node, generate the notice of deleting unavailable cache node,Described notice comprises that this confiscates IP address and the port of cache node of feedback.
7. realize the system that distributed caching node dynamically updates client, it is characterized in that, bagDraw together:
Cache node is new module more: for according to the notice of received newly-increased available cache memory node, obtainIP address and the port of newly-increased available cache memory node, by IP address and the port of this newly-increased available cache memory nodeBe increased in cache node set, according to the notice of the received unavailable cache node of deletion, obtain notIP address and the port of available cache memory node, by the IP address of this unavailable cache node and port from buffer memoryIn node set, delete;
Client is new module more: for client being accessed in cache node set described in client applicationRequest sends to cache node in described cache node set, make the cache node deleted can be in time fromIn the cache node set of client, delete, the cache node newly increasing can be client service in time;
Wherein,
More new module of described cache node: specifically in client according to received newly-increased available cache memoryThe notice of node, obtains the IP address and the port that increase available cache memory node newly, by this newly-increased available cache memory nodeIP address and port be increased in the cache node set of client, unavailable slow according to received deletionDeposit the notice of node, obtain IP address and the port of unavailable cache node, by this unavailable cache nodeIP address and port are deleted from the cache node set of client; Or,
More new module of described cache node: specifically for state server end according to received newly-increased canBy the notice of cache node, obtain IP address and the port of newly-increased available cache memory node, this is newly-increased available slowIP address and the port of depositing node are increased in the cache node set of state server, according to received deletingExcept the notice of unavailable cache node, obtain IP address and the port of unavailable cache node, this is unavailableThe IP address of cache node and port are deleted from the cache node set of state server;
More new module of described cache node: also for described cache node set is sent out from state server endDeliver to the more new module of client in client;
Wherein, described client more new module for making client in cache node set described in client applicationRequest of access is sent to the cache node in described cache node set by end, is specifically as follows: clientThe described cache node set of end application, adopts hash algorithm that the access of client is sent to each available delayingDeposit node IP address and port.
8. system according to claim 7, is characterized in that, more new module of described cache node:Specifically for receiving the notice of newly-increased available cache memory node and delete unavailable buffer memory from buffer memory monitoring serverThe notice of node;
Buffer memory monitoring server: for increase IP address and the port of cache node newly by acquisition, generate newThe notice that increases available cache memory node, described notice comprises IP address and the port of this newly-increased cache node, andThis IP address and port are kept in the cache node set of buffer memory monitoring server, slow by what preserveDeposit IP address and port that node set obtains cache node, send access to each cache node, do not havingWhile receiving the feedback of cache node, generate the notice of deleting unavailable cache node, described notice comprises thisConfiscate IP address and the port of the cache node of feedback.
CN201210526492.9A 2012-12-07 2012-12-07 A kind of method and system that realize distributed caching node and dynamically update client Expired - Fee Related CN102984267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210526492.9A CN102984267B (en) 2012-12-07 2012-12-07 A kind of method and system that realize distributed caching node and dynamically update client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210526492.9A CN102984267B (en) 2012-12-07 2012-12-07 A kind of method and system that realize distributed caching node and dynamically update client

Publications (2)

Publication Number Publication Date
CN102984267A CN102984267A (en) 2013-03-20
CN102984267B true CN102984267B (en) 2016-05-11

Family

ID=47858000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210526492.9A Expired - Fee Related CN102984267B (en) 2012-12-07 2012-12-07 A kind of method and system that realize distributed caching node and dynamically update client

Country Status (1)

Country Link
CN (1) CN102984267B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103346910A (en) * 2013-06-25 2013-10-09 曙光信息产业(北京)有限公司 Method and device for managing available mode of servers
CN104866380B (en) * 2015-06-18 2018-07-06 北京搜狐新媒体信息技术有限公司 A kind for the treatment of method and apparatus of the state conversion of cluster management system
CN105847352B (en) * 2016-03-22 2019-09-17 聚好看科技股份有限公司 Expansion method, device and distributed cache system based on distributed cache system
CN105978744B (en) * 2016-07-26 2018-10-26 浪潮电子信息产业股份有限公司 A kind of resource allocation methods, apparatus and system
CN108089934B (en) * 2016-11-22 2021-08-03 成都华为技术有限公司 Cluster management method and cluster server
CN106790092B (en) * 2016-12-23 2020-06-19 北京奇艺世纪科技有限公司 Remote procedure call server control system and method
CN110661637A (en) * 2018-06-30 2020-01-07 华为技术有限公司 Distributed system member changing method and distributed system
CN111031126B (en) * 2019-12-10 2022-08-12 江苏满运软件科技有限公司 Cluster cache sharing method, system, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222410A (en) * 2008-01-22 2008-07-16 张建中 Neighborhood-resource discovering method, device and system
CN102035886A (en) * 2006-11-09 2011-04-27 微软公司 Consistency within a federation infrastructure
CN102693324A (en) * 2012-01-09 2012-09-26 西安电子科技大学 Distributed database synchronization system, synchronization method and node management method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035886A (en) * 2006-11-09 2011-04-27 微软公司 Consistency within a federation infrastructure
CN101222410A (en) * 2008-01-22 2008-07-16 张建中 Neighborhood-resource discovering method, device and system
CN102693324A (en) * 2012-01-09 2012-09-26 西安电子科技大学 Distributed database synchronization system, synchronization method and node management method

Also Published As

Publication number Publication date
CN102984267A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102984267B (en) A kind of method and system that realize distributed caching node and dynamically update client
CN104199957B (en) A kind of implementation method of Redis general-purpose proxies
CN102739720B (en) Distributed cache server system and application method thereof, cache clients and cache server terminals
CN103138912B (en) Method of data synchronization and system
CN103701913B (en) Data synchronization method and device
CN105472002A (en) Session synchronization method based on instant copying among cluster nodes
CN101447895A (en) Collocation method for synchronizing network management and network element and device thereof
CN105592127B (en) Application management system for cloud computing environment
CN106815342A (en) A kind of distributed file system user quota system and method
CN102571417A (en) Method for realizing dynamic topology
CN104537119A (en) Update method of cache data, data use terminal and system
CN105681420A (en) Method for realizing backup of switch operating system based on Docker
CN103970567A (en) Method for online upgrading of cloud storage system firmware
US20180199175A1 (en) M2m node management method and apparatus, and computer storage medium
CN105912422A (en) Data backup method, backup client and data backup system
CN104168140A (en) VTEP abnormal condition processing method and device
CN103530335B (en) In-stockroom operation method and device of electric power measurement acquisition system
CN104601365A (en) Monitoring method and device for node device
US20160308871A1 (en) Network element data access method and apparatus, and network management system
CN103535015A (en) Management method of public network address resource, terminal control protocol server and client
CN102694824B (en) User data storage system and data access method thereof
CN104516744A (en) Software updating method and system
CN108011870B (en) A kind of remote software online upgrading information automatic identification management method
CN106649702A (en) File storage method and apparatus of cloud storage system, and cloud storage system
CN101841425A (en) Network backup method, device and system without proxy

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 100086 12, 1201, 3 building, 2 South Road, Haidian District Academy of Sciences, Beijing.

Patentee after: BEIJING SOHU NEW MEDIA INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 100084 Beijing Haidian District Zhongguancun East Road 1 hospital 9 building Sohu cyber Building 8 floor 802 room.

Patentee before: BEIJING SOHU NEW MEDIA INFORMATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160511