Displaying 20 results from an estimated 371 matches for "memcached".
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 know!
Be...
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/me...
2015 Mar 18
0
multiple memcached buckets in CentOS 7
>
>
> Now, under CentOS 7, I see we have two files controlling memcached under
> the new sysctl system. At least, using sysctl is new to me!
>
> I see we have this file:
>
> [root at web1:~] #cat /usr/lib/systemd/system/memcached.service
> [Unit]
> Description=Memcached
> Before=httpd.service
> After=network.target
>
> [Service]
> Ty...
2006 Mar 01
4
cached_model and memcache-client slowness
...ng sqlite3 as this app will be deployed in an environment where
having a standalone app, easily launchable via Locomotive, will be
necessary, but the server will not be under really high load.
Anyways, to try to speed up the database reads I made my models
subclasses of cached_model, and set up memcached. It''s clearly working,
as I see the gets and puts in my log. However, cached_model and
memcached have if anything slowed everything down. I''m still seeing SQL
queries that seem extraneous.
For example:
Rendering gallery/browse
MemCache Get (0.182419) active_record:Entry:6...
2014 Aug 19
0
failure building memcached rpm
Hi all,
I need to install the latest memcached version (1.4.20) on a number of
machines in this environment. There are only rpm's of this app for RHEL 6.
But we need to install the latest memcached on a number of RHEL 5 machines.
To be specific, they are OEL 5.7 hosts.
I've installed all of the developers tools that I would need.
But...
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
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
but requires extra effort in your code.
Who go...
2006 Feb 12
3
memcache-client/cached_model help
...ACHE,
:session_domain => ''www.eztrip.com''
}
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update session_options
I also changed a few models to extend CachedModel but am having
trouble getting it to work. I can manually put things in the cache
and take them out of memcached but when I use cached_model on my home
page I get this in my console:
MemCache Set (0.091822) active_record:EntityType:1
MemCache Set (0.190003) active_record:EntityType:2
MemCache Set (0.199389) active_record:EntityType:3
<snip>
MemCache Set (0.199342) active_record:EntityType:17
MemCac...
2007 Feb 02
6
Mongrel and MemcacheSessionStore
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey,
I''ve been using Mongrel for quite some time now but I ran into an issue
that threw me back to lighttpd + fastcgi.
The application in question was running fine in the production
environment with SQLSessionStore and using a mongrel cluster behind a
load balancer. However, by switching to a MemcacheSessionStore (using
either
2006 Jan 21
3
Fragment caching with Memcached slow?
...file_store
Completed in 0.00952 (105 reqs/sec) | Rendering: 0.00702 (73%) | DB:
0.00000(0%) | 200 OK [
http://127.0.0.1/]
using memcache
Completed in 0.03558 (28 reqs/sec) | Rendering: 0.02561 (71%) | DB:
0.00000(0%) | 200 OK [
http://127.0.0.1/]
Other Notes:
- I''ve tried using both Ruby-MemCached0.4 and memcache-client libraries and
the results are about the same.
- I am sure there is no paging.
Memcached execution parameters:
memcached -m 256 -l 127.0.0.1 -p 11211 -vv
ldd /usr/local/bin/memcached results:
linux-gate.so.1 => (0x0036a000)
libc.so.6 => /lib/libc.so.6...
2006 Jul 21
2
mongrel, memcache and sessions
Hi,
I''m using mongrel-0.3.13.3 with memcache-client-1.0.3 for storing sessions.
It was working fine with actionpack-1.12.0, but when I upgraded to
actionpack-1.12.3, I started getting a "can''t convert String into Hash"
error from memcache.rb from memcache-client.
I was able to fix it by changing the way the MemCache object was created in
2006 Sep 25
3
Engine Yard blog
Just received the news from Tom Mornini.
Congrats Ezra for the new Engine Yard site and the blog you will be
collaborating.
Hope to read you there soon.
http://www.engineyard.com/
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060925/3f251fa4/attachment.html
2006 Oct 17
5
Memcached Server - Memory Consumption
I was just testing the memcache server on a Windows box and had set it
up as a Windows Service and to my surprise (or my shock really) it was
using 47+ meg of ram with no data even loaded in it yet. Has anyone
else used the Windows port of memcached for their Rails projects and if
so how much ram was it using?
Does memcached use less memory on Mac OS X or Linux than Windows?
Thanks for any feedback
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are sub...
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...
2015 May 24
2
specify port on check_memcached.pl
Hey guys,
I'm trying use check_memcached.pl to monitor a couple of memcached services
running on two ports.
I have my command definition setup like this:
# 'check_memcached' command definition
define command {
command_name check_memcached
command_line $USER1$/check_memcached.pl -H $HOSTADDRESS$ -p $ARG1$
}
And I have my s...
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
2009 Apr 08
3
Rails 2.3 memcache performance drop
After much effort I upgraded our fairly large Rails app from 2.1 to
2.3. After deployment yesterday I noticed an across the board
increase in response times. It seems that every call to memcache now
takes 10x longer than before. Here are some example numbers from my
development log (below), with memcache running locally. We see
similar scale of performance drop in production as well - average
2006 Apr 20
12
memcache, sessions, fragments, oh my!
Hi all -
I am trying to get rails to use memcache for sessions and fragment
caching. I''d also like to use the same connection for general caching of
this and that.
I''m following the instructions here:
http://wiki.rubyonrails.com/rails/pages/HowtoChangeSessionStore
and hitting a brick wall.
I''m using the new memcache-client since from what I''ve read
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 i...
2012 Nov 09
2
Memcached - replication?
Hi all.
I am thinking about installing memcached with replication, I've found
http://sourceforge.net/projects/repcached/files/repcached/2.2.1-1.2.8/ but
it is for 1.2.8, and for Centos 6.3 memcached is in version 1.4.4. I do not
want to use client side "replication" (writing to two memcached nodes at
the same time) and haven't f...