CN106547664A - C# version Redis system monitoring instruments - Google Patents

C# version Redis system monitoring instruments Download PDF

Info

Publication number
CN106547664A
CN106547664A CN201610962667.9A CN201610962667A CN106547664A CN 106547664 A CN106547664 A CN 106547664A CN 201610962667 A CN201610962667 A CN 201610962667A CN 106547664 A CN106547664 A CN 106547664A
Authority
CN
China
Prior art keywords
redis
monitoring
window
versions
classes
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
CN201610962667.9A
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 Car Win Software Co Ltd
Original Assignee
Beijing Car Win Software 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 Car Win Software Co Ltd filed Critical Beijing Car Win Software Co Ltd
Priority to CN201610962667.9A priority Critical patent/CN106547664A/en
Publication of CN106547664A publication Critical patent/CN106547664A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of C# versions Redis system monitoring instrument, is related to Redis technical field of data processing.The monitoring tools are used for use and the ruuning situation for monitoring Redis systems, the functions such as Redis cache hit rates, the key quantity of caching, the content of the concrete key of caching, the internal memory for consuming and CPU situations, the client terminal quantity of connection, slow inquiry, backup database, compression AOF persistence files are checked in offer, the operation conditions and analysis Redis systematic function bottlenecks of Redis systems are checked conveniently, quickly can find when a problem occurs and orientation problem, support is provided for quick solve problem, is that operation system normally runs the strong support of offer.Developer's management can be facilitated and Redis systems are monitored, while C# developer can be enable to learn and study monitoring logic, maintain easily and upgrade monitoring tools, to provide more, more preferable function set.

Description

C# version Redis system monitoring instruments
Technical field
The present invention relates to Redis technical field of data processing, more particularly to a kind of C# versions Redis system monitoring instrument.
Background technology
Redis be a use ANSI C language increased income write, support network, can based on internal memory also can persistence day Will type, Key-Value data bases, and the API of polyglot is provided.Redis is a key-value storage system.With Memcached is similar to, and it supports that the value types of storage are relatively more, including string (character string), list (chained list), set (set), zset (ordered set) and hash (Hash type).These data types all support push/pop, add/remove and Common factor union and difference set and more rich operation are taken, and these operations are all atomicities.On this basis, Redis is supported The sequence of various different modes.As memcached, for guaranteed efficiency, data are buffered in internal memory.Difference be The log file that Redis periodically can be added the data write disk for updating or modification operation write, and here On the basis of to realize master-slave (principal and subordinate) synchronous.It is usually used to as caching system, for caching the focus of website Data, to mitigate the access pressure of back-end data source.
RedisClient is management Redis server gui tools, is write using Java swt and Jedis.It is by Redis Data present to user with the look & feel of window explorer, can help Redis developer and attendant side Just foundation, modification are deleted, and inquire about Redis data, but, for the developer using C#, in study and research prison There are certain study threshold and cost in terms of control logic, maintenance, upgrading, reparation BUG.This tool performance is slightly worse in addition, and network is not When good, can break frequently.
The content of the invention
It is an object of the invention to provide a kind of C# versions Redis system monitoring instrument, so as to solve exist in prior art Foregoing problems.
To achieve these goals, the technical solution used in the present invention is as follows:
A kind of C# versions Redis system monitoring instrument, including:Communication generic module, for being communicated with Redis systems, is obtained The running state information of Redis systems, and for arranging the ambient parameter of Redis systems;Monitoring generic module, for monitoring The various information of Redis systems;The monitoring generic module is located on the communication generic module.
Preferably, the communication generic module adopts ServiceStackRedisDLL classes.
Preferably, the monitoring generic module is to realize monitoring the window of Redis system various informations in WinForm modes.
Preferably, the monitoring generic module includes:MonitorSetForm classes, PatternKeysForm classes, InsrallExpire Form classes, BaseControl Form classes, Connection Form classes, Rename Form classes and Common classes.
Preferably, the MonitorSetForm classes are for arranging the window for receiving order.
Preferably, the Rename Form classes are the windows for changing key titles.
Preferably, the InsrallExpire Form classes are the windows for arranging Key expired times.
Preferably, the BaseControlForm classes are the windows for checking each monitored item information, comprising whole prisons Control information, by the Tab switching monitoring items of information in menu and window.
Preferably, the window for checking each monitored item information includes:It is monitoring statisticss window, hit rate window, slow Query window, reception command window, system arrange window and check key value windows.
The invention has the beneficial effects as follows:C# versions Redis system monitoring instrument provided in an embodiment of the present invention, for monitoring The use of Redis systems and ruuning situation, there is provided check Redis cache hit rates, the key quantity of caching, the concrete key of caching Content, the internal memory for consuming and CPU situations, the client terminal quantity of connection, slow inquiry, backup database, compression AOF persistences it is literary The functions such as part, conveniently check the operation conditions and analysis Redis systematic function bottlenecks of Redis systems, when a problem occurs can be fast Speed finds and orientation problem, provides support for quick solve problem, be that operation system normally runs the strong support of offer.
Using C#Redis system monitoring instruments, developer's management can be facilitated and Redis systems are monitored, while can be with C# developer is enable to learn and study monitoring logic, maintain easily and upgrade monitoring tools, to provide more, more preferable use Function set.
Description of the drawings
Fig. 1 is the structural representation of C# version Redis system monitoring instruments;
Fig. 2 is the window for connecting Redis systems;
Fig. 3 is to arrange the window for receiving order;
Fig. 4 is the window for changing key titles;
Fig. 5 is the window for arranging Key expired times;
Fig. 6 is to look at the window of each monitored item information;
Fig. 7 is monitoring statisticss window;
Fig. 8 is hit rate window;
Fig. 9 is slow query window;
Figure 10 is to receive command window;
Figure 11 is that system arranges window;
Figure 12 is to look at key value windows.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing, the present invention is entered Row is further described.It should be appreciated that specific embodiment described herein is not used to only to explain the present invention Limit the present invention.
As shown in figure 1, a kind of C# versions Redis system monitoring instrument is embodiments provided, including:Communication class mould Block, for communicating with Redis systems, obtains the running state information of Redis systems, and for arranging the ring of Redis systems Border parameter;Monitoring generic module, for monitoring the various information of Redis systems;The monitoring generic module is located at the communication class mould On block.
Wherein, the communication generic module adopts ServiceStackRedisDLL classes.
The monitoring generic module is to realize monitoring the window of Redis system various informations in WinForm modes.
The monitoring generic module includes:MonitorSetForm classes, PatternKeys Form classes, InsrallExpire Form classes, BaseControl Form classes, Connection Form classes, Rename Form classes and Common classes.
The Connection Form classes are the windows for connecting Redis systems, as shown in Figure 2.
The MonitorSetForm classes are for arranging the window for receiving order, as shown in Figure 3.
The Rename Form classes are the windows for changing key titles, as shown in Figure 4.
The InsrallExpire Form classes are the windows for arranging Key expired times, as shown in Figure 5.
The BaseControlForm classes are the windows for checking each monitored item information, comprising whole monitoring informations, It is as shown in Figure 6 by the Tab switching monitoring items of information in menu and window.
The window for checking each monitored item information includes:Monitoring statisticss window, hit rate window, window is inquired about slowly Mouth, reception command window, system arrange window and check key value windows, respectively as shown in Fig. 7-Figure 12.
By using above-mentioned technical proposal disclosed by the invention, having obtained following beneficial effect:The embodiment of the present invention is carried For C# version Redis system monitoring instruments, for monitoring use and the ruuning situation of Redis systems, there is provided check Redis cache Hit rate, the key quantity of caching, the content of the concrete key of caching, the internal memory for consuming and CPU situations, the number clients of connection The functions such as amount, slow inquiry, backup database, compression AOF persistence files, conveniently check the operation conditions of Redis systems and divide Analysis Redis systematic function bottlenecks, can quickly find when a problem occurs and orientation problem, provide support for quick solve problem, The strong support of offer is run normally for operation system.
Using C#Redis system monitoring instruments, developer's management can be facilitated and Redis systems are monitored, while can be with C# developer is enable to learn and study monitoring logic, maintain easily and upgrade monitoring tools, to provide more, more preferable use Function set.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.
Those skilled in the art should be understood that the sequential of the method and step that above-described embodiment is provided can be entered according to practical situation Row accommodation, is concurrently carried out also dependent on practical situation.
All or part of step in the method that above-described embodiment is related to can be instructed by program correlation hardware come Complete, described program can be stored in the storage medium that computer equipment can read, for performing the various embodiments described above side All or part of step described in method.The computer equipment, for example:Personal computer, server, the network equipment, intelligent sliding Dynamic terminal, intelligent home device, wearable intelligent equipment, vehicle intelligent equipment etc.;Described storage medium, for example:RAM、 ROM, magnetic disc, tape, CD, flash memory, USB flash disk, portable hard drive, storage card, memory stick, webserver storage, network cloud storage Deng.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation are made a distinction with another entity or operation, and are not necessarily required or implied these entities or operation Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant are anticipated Covering including for nonexcludability, so that a series of process, method, commodity or equipment including key elements not only includes that A little key elements, but also including other key elements being not expressly set out, or also include for this process, method, commodity or The intrinsic key element of equipment.In the absence of more restrictions, the key element for being limited by sentence "including a ...", does not arrange Except also there is other identical element in including the process of the key element, method, commodity or equipment.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should Depending on protection scope of the present invention.

Claims (9)

1. a kind of C# versions Redis system monitoring instrument, it is characterised in that include:Communication generic module, for logical with Redis systems Letter, obtains the running state information of Redis systems, and for arranging the ambient parameter of Redis systems;Monitoring generic module, uses In the various information of monitoring Redis systems;The monitoring generic module is located on the communication generic module.
2. C# versions Redis system monitoring instrument according to claim 1, it is characterised in that the communication generic module is adopted ServiceStackRedisDLL classes.
3. C# versions Redis system monitoring instrument according to claim 2, it is characterised in that the monitoring generic module be with WinForm modes realize the window for monitoring Redis system various informations.
4. C# versions Redis system monitoring instrument according to claim 3, it is characterised in that the monitoring generic module includes: MonitorSetForm classes, PatternKeys Form classes, InsrallExpire Form classes, BaseControl Form classes, Connection Form classes, Rename Form classes and Common classes.
5. C# versions Redis system monitoring instrument according to claim 4, it is characterised in that the MonitorSetForm Class is for arranging the window for receiving order.
6. C# versions Redis system monitoring instrument according to claim 4, it is characterised in that the Rename Form classes are For changing the window of key titles.
7. C# versions Redis system monitoring instrument according to claim 4, it is characterised in that the InsrallExpire Form classes are the windows for arranging Key expired times.
8. C# versions Redis system monitoring instrument according to claim 4, it is characterised in that the BaseControlForm Class is the window for checking each monitored item information, comprising whole monitoring informations, by the Tab switching prisons in menu and window Control item of information.
9. C# versions Redis system monitoring instrument according to claim 8, it is characterised in that described for checking each monitoring The window of item information includes:Monitoring statisticss window, hit rate window, slow query window, reception command window, system arrange window With check key value windows.
CN201610962667.9A 2016-11-04 2016-11-04 C# version Redis system monitoring instruments Pending CN106547664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610962667.9A CN106547664A (en) 2016-11-04 2016-11-04 C# version Redis system monitoring instruments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610962667.9A CN106547664A (en) 2016-11-04 2016-11-04 C# version Redis system monitoring instruments

Publications (1)

Publication Number Publication Date
CN106547664A true CN106547664A (en) 2017-03-29

Family

ID=58394220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610962667.9A Pending CN106547664A (en) 2016-11-04 2016-11-04 C# version Redis system monitoring instruments

Country Status (1)

Country Link
CN (1) CN106547664A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144604A (en) * 2018-08-02 2019-01-04 山东浪潮通软信息科技有限公司 A kind of caching process method based on Redis
CN109800136A (en) * 2018-12-06 2019-05-24 珠海西山居移动游戏科技有限公司 A kind of long-range redis performance data method of sampling and its system
CN114880158A (en) * 2022-07-11 2022-08-09 飞狐信息技术(天津)有限公司 Redis instance diagnosis method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331505A (en) * 2014-11-20 2015-02-04 合一网络技术(北京)有限公司 Distributed acquisition and storage-based monitoring system
CN104462612A (en) * 2015-01-05 2015-03-25 浪潮(北京)电子信息产业有限公司 Method and device for monitoring database information
CN104933105A (en) * 2015-05-29 2015-09-23 北京奇虎科技有限公司 Analysis method and device for database access request
CN105426544A (en) * 2015-12-25 2016-03-23 北京奇虎科技有限公司 Method and device for monitoring state of database

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331505A (en) * 2014-11-20 2015-02-04 合一网络技术(北京)有限公司 Distributed acquisition and storage-based monitoring system
CN104462612A (en) * 2015-01-05 2015-03-25 浪潮(北京)电子信息产业有限公司 Method and device for monitoring database information
CN104933105A (en) * 2015-05-29 2015-09-23 北京奇虎科技有限公司 Analysis method and device for database access request
CN105426544A (en) * 2015-12-25 2016-03-23 北京奇虎科技有限公司 Method and device for monitoring state of database

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ISOLEO: ""Redis监控和告警"", 《HTTPS://BLOG.CSDN.NET/ISOLEO/ARTICLE/DETAILS/52981140》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144604A (en) * 2018-08-02 2019-01-04 山东浪潮通软信息科技有限公司 A kind of caching process method based on Redis
CN109800136A (en) * 2018-12-06 2019-05-24 珠海西山居移动游戏科技有限公司 A kind of long-range redis performance data method of sampling and its system
CN114880158A (en) * 2022-07-11 2022-08-09 飞狐信息技术(天津)有限公司 Redis instance diagnosis method and device

Similar Documents

Publication Publication Date Title
US11941017B2 (en) Event driven extract, transform, load (ETL) processing
Hu et al. Toward scalable systems for big data analytics: A technology tutorial
US9367574B2 (en) Efficient query processing in columnar databases using bloom filters
US11093466B2 (en) Incremental out-of-place updates for index structures
US10248676B2 (en) Efficient B-Tree data serialization
US10942814B2 (en) Method for discovering database backups for a centralized backup system
US10289714B2 (en) Compression of serialized B-tree data
US10417265B2 (en) High performance parallel indexing for forensics and electronic discovery
US20150234870A1 (en) Dynamic mapping of extensible datasets to relational database schemas
US9152683B2 (en) Database-transparent near online archiving and retrieval of data
US10909091B1 (en) On-demand data schema modifications
US10719554B1 (en) Selective maintenance of a spatial index
US9792312B2 (en) Row identification column authorization profiles
US20230196199A1 (en) Querying databases with machine learning model references
CN106547664A (en) C# version Redis system monitoring instruments
Sogodekar et al. Big data analytics: hadoop and tools
CN110647423B (en) Method, device and readable medium for creating storage volume mirror image based on application
US10095738B1 (en) Dynamic assignment of logical partitions according to query predicate evaluations
CN116049153B (en) Database data processing method and device, electronic equipment and storage medium
US9135253B2 (en) Simulating accesses for archived content
US10360234B2 (en) Recursive extractor framework for forensics and electronic discovery
US10657126B2 (en) Meta-join and meta-group-by indexes for big data
US11347771B2 (en) Content engine asynchronous upgrade framework
US12019631B1 (en) Systems and methods for reducing computational resource usage in a query-based data access system via a repeated query results repository
US20230229657A1 (en) Zero Copy Optimization for SELECT * Queries

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: 20170329

RJ01 Rejection of invention patent application after publication