In addition, we hope you can get some inspiration from the demo address of online experience.Address: http://121.40.148.178:8080/ , user name: Guest, Password: 123456QQ Technology Group: 239168429Engaged in web development for many years, the UI has been my pain, the first use of EXT, licensing costs high for the time being, the front-end frame is really bloated, swollen to use Chrome browser to smooth point.Then is Easyui, than ext is light point, bu
Recently took over a cross-border e-commerce platform development, customer focus on e-commerce website UI design, management background requirements are not high, we decide which background template to choose. Find to find, feel or h.ui some, mainly is this template refreshing, do not need too much choice. Other popular backstage template also looked, but the function is complex, choose very laborious, tak
trouble, so the common data interface is necessaryFive, universal Excel import module, need to import something too much, a table write a method, keep ctrl+c,ctrl+v people crazy, with the Universal import module, ordinary users will be set up, set up Excel and table relationship is good.Vi. Reporting and printingVii. Mail and messagesViii. System LogOf course there are some more commonly used features, here is not one by one cases, I have a demo interested friends can go to seeWe hope you can g
Important NOTE: This Bo has migrated to Shijia's blog, have the question please to the article New address message ...
Recently done a simple back-office management system, which uses the JQuery Easy UI Framework, for the sake of the master of the control can be neatly arranged on the code farmers, this framework is really my savior ah. The simple layout of the home page to share the code to everyone, I
data by backing up the Rdb file. H, RDB files are compressed binary format, so occupy less space than in-memory data size, more conducive to transmission. You can also set the Redcompression parameter to disable compression. I, manual redis Execution Snapshot command: SAVE \ BGSAVE, the difference is that the former is a snapshot operation by the main process, will block the other requests, the latter will be through the fork child process snapshot
-google_perftools_modulemake make install
To add a thread directory:
Mkdir/tmp/tcmallocchown-R www. www/tmp/tcmallocvi/usr/local/nginx/conf/nginx. conf # Add google_perftools_profiles/tmp/tcmalloc to the next line of pid;
Verify whether tcmalloc is effective in Nginx
lsof -n | grep tcmalloc
Each thread (value of work_processes) has a row of records. The numeric value after each thread file is the pid value of the started nginx.
Optimize redis with TC
function to replace the standard libc in the function implementation. The second is to determine whether Jemalloc makes, and finally if not used, the standard LIBC memory management functions. So use Tcmalloc optimization carefully, these two splitter fragmentation rate is not small, it is recommended to bring the JemallocMake Use_tcmalloc=yes FORCE_LIBC_MALLOC=YES/BIN/CP src/{redis-benchmark,
Shiro Cache to Redis management
tags (space delimited): Shiro Redis
Objective:
The following methods are only used by single-use Redis
I. Importing jars for Shiro and Redis
Jedis-2.7.3.jar
shiro-core-1.2.3.jar
shiro-ehcache-1.2.3.jar
Shiro-spring-1.2.3.jar
The cornerstone of Redis memory management ZMALLC.C Source code interpretation (a)
The cornerstone of Redis memory management ZMALLC.C Source code interpretation (ii)
The previous two posts, detailed introduction of the ZMALLOC.C file of the various functions, but we want to learn more
Demand:
In order to accurately monitor the internal state of each server, without affecting the existing business logic, a simple centralized monitoring system for the server needs to be deployed quickly. After consideration, you can use the Redis pub/sub function to implement a monitoring system is very good and appropriate.
Of course, we can also pass this to do batch management.
Pub/sub is literally t
will terminate the replication relationship with the previous master, and will become the new master slave, before the data in master will be emptied, Change to the data in the new master. However, if the slaveof NO one command is executed on the current slave server, the server simply interrupts the replication relationship with the current master and upgrades to the standalone master, where the data is not emptied.
slowlogsubcommand [argument]
1). Slowlog GET N: R
Redis is defined as a service process that can run for a long time at the beginning of the design, so most system configuration parameters can take effect immediately without restarting. Even if the current persistence mode switches from aof to RDB, there is no need to restart. In Redis, we also have some commands related to server management, which we introduce
Memory Management details in redis, redismemory details
Memory Management in redis
The implementation of applying for memory in redis is in zmalloc. c/h. After carefully reading these two files, you can return to redis for applyi
The files for the memory management functions of the Redis database are: Zmalloc.h and ZMALLOC.C.Redis author in the memory management module to consider the view system is installed in the Tcmalloc or Jemalloc module, these two are already a long time memory management module, code stability, excellent performance, if
re-register the function, the return value is the time of the next activation*/ $Aeaddmillisecondstonow (retval,te->when_sec,te->When_ms); - } - Else the { - /*Remove Timer*/Wuyi aedeletetimeevent (EventLoop, id); the } - /*timer function After processing to prevent missing nodes, re-traverse from the head, this place to note that if the timing time is too short, this place will cause a dead loop, and constantly handl
Please refer to the official documentationDownload the required packages:Tomcat-redis-session-manager-1.1.jarJedis-2.1.0.jarCommons-pool-1.6.jarThrow these jar packages into the Tomcat Lib directory, and thenModify TOMCAT7 conf/context.xml file Host= "192.168.100.90" maxinactiveinterval= "1800" port= "6379"/>Host:redis IP of the machine on which the server is locatedPort: Service portMaxinactiveinterval: Cache Expiry timeI'm using Tomcat7.0.32.Related
IntroductionLabels can be seen everywhere during our webpage tour:
Go to the personal Weibo homepage to view tags of yourself/others. The Weibo system will push people with the same tags as you.
Visit blog posts. Most blog posts are tagged to describeArticleSubject for convenient search and query
Online shopping, we often use tags for product search, such as clicking "winter clothes" + "men" + "coat" to filter clothes
Rtags is a node. js module used for tag
A friendly redis web interface management tool. Based on. NET. You can use mono to deploy it on Linux. below is my deployment on centos 5.7 + mono 2.10.8 + jexus 5.0.1:
What is http://www.servicestack.net/mythz_blog? P = 381
Project address: https://github.com/ServiceStack/ServiceStack.RedisWebServices
Source code: https://github.com/ServiceStack/ServiceStack.RedisWebServices/downloads
The
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.