CN109040272A - A kind of JAVA unique caching processing frame model - Google Patents

A kind of JAVA unique caching processing frame model Download PDF

Info

Publication number
CN109040272A
CN109040272A CN201810933851.XA CN201810933851A CN109040272A CN 109040272 A CN109040272 A CN 109040272A CN 201810933851 A CN201810933851 A CN 201810933851A CN 109040272 A CN109040272 A CN 109040272A
Authority
CN
China
Prior art keywords
cluster
caching
cache
module
source
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.)
Pending
Application number
CN201810933851.XA
Other languages
Chinese (zh)
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 Zhongke Wutong Network Technology Co Ltd
Original Assignee
Beijing Zhongke Wutong Network 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 Zhongke Wutong Network Technology Co Ltd filed Critical Beijing Zhongke Wutong Network Technology Co Ltd
Priority to CN201810933851.XA priority Critical patent/CN109040272A/en
Publication of CN109040272A publication Critical patent/CN109040272A/en
Pending legal-status Critical Current

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
    • 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/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

The present invention provides a kind of JAVA unique cachings to handle frame model, it include: cache cluster, caching source, cluster selecting module, cluster configuration module, business routing module, the cluster selecting module, cluster configuration module connect business routing module, cluster selecting module is connect with cache cluster, cache cluster Connection Cache source, caching source include Redis cluster, Ehcache cluster, Cacheonix cluster, and the cache cluster includes at least two caching middleware;The present invention can be with JVM caching, Redis caching, Memcached caching in continuous integrating caching source, cache cluster can provide continuous integrating caching extension point, support cluster building and configuration between caching, support the self-defined message queue based on caching middleware, corresponding affairs can be opened according to specific business, simple with framework, data stream transmitting amount is good, the effective efficiency for improving exploitation.

Description

A kind of JAVA unique caching processing frame model
Technical field
The invention belongs to data cached processing technology fields, and in particular to a kind of JAVA unique caching processing frame model.
Background technique
J2EE (Java 2 Platform, Enterprise Edition) is the calculating class that one is large enterprises' host-level Type and the Java platform designed, for simplifying in the application and development under by client level environment, by creating the reusable of standard Modular assembly and the hierarchical organization that various problems in programming can be automatically processed due to constructing, J2EE simplify application program Exploitation, also reduce to programming and requirement to trained programmer.J2EE be build with scalability, flexibility, easily The business system of maintainability provides good mechanism, and J2EE framework can make full use of existed system, and such as some companies use BEA Tuxedo, IBM CICS, IBM Encina, Inprise VisiBroker and Netscape Application Server can also give intermediate suppliers some general, troublesome server-side tasks and go to complete.
JAVA developer needs to call various data cached, the cache structure of existing mainstream, such as JVM when developing software Caching belongs to single virtual machine, can not share between multi-dummy machine, and local cache is excessive, is easy the garbage collection of trigger the server, In the garbage collection of trigger the server, be easily reduced the overall performance of server, and it is data cached can not persistence, once delay Machine can not restore;Jedis caching, only supports Redis, and it is shared to be unable to reach multiple caching middlewares, Jedis cache to memory according to Lai great, learning curve is big, and switching is difficult, and above-mentioned cache structure haves the shortcomings that common, i.e., every kind caching middleware requires to slap It holds, increases learning difficulty, a variety of cachings can not independently switch, flexible configuration, and data format and type are needed according in difference Between part individually convert.
Summary of the invention
According to above-mentioned elaboration, the purpose of the present invention is to provide a kind of JAVA unique cachings to handle frame model, can be with needle Access and storage to different caching Middleware implementation unique cachings, by providing expansion corresponding to different caching middlewares Machine plotting supports the cluster access of different caching middlewares, belongs to High Availabitity, the service architecture of high concurrent.
Technical solution provided by the invention:
A kind of JAVA unique caching processing frame model, comprising: cache cluster, caching source, cluster selecting module, collection flock mating Module, business routing module are set, the cluster selecting module, cluster configuration module connect business routing module, and cluster selects mould Block is connect with cache cluster, cache cluster Connection Cache source, and caching source includes Redis cluster, Ehcache cluster, Cacheonix Cluster, the cache cluster include at least two caching middleware;
JAVA unique caching handles frame model flow are as follows:
Operation system issues caching process business to business routing module, and cluster configuration module will be delayed according to configuration rule Processing business is deposited to distribute to cluster selecting module, cluster selecting module distribution process, caching in cache cluster caching middleware Middleware obtains data cached from caching source.
In above-mentioned technical proposal, the cluster configuration module is ZooKeeper software.
The present invention can be with JVM caching, Redis caching, Memcached caching in continuous integrating caching source, and cache cluster can To provide continuous integrating caching extension point, supports cluster building and configuration between caching, support based on the customized of caching middleware Message queue can open corresponding affairs according to specific business, have framework simple, and data stream transmitting amount is good, effective to improve The efficiency of exploitation.
Detailed description of the invention
Fig. 1 the structural representation of present invention;
Specific embodiment
Technical solution of the present invention is clearly and completely described with reference to the accompanying drawings and detailed description, it is clear that Described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the implementation in the present invention Example, every other embodiment obtained by those of ordinary skill in the art without making creative efforts belong to The scope of protection of the invention.
According to Fig. 1, a kind of JAVA unique caching handles frame model, comprising: cache cluster, caching source, collection mass selection Select module, cluster configuration module, business routing module.
Cluster selecting module, cluster configuration module connect business routing module, and cluster selecting module is connect with cache cluster, Cache cluster Connection Cache source.
Cluster configuration module is ZooKeeper software, and ZooKeeper is one distributed, the distribution of open source code Application program coordination service, is the significant components of Hadoop and Hbase, the function of providing include: configuring maintenance, domain name service, Distributed synchronization, group service etc., the target of ZooKeeper is exactly the error-prone key service of packaged complexity, will be easy to use Interface and the system of performance efficiency, function-stable be supplied to user.
Caching source includes Redis cluster, Ehcache cluster, Cacheonix cluster.
Cache cluster includes at least two caching middleware, and caching middleware number can according to need extension;
JAVA unique caching handles frame model flow are as follows:
Operation system issues caching process business to business routing module, and cluster configuration module will be delayed according to configuration rule Processing business is deposited to distribute to cluster selecting module, cluster selecting module distribution process, caching in cache cluster caching middleware Middleware obtains data cached from caching source;
The foregoing describe basic principle of the invention and advantages.It should be understood by those skilled in the art that the present invention not by The limitation of above-mentioned case study on implementation is merely illustrated the principles of the invention described in above-mentioned case study on implementation and specification, is not being departed from Under the premise of spirit and scope of the invention, various changes and improvements may be made to the invention, these changes and improvements both fall within requirement In the scope of the invention of protection.Claimed range of the invention is defined by the appending claims and its equivalent thereof.

Claims (2)

1. a kind of JAVA unique caching handles frame model, it is characterised in that: select mould including cache cluster, caching source, cluster Block, cluster configuration module, business routing module, the cluster selecting module, cluster configuration module connect business routing module, collection Group selecting module connect with cache cluster, cache cluster Connection Cache source, caching source include Redis cluster, Ehcache cluster, Cacheonix cluster, the cache cluster include at least two caching middleware;
JAVA unique caching handles frame model flow are as follows:
Operation system issues caching process business to business routing module, and cluster configuration module is according to configuration rule, at caching Traffic assignments are managed to cluster selecting module, cluster selecting module distribution process, caching in cache cluster caching middleware is intermediate Part obtains data cached from caching source.
2. a kind of JAVA unique caching according to claim 1 handles frame model, it is characterised in that: the cluster configuration Module is ZooKeeper software.
CN201810933851.XA 2018-08-16 2018-08-16 A kind of JAVA unique caching processing frame model Pending CN109040272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810933851.XA CN109040272A (en) 2018-08-16 2018-08-16 A kind of JAVA unique caching processing frame model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810933851.XA CN109040272A (en) 2018-08-16 2018-08-16 A kind of JAVA unique caching processing frame model

Publications (1)

Publication Number Publication Date
CN109040272A true CN109040272A (en) 2018-12-18

Family

ID=64630563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810933851.XA Pending CN109040272A (en) 2018-08-16 2018-08-16 A kind of JAVA unique caching processing frame model

Country Status (1)

Country Link
CN (1) CN109040272A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927368A (en) * 2014-04-22 2014-07-16 浪潮软件股份有限公司 Method of lightweight framework for generating thermodynamic diagram according to streaming data concept
CN106557561A (en) * 2016-11-16 2017-04-05 贵州大学 Magnanimity sensing data storage system and method based on HBase
CN106657258A (en) * 2016-11-04 2017-05-10 成都视达科信息技术有限公司 Realization method and device of safe acceleration middleware based on NGINX+LUA
US20170153910A1 (en) * 2014-04-28 2017-06-01 Oracle International Corporation System and method for supporting transaction affinity based on resource manager (rm) instance awareness in a transactional environment
CN106844784A (en) * 2017-03-14 2017-06-13 上海网易小额贷款有限公司 Data cache method, device and computer-readable recording medium
CN107025243A (en) * 2016-02-02 2017-08-08 北京神州泰岳软件股份有限公司 A kind of querying method of resource data, inquiring client terminal and inquiry system
CN107517266A (en) * 2017-09-05 2017-12-26 江苏电力信息技术有限公司 A kind of instant communication method based on distributed caching

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927368A (en) * 2014-04-22 2014-07-16 浪潮软件股份有限公司 Method of lightweight framework for generating thermodynamic diagram according to streaming data concept
US20170153910A1 (en) * 2014-04-28 2017-06-01 Oracle International Corporation System and method for supporting transaction affinity based on resource manager (rm) instance awareness in a transactional environment
CN107025243A (en) * 2016-02-02 2017-08-08 北京神州泰岳软件股份有限公司 A kind of querying method of resource data, inquiring client terminal and inquiry system
CN106657258A (en) * 2016-11-04 2017-05-10 成都视达科信息技术有限公司 Realization method and device of safe acceleration middleware based on NGINX+LUA
CN106557561A (en) * 2016-11-16 2017-04-05 贵州大学 Magnanimity sensing data storage system and method based on HBase
CN106844784A (en) * 2017-03-14 2017-06-13 上海网易小额贷款有限公司 Data cache method, device and computer-readable recording medium
CN107517266A (en) * 2017-09-05 2017-12-26 江苏电力信息技术有限公司 A kind of instant communication method based on distributed caching

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小白杨: "Spring Boot 使用Redis和Ehcache做拥有二级缓存的系统", 《CSDN博客,HTTPS://BLOG.CSDN.NET/U014104286/ARTICLE/DETAILS/79149578》 *

Similar Documents

Publication Publication Date Title
US10129116B2 (en) Techniques for capturing execution time data in dataflow graphs
US5870605A (en) Middleware for enterprise information distribution
US5937388A (en) System and method for performing scalable distribution of process flow activities in a distributed workflow management system
US5873084A (en) Database network connectivity product
US8719844B2 (en) Merging realtime data flows
CN105335221B (en) Based on restructural distributed software bus
JP4422606B2 (en) Distributed application server and method for implementing distributed functions
Petriu et al. From UML descriptions of high-level software architectures to LQN performance models
WO2005106666A1 (en) A system and method for modeling and dynamically deploying services into a distributed networking architecture
Sturman et al. A protocol description language for customizing failure semantics
CN105975261B (en) A kind of runtime system and operation method called towards unified interface
Dinda et al. A unified relational approach to grid information services
CN109040272A (en) A kind of JAVA unique caching processing frame model
Petriu et al. Deriving software performance models from architectural patterns by graph transformations
CN1984149A (en) Distributing system based on message and its telecommunication
Li et al. Decentralized execution of event-driven scientific workflows
CN104980510A (en) Method for transparent clustering of CORBA distributed applications
Mikkelsen et al. Architectural Principles for Autonomous Microservices.
Pavlou The OSIMIS TMN Platform: Support for Multiple Technology Integrated Management Systems
CN115857915B (en) Object digitizing method for meta-universe system development
Sang et al. Mobile-process-based parallel simulation
Dillenseger et al. Programming and executing telecommunication service logic with moorea reactive mobile agents
Ribeiro et al. The application of JADE and OSGi technologies in the telecommunications services architecture
Braubach et al. Macro Architecture for Microservices: Improving Internal Quality of Microservice Systems
Wang et al. Design and Research of SDN Unified Controller in Large Data Center

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218

RJ01 Rejection of invention patent application after publication