similar to: mysql mem-tables vs. memcached

Displaying 20 results from an estimated 3000 matches similar to: "mysql mem-tables vs. memcached"

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 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
2005 Dec 22
11
first day using rails
Hi - this is my first day with Ruby on Rails. I''m starting out by working through the Helloworld (Hello Ruby) example program printed up in "Agile Web Development with Rails." My steps are as in the text: 1. ruby script/generate controller Say 2. edit the proper file and add the hello method 3. fire up the browser using address http://localhost:3000 4. fire up the
2007 Sep 11
3
ActiveRecord, blocking or async, logging, syslog/udp
Here''s a gedanken experiment for those w/ far more knowledge than I about ActiveRecord, etc.: Let''s say my database is very remote and on a very slow machine. Let''s further say that my app has an action that leads to a very simple insert into the "impressions" table of the db, a la "INSERT INTO impressions(docid) VALUES($docid);" - and
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 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 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 Aug 24
10
MongrelCluster - How can I make a request to a specific mongrel instance?
In our app we''ve a number of singleton ruby classes that cache static data in hashes, things like string values, system config params, etc). In a webbrick environment this works ok, but we find in production we have a problem because we have 4 caches, one for each mongrel instance. This also isn''t a BIG problem, but our cache.reload() methods are kinda useless now, because we
2006 May 12
5
How is Actionpack is not thread-safe? @@allow_concurrency?
Hi, I found many references on the Web to the fact that "Rails is not thread-safe". However, I have not found an explanation _why_ it isn''t? What happens if multiple requests are handled concurrently by ActionPack? Assuming that the code I execute in my controller methods is thread safe, is this ok? If not -- what happens? The following makes it sound like the issue is
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
2006 Apr 19
1
session memcache
hi all how to handle session expire time in memcache regrads -- Posted via http://www.ruby-forum.com/.
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
2005 Dec 14
14
Install problems: R-o-R on Debian with mod_ruby
Hello, I have tried to setup Ruby-on-rails on my debian Linux machine and can not get it to run. Maybe someone can help. The following was installed already: - apache2 2.0.54 (and PHP5) - Postgresql 8.1 Now, having the ''unstable'' branch in my /etc/apt/sources.list I did: apt-get install libapache2-mod-ruby and Apache reports a "mod_ruby/1.2.4 Ruby/1.8.4"
2006 Apr 26
5
remote ruby
I''m building a collection of desktop app''s and want to use ruby, and Active Record in particular, as an intermediary layer to my databases. I''m not sure how to connect my development environment, Runtime Revolution, to Ruby and Active Record. One option is to just set up a RonR environment and have my app''s make calls that return regular text results
2012 Feb 27
1
samba ldap domain member server with cifs and nfs
Hi samba lists, we have a samba-ldap domain running on a debian squeeze (samba 3.5.6)server (pdc and bdc). I try to configure a domain member server on an other debian squeeze that will serve as cifs and nfs server. My Debian server member use winbind (on ldap) for mapping the users windows sid to the unix uid. The users mapping is write in the the ldap directory : ou=idmap,dc=exemple,dc=com
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 May 02
6
Performance suggestions or best practices ideas?
Any suggestions on applications that involve alot of calcualtions on a fairly large data set? My app uses a set of raw data ~5k, applies some default/override rules on the raw data and does some calculations on the data in combination with a list of assumptions. A ranked list along with detailed metrics is generated. The end user can manipulate some of the rules and assumptions to generate
2007 Aug 20
5
byte-range requests
Hello everyone, I did some initial tests and it seems that mongrel does not support byte-range requests. Is this correct? The reason I ask is that the iPhone requires byte-range requests to work in order to stream audio or video from a web server. Thanks in advance, alan
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/.