similar to: memcached current_user

Displaying 20 results from an estimated 30000 matches similar to: "memcached current_user"

2008 Mar 04
4
Named collection forward fetching
Hello, I''m getting an "NoMethodError" traversing a named collection. Let me explain I have a named collection called best_friend in a class called user def self.best_friend find :all, :conditions => "designation = ''Best Friend''" end and if i do current_user.best_friend everything works great, I can pull up the user''s name as
2008 Dec 11
2
serialize array finder
Hello, Not sure if this is even possible/practical but I''d like to serialize an array to a string field like this and then be able to match against it. User.find(:all, :conditions => ["interests in (?)",current_user.interests) Am I better of not denormalizing? How would this be done with ordinary A/R relationships because I''m not looking for an exact match,
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
2018 Mar 22
0
Publication: LLVM Related Publication
Hi, It's been a little while, but I'd like to include a paper that uses and extends LLVM for more precise and declarative dynamic taint-tracking: Compiler-instrumented, Dynamic Secret-Redaction of Legacy Processes for Attacker Deception Frederico Araujo, Kevin W. Hamlen *Proceedings of the 24th USENIX Security Symposium, August* 2015. Link:
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] > Type=simple >
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 when I go to build the RPM I am getting the
2009 Sep 19
0
memcached-1.4.1 and C4
Hi, Is there someone successfully running memcached-1.4.1 on Centos 4 with centosplus php? I'm trying to use memcached under Centos 4. I can set values fine but 'get' returns: [root at rakosnicek eshop]# php d.php PHP Warning: Memcached::get(): bad type specifier while parsing parameters in /var/www/d.php on line 6 NULL string(7) "SUCCESS" array(1) {
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
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
2008 Feb 29
0
Seeking Validation - search web service using memcached
Hi, I''m looking for some validation for some work I''ve done for a client, and I''m open to criticism ("mock me" ? ;^), relevant awareness of similar projects, and alternatives. When I looked around in about September 2007 for a good scalable search solution for Ruby on Rails, I found the choices lacking. Firstly, none of the solutions seemed to have an option
2016 Nov 28
0
CESA-2016:2820 Important CentOS 6 memcached Security Update
CentOS Errata and Security Advisory 2016:2820 Important Upstream details at : https://rhn.redhat.com/errata/RHSA-2016-2820.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 35812c96c050584a93071cfa04f37afef8d1885a580855d3356db301f6cd87e4 memcached-1.4.4-3.el6_8.1.i686.rpm
2006 Oct 04
2
Capistrano fails to restart Memcached service
Hi. I am using Capistrano for my webapp and after deploy I need to restart memcached service. I am trying to do it with sudo "/etc/init.d/memcached restart" But it does not do it, even if memcached service existed - after deployment memcached service is off. I did some researching and added run "sleep 40" right after sudo command and found that service process existed
2007 Jun 22
0
Automating memcached startup for my app.
All, My app. requires memcached, and I''d like to build any necessary restarting of the memcached daemon into my site startup. (I already have my script executing as part of a deploy, but I''d like to "bulletproof" it more if possible). I wrote a script which will restart memcached if it isn''t there. My problem is I need to reliably invoke it whenever my
2016 Sep 16
0
CEBA-2016:1878 CentOS 7 memcached BugFix Update
CentOS Errata and Bugfix Advisory 2016:1878 Upstream details at : https://rhn.redhat.com/errata/RHBA-2016-1878.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) x86_64: f8d7e235d239e587340353b255e6840c8570502c3d5a707545b0ef2f814407f9 memcached-1.4.15-9.el7_2.1.x86_64.rpm
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
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 found other solution. Are there any good, protocol
2008 Sep 08
0
Memcached dtrace probes
I am currently working on adding DTrace probes we have for Memcached 1.2.5 to the new binary protocol in 1.3 branch. The problem I am facing is that I should have had a new variable into the probe. When we added the probes, all memcached keys would be zeroterminated ascii strings, but in the binary protocol it may not be zero-terminated. So what do I do? According to
2007 Jan 30
0
No reaction from memcached
I''ve been following the instructions here http://nubyonrails.com/ articles/read/716 on how to get started with memcached. Starting up ./script/console production I get at couple of deprecation warnings: <snip> ./script/console production Loading production environment. DEPRECATION WARNING: model is deprecated and will be removed from Rails 2.0 See
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%)
2013 May 29
0
Relação de aprovados Japaratinga
Rela??o de aprovados Japaratinga: Tapurah: ANA CAROLINE LIMA VASCONCELOS, L?VIO CHAVES D?D?, FRANCISCO JACKSON DE FREITAS SOUZA, PAULO WILLAME ARAUJO DE LIMA, JO?O CARLOS MOREIRA DE CARVALHO, DAMI?O ROCHA DOS SANTOS J?NIOR, MARIA HELENA DE OLIVEIRA SILVA, JARDEL DE LIMA NOBRE. SILVANA BEZERRA DA SILVA, ARIELA DE MACEDO RICARDO, LUCAS PINTO ASSUNCAO, GLAUCIO VALENCA PEREIRA RANGEL, REBECA FARIAS