Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Re: Better stats for redis-as-cache

Re: Better stats for redis-as-cache
(22 lines)
COW bloat on Linux 3.0.x kernels?
(24 lines)
Feb 1, 2012
Mike K
Mike K
Thanks, Salvatore! 

Looking good; here's the output of one server:

keyspace_hits:3623
keyspace_misses:27091
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:0
vm_enabled:0
role:master
db0:keys=1304376,expires=0

(right now we're mostly populating data and not reading much from it yet)

In the previous case, that misses number would have been much closer to the

keys number





Reply
Tags: pubsubusecsalvatore
Messages in this thread
Re: Better stats for redis-as-cache
reply Re: Better stats for redis-as-cache
(22 lines) Feb 2, 2012 02:53
Re: Better stats for redis-as-cache
February 1, 2012 02:59:09 PM
On Wed, Feb 1, 2012 at 9:53 PM, Salvatore Sanfilippo <ant### @gmail.com> wrote: > I'm testing the branch right now to see if it behaves as expected from > the point of view of the two fields. AFAIK it is working exactly as expected,…
redis-stats
August 27, 2011 04:56:59 AM
------- data ------ ------------ load ----------------------------- - childs - keys used-mem clients blpops requests connections 18061005 9.56G 20 0 1003023075 (+1003023075) 4768271 18061007 9.56G 24 0…
Redis sorting stats
August 2, 2010 07:33:27 AM
Hi all, One of the use case for redis has been to store hits/pageviews/counts. Redis is good in that. However, how do you guys go about SORTING the pageviews? Sorting in redis is still very slow, compare to the result you can get from mysql, etc. …
Created] (CAMEL-3926) Add cache stats on JMX producer and consumer caches
May 2, 2011 06:24:14 AM
Add cache stats on JMX producer and consumer caches
redis as LRU cache?
October 14, 2010 01:53:26 PM
I've been curious to try to get redis working as an LRU cache with a predefined bounded memory size. Initially I thought using maxmemory plus volatile keys would do the trick, but some quick testing resulted in a consistent failure case:…
Redis cache
November 27, 2011 08:57:46 PM
Hi I have a question about redis cache as below: - Please expected that I have 2 variables: int32_t a and int32_t b while a is a "key" and b is a "value". In my case, I want to add the pair <a, b> to redis cache, I used :…
using Redis as second level cache for NHibernate ORM
November 4, 2010 09:12:23 PM
Hello! I am planning on developing a Redis second level cache provider for NHibernate. It looks like ServiceStackRedis is the most mature C# client for Redis. Can anyone comment on this library, stability-wise, or otherwise? Also, I am really…
Using Redis as a disk-backed cache
March 19, 2011 09:05:15 PM
Hi all -- First off, Redis is an amazing tool! We've used it fairly extensively for many different things in our company, and have very happy with the performance and results. So thanks for all of the effort and development! We recently switched…
Redis cache provider for NHibernate
November 10, 2010 07:55:07 PM
For all of the .NET heads here, you can now use Redis as your second level cache in NHibernate. Get it here: https://github.com/boxerab/NHRedis In this release, it simply mimics memcached. But, I am hoping to use some of the cooler Redis…
Issue 422 in redis: cache-max-memory has no effect
January 4, 2011 09:29:23 AM
Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 422 by chris.ingrassia: cache-max-memory has no effect http://code.google.com/p/redis/issues/detail?id=422 What steps will reproduce the problem? 1. set diskstore-enabled=yes…
Performance of redis versus apc on local server (as L1 cache)
October 30, 2011 06:07:39 PM
I am currently using a (manually sharded) redis cluster as a cache which is queried by a separate cluster of apache web servers. In trying to improve performance, and from reading…
Tag-based cache invalidation in redis cluster+scripting
October 24, 2011 03:43:57 AM
What is the most efficient way to implement the following tag-based cache invalidation mechanism within the updating redis cluster +scripting? Basically, redis is used to store cache entries that are associated to 1 or more tags. At various times,…
Issue 558 in redis: Diskstore evicting keys after cache-max-memory exceeded
May 21, 2011 03:53:56 PM
Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 558 by mike.### @gmail.com: Diskstore evicting keys after cache-max-memory exceeded http://code.google.com/p/redis/issues/detail?id=558 What version of Redis you are using,…
Issue 611 in redis: redis get config dir will hang a client forever if the internal redis call to ge
July 26, 2011 11:03:54 PM
Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 611 by mlev### @gmail.com: redis get config dir will hang a client forever if the internal redis call to getcwd command fails…
Issue 409 in redis: Minor issues with redis-benchmark and redis 2-2 RC1 (patch attached)
December 18, 2010 04:25:20 AM
Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 409 by didier.06: Minor issues with redis-benchmark and redis 2-2 RC1 (patch attached) http://code.google.com/p/redis/issues/detail?id=409 This short patch fixed several…
Issue 605 in redis: wordsmithing http://redis.io/topics/faq Why did you started the Redis project?
July 15, 2011 11:57:06 AM
Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 605 by dono### @homerun.com: wordsmithing http://redis.io/topics/faq Why did you started the Redis project? http://code.google.com/p/redis/issues/detail?id=605 Why did you…
Re: Issue 132 in redis: Comment at the top of utils/redis-copy.rb applies to redis-sha1.rb
August 24, 2010 03:15:56 AM
Updates: Status: Done Comment #1 on issue 132 by antirez: Comment at the top of utils/redis-copy.rb applies to redis-sha1.rb http://code.google.com/p/redis/issues/detail?id=132 done, thanks
Re: Issue 260 in redis: r.keys() from redis-py v1.34.1 failing against redis 2.0.0-rc1
August 31, 2010 06:33:34 AM
Updates: Status: Done Comment #6 on issue 260 by antirez: r.keys() from redis-py v1.34.1 failing against redis 2.0.0-rc1 http://code.google.com/p/redis/issues/detail?id=260 (No comment was entered for this change.)
Resolved: (HTTPCLIENT-963) client cache does not respect 'Cache-Control: no-store' on requests
July 12, 2010 04:40:50 PM
[ https://issues.apache.org/jira/browse/HTTPCLIENT-963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCLIENT-963.
Updated: (HTTPCLIENT-963) client cache does not respect 'Cache-Control: no-store' on requests
July 12, 2010 03:18:53 PM
[ https://issues.apache.org/jira/browse/HTTPCLIENT-963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Moore updated HTTPCLIENT-963:
Error while connecting to Redis cache server.
January 10, 2011
Hello All, I am trying to connect to Redis cache server which is running on my machine (Windows 7). Whenever I start my client to put some keys into…
Idiom to manage on-demand cache in Redis' set
March 21, 2011
Redis 2.0. (Solutions for 2.2 are also interesting, but, sadly, I can't upgrade yet.) I need to store some data in Redis set: SADD mycache apple…
What's differece between the django's cache ?the The per-site cache,The per-view cache,Specifying per-view cache and Template fragment caching
February 19, 2011
i know the django has some cache method such as the The per-site cache,The per-view cache,Specifying per-view cache and Template fragment caching…
I'm considering Redis backed web application, but I'm not sure about the hardware requirements for Redis, or really precisely how Redis "works"?
March 4, 2011
I'm new to Redis, as in... I'm really not sure how it works. But I'm considering it for a web app with a relatively uncomplicated data structure…
PHP and storing stats
January 15, 2011
Using PHP5 and the latest version of MySQL I want to be able to track impressions and clicks for business listings. My question is if I did this…
Is it possible to get all these stats with one query?
May 5, 2011
I have a Vote-scoring system, each user can score any product each day (maximum of 10 points a day, but they can go on the same product each day).…
If a server returns Cache-Control=public with no Max-Age or Expires, can a proxy cache it forever?
March 24, 2011
If a server returns Cache-Control=public with no Max-Age or Expires, can a proxy server cache it forever? Do proxies or the spec have a built-in…
Best ways to cache objects in a concurrent environment with distributed cache servers
March 30, 2011
I have a larger scale web application (multiple web servers) and I started introducing object caching to lessen the load on the database (using…
What cache server for .NET is th best?(CSql, Memcached, NCache, Shared Cache, AppFabric)?
May 24, 2011
Hi everyone, I am trying to choose cache server for my project that will be written on .NET. I found a list of servers:CSql, Memcached, NCache,…
How to reset all mysql stats ?
January 24, 2011
Hi all, I can't seem to find a way to reset all the mysql stats (that show in the 'Stats' page in phpmyadmin) - I can reset the Server Traffic…
Php memcached stats page
February 26, 2011
I'm running php 5.3. I have installed the pecl memcached extension. Once upon a time there was the memcache.php (which I'm aware is still around and…
Which is Better? Cache on a Disk File or Cache in a Temporary Table in MySQL
March 22, 2011
the question is very self-explained, in matter of performance and all, which way is better to store little amounts of data? MySQL or Small File in a…
Nginx 0.67 ignores Cache-Control: no-cache from upstream proxy
February 25, 2011
I want to specify no caching for some responses from my (Pylons) upstream server in order to avoid users being able to access cached content after…
Cannot remove Cache-Control: no-cache="set-cookie" in Apache2
January 13, 2011
Hello! I am a mediocre apache2 configuration specialist so I am looking to the apache GODS to school me on a specific header that is causing some…
Safari won't cache XMLHttpRequest and sets Pragma: no-cache
February 3, 2011
I have read a lot of folks trying to prevent Safari from caching but my problem is opposite. I have an XMLHttpRequest that works fine in FF, IE,…
[ezSQL cache] Deleting Specific Cache Files
June 2, 2011
As you know, ezSql has a useful caching feature. I'm newly using this but when i edit anything on database, i'm deleting all cached files, and…
MongoDB MapReduce Stats Engine
May 10, 2011
I'm trying to develop a generic reporting engine for a MongoDB system which will aggregate information from a set of documents. I won't know the…
MySQL Partition usage stats
May 31, 2011
Hello, I applied partitioning to my tables today, and would now like to see stats for each partition (how many rows per partition). Now, I…
MongoDB .Stats() Bits or bytes?
May 21, 2011
For MongoDB, when using .stats() to determine document size; are the values based in bits or bytes? Thanks!
Fastest query to get the rank from stats.
June 19, 2011
I want to get the rank of a player from the DB. The problem is that the ORDER BY wouldn't just cut it. I have a table of stats, each stat has an…