similar to: Memcached Server - Memory Consumption

Displaying 20 results from an estimated 3000 matches similar to: "Memcached Server - Memory Consumption"

2005 Dec 16
11
mysql mem-tables vs. memcached
Could someone please elaborate on the technical differences and practical impact of whether choosing memory-based tables in MySQL or using memcached. I got this far on my own: It seems that MySQL uses the NDB engine for transaction-safe memory access in a cluster. the memory storage engine seems to be faster but not synchronizable by any means in a cluster. memcached seems to be ultimately fast
2006 Feb 12
3
memcache-client/cached_model help
Hi - Just downloaded and installed the memcache-client and cached_model gems and am trying to test it out on a development setup. I added this to my environment/development.rb CACHE = MemCache.new :c_threshold => 10_000, :compression => true, :debug => true, :namespace => ''eztrip'',
2006 Jan 17
10
ActiveRecord + memcache = cached_model
Courtesy of The Robot Co-op. $ yes | sudo gem install cached_model Or, you can download cached_model and memcache-client (our zippy-fast memcache library, required) from: http://rubyforge.org/frs/?group_id=1266 I don''t have the README posted for making cached_model work online yet, so here it is: = CachedModel Rubyforge Project: http://rubyforge.org/projects/rctools/ == About
2006 Mar 01
4
cached_model and memcache-client slowness
Hi there, I''ve got a Rails app that''s a little unusual in that it maintains a database representation of a filesystem (for an image gallery). Thus, if the filesystem is essentially ''out of date'' then the controller''s list action will end up invoking a model update (which involves a filesystem scan). I''m using sqlite3 as this app will be
2006 Jan 20
2
The New Memcache ?
Hey All ! I ended up browsing to Eric Hodel''s blog the other night, and found his entry about the new cache_model and memcache-client. Now, it looks like it''s "officially" out in the open: http://weblog.rubyonrails.com/articles/2006/01/20/caching-models-with-memcached In my application, I''ve been staying away from caching my models, and instead just doing
2006 Jan 30
1
find_by_sql and memcached
Is a find_by_sql query cached with memcached and cached_model (http://dev.robotcoop.com/Libraries/)? Looks like the answer is no. Is there a reason for this? I have a lot of very complicated querys with a lot of unions, subquerys and joins that would greatly benefit from the cache. Going through the code I can see that the find_by_sql method is changed in cached_model.rb, but it does not call
2006 Apr 19
1
session memcache
hi all how to handle session expire time in memcache regrads -- Posted via http://www.ruby-forum.com/.
2015 Mar 18
1
multiple memcached buckets in CentOS 7
Hi Alberto, With systemd it will be as easy as creating additional unit files ( one for > each memcached instance) with its corresponding config file. That should > allow to stop / start / restart each memcache instance individually while > also being systemd compliant. Thanks for the info and for the examples. It really does make sense the way you explain it. Thanks for letting me
2006 Jan 21
3
Fragment caching with Memcached slow?
Hi, I am trying to do fragment caching using :mem_cache_store. However, when I compare it to fragment caching using :file_store, it seems to be a lot slower. Here are the results: uncache Completed in 2.20246 (0 reqs/sec) | Rendering: 2.19891 (99%) | DB: 0.00017(0%) | 200 OK [ http://127.0.0.1/] using file_store Completed in 0.00952 (105 reqs/sec) | Rendering: 0.00702 (73%) | DB: 0.00000(0%)
2015 Mar 18
2
multiple memcached buckets in CentOS 7
Hey guys, OK so I'm pretty familiar with how to edit an init script for memcached so that I can get multiple memcached 'buckets' when starting up the service. The init script would ususally have multiple lines such as these under the start function: # cache_block /usr/local/bin/memcached -d -m 128 -l `hostname -i` -p 11318 -u daemon -c 8172 -v 2>> /tmp/memcached.log
2012 Feb 09
2
python26-memcached on centOS 5.5
Hi, Is anyone here running memcached + python2.6 + django setup on a CentOS 5.5?? Am trying to set one up here and have trouble with the python26-memcached installation. So far i have installed (via yum): 1.python26 2. python26-memcached 3. libevent 4. memcached-devel Now when i try to run `import memcache` from the python2.6 shell i get an ImportError: No module
2007 Sep 07
2
memcached and fragment storage, session storage with a mongrel cluster
Greetings, I posted this not on the Rails mailing list and didn''t get a definitive response so I thought I''d post it here, since I figure lots of you are using mongrel with Rails apps. Any suggestions would be greatly appreciated. I''ve been using file-based fragment caching and DB-based session caching quite extensively. I decided to try out memcached for both to
2009 Feb 18
4
expire_fragment with memcached
Hello all, We know that memcached or memcached-client doesn''t support regex... But It seems it doesn''t support expire_fragment either :/ I''m trying to use expire_fragment with memcached as following : expire_fragment(:controller => ''home'', :action => :list_posts) But apparently it''s not supported by memcached : RuntimeError (Not
2006 May 14
1
session memcache expire
hi all how to expire session in memcache session_store regards -- Posted via http://www.ruby-forum.com/.
2009 Apr 13
6
Memcached 1.6.5 (Rails 2.3) 10x slower
The move to memcached_client 1.6.5 in Rails 2.3 seems to have made the Rails cache about 10x slower. Since that''s the opposite effect I would expect, I was hoping somebody would explain where I''m misreading these numbers? I noticed my fragment caching was slow -- it shouldn''t take 2ms just to read a 2k string from a localhost memcached server: Cached fragment hit:
2006 Feb 13
1
CachedModel anyone?????
Can any one help explain this output in my log. I have memcache-client and cached_model setup for a model City but when I run my app, this is the output I get (this is on a second pass so theoretically the data is already in the cache). MemCache Get (0.000469) active_record:City:1802387 City Load (0.001015) SELECT * FROM cities WHERE (cities.id = 1802387) LIMIT 1 MemCache Set (0.000776)
2006 Mar 07
2
memcached and Joe Hosteny''s Salted Hash Login Generator
Hey, so - I''ve been fiddling about and fell in to use Joe''s simple-yet- painful SHLG (I shouldn''t complain... not at least I have time to produce one :)). I just recently plugged in memcache, and- it''s not preserving my login. I traced the execution and it sets the output of User.authenticate (a user AR object) into @session[''user'']
2006 Aug 19
3
memcache-client working for anyone?
I''m at the bloody forehead stage, so I figure it''s time to ask. After installing the robot coop''s memcache-client which everyone apparently recommends, it refuses to work because the rails cache.rb is invoking the read() method on the cache, which it _does not have_. Their library has get() and put() but no read() and write() as rails expects. What gives? Is
2007 Jan 02
1
Recommendation: Stalled Mongrel? Memcache Hates Spaces
Hi Everyone, There''s quite a few of you who have contacted me about Mongrel suddenly stopping. After a lot of investigation, I found that the common thread between all of you is memcache and Eric Hodel''s memcache-client. People who were running this combination would have intermittent pauses and investigating the stalled mongrels showed that memcache-client was waiting for
2007 Jan 22
7
memcache
Just curious, is there anyway to use memcache with a ferret index? Thanks, Ray -- Posted via http://www.ruby-forum.com/.