memcached

Memcached on Windows (x64)

Does anyone know IF, WHEN or HOW I can get Memcached running on a Windows 64bit environment? I'm setting up a new hosting solution and would much prefer to run a 64bit OS, and since it's an ASP.Net MVC solution with SQL Server DB, the OS is either going to be Windows Server 2003 or (hopfully!) 2008. I know that this could spill over i...

System.Web.Caching vs. Enterprise Library Caching Block

For a .NET component that will be used in both web applications and rich client applications, there seem to be two obvious options for caching: System.Web.Caching or the Ent. Lib. Caching Block. What do you use? Why? System.Web.Caching Is this safe to use outside of web apps? I've seen mixed information, but I think the answer is m...

What is the best way to setup memcached on CentOS to work with Apache and PHP

What is the simplest way to install memcached on CentOS for someone new to the world of Linux? What is the best way to enable it for Apache and PHP ...

Memcache control panel?

We've been running eAccelerator on each of 3 webservers and are looking to move to a memcache pool across all 3, hopefully reducing by about 2/3 our db lookups. One of the handy things about eAccelerator is the web-based control interface (control.php), which has proved very useful when we've had to flush the cache unexpectedly, quickly...

Global/session scoped values in PHP

Is there a standard way of dealing with globally scoped variables in PHP? Session scoped? From the research I've done, it looks like the options are mostly addons or external. APC might work, but would be limited to a single PHP instance and not so useful for a farm of servers. Memcached seems like it would work, but I was hoping to find...

Tools to test/debug/fix PHP concurrency issues?

I find myself doing some relatively advanced stuff with memcached in PHP. It's becoming a mental struggle to think about and resolve race conditions and concurrency issues caused by the lock-free nature of the cache. PHP seems pretty poor in tools when it comes to concurrency (threads, anyone?), so I wonder if there are any solutions ou...

What is the best way to handle sessions for a PHP site on multiple hosts?

PHP stores its session information on the file system of the host of the server establishing that session. In a multiple-host PHP environment, where load is unintelligently distributed amongst each host, PHP session variables are not available to each request (unless by chance the request is assigned to the same host -- assume we have n...

What are you using for Distributed Caching in web farms running ASP.NET?

I am curious as to what others are using in this situation. I know a couple of the options that are out there like a memcached port or ScaleOutSoftware. The memcached ports don't seem to be actively worked on (correct me if I'm wrong). ScaleOutSoftware is too expensive for me (I don't doubt it is worth it). This is not to say that I ...

Caching paginated results, purging on update - how to solve?

I've created a forum, and we're implementing an apc and memcache caching solution to save the database some work. I started implementing the cache layer with keys like "Categories::getAll", and if I had user-specific data, I'd append the keys with stuff like the user ID, so you'd get "User::getFavoriteThreads|1471". When a user added a...

Benefits of multiple memcached instances

Is there any difference between having 4 .5GB memcache servers running or one 2GB instance? Does running multiple instances offer any benifits? ...

What are your favorite Ruby on Rails books and why?

I'm looking to pick up a few books on RoR to help teach myself how to build a scalable RoR app. I have read the RailsSpace book, and am starting the Rails Way book tonight. Some topics of interest are: REST - considering using Amazon's SimpleDB Using RSpec effectively memcached - server architecture and code implementation mongrel -...

When would you NOT want to use memcached in a Ruby on Rails app?

Assuming a MySQL datastore, when would you NOT want to use memcached in a Ruby on Rails app? ...

What is the best MemCache solution for ASP.NET applications?

What is the best MemCache solution for ASP.NET applications running in a windows server environment? Why? ...

monitoring memcached stats with openNMS

Hi, did anyone tried monitoring memcached statistics with openNMS? If you did, what did you use? ...

What's the best way to use memcache with a single-server app?

For a single-server LAMP site (which is usually under quite high load), what is best way to use memcache? Does it make sense to run the memcache daemon on the same server as the application, or is that just going to take valuable memory away from MySQL, giving a net performance loss. Does it even make sense to use memcache in this sce...

memcached & Perl's Cache:Memcached- are cache keys not case-sensitive?

I've got a mixed-case unique ID column in MySQL for which I'm using the BINARY command to make sure my string comparisons are case-sensitive, but it looks like memcached does not produce case-sensitive hashes for keys when objects are set or retrieved. Is there a way around that other than computing my own hash? ...

How to effectively implement sessions in GAE?

I was wondering about implementing my own sessions (more for an exercise than anything else) for a GAE app I'm working ... at first I was thinking of using the datastore to store the session data. However, every time something needs to be added to the session 'bucket', it would require saving to the datastore. Obviously that's bad since ...

Does anyone know of anyone working on a LINQ-to-Memcached provider?

As title. I didn't find one via google, at any rate. Update: thanks for the links from the two answers; this is very useful, but not what I was after - I am curious to see whether it is possible to query an IRepository backed by memcached (or some other distributed cache), backed by a RDBMS. I've really no idea how that might work in ...

Fragment Caching with Memcached

Is there any way of using Memcached for fragment caching in Rails? ...

How to monitor memcached statistics on windows?

What's the easiest method people have found to monitor memcached on Windows? One method I've tried, which works decently: telnet into the memcached port (11211) and enter the "stats" command. You'll get back a listing like this: stats STAT pid 2816 STAT uptime 791 STAT time 1225918895 STAT version 1.2.1 STAT pointer_size 32 STAT curr_i...