First you need to decide what you want cached.
Then you need to think about how you're going to cache it.
Once you know that all you need is a java memcached client, you can
find one here.
http://www.danga.com/memcached/apis.bml
If you're using hibernate you should also look at
http://code.googl
Hi all,
I'm really excited to start using memcached. I'm currently using in-
memory caches in my ASP.NET+IIS6 application on 2 load-balanced
servers, but of course that isn't a shared memory between the 2
servers. So if key "test1" is cached on web1, web2 has no way of
getting to it. Enter mem
Yes
http://www.socialtext.net/memcached/index.cgi?faq
On Thu, Oct 30, 2008 at 12:58 PM, TheJonathan <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I'm really excited to start using memcached. I'm currently using in-
> memory caches in my ASP.NET+IIS6 application on 2 load-balanced
> servers, but of
The client should use a hashing algorithm on the key, and if both instances
of memcached are in the available pool of servers, then once hashed, it will
decide on the server and then always go to that server, unless of course it
is taken out of the pool of available servers.
You can test this out
When you setup the client in your web app, you give it the same config on
both machines, for example that memcached exists on "web1" and "web2" in
your case. It's important that you name the servers in the same way and in
the same order on all machines, otherwise the clients will distribute your
ke
I think I get it. So if I'm passing in the array of memcached IPs via
a web.config, make sure they are in the same order on all load-
balanced machines. e.g.
web1 = localhost, web2
web2 = web1, localhost
@Kevin: Is the hashing algorithm you mentioned something I would have
to implement myself,
On Thu, Oct 30, 2008 at 9:26 PM, TheJonathan <[EMAIL PROTECTED]> wrote:
> web1 = localhost, web2
> web2 = web1, localhost
>
This would be better:
web1 = web1, web2
web2 = web1, web2
This way, you can keep the same configuration on all clients.
> I think I get it. So if I'm passing in the array of memcached IPs via
> a web.config, make sure they are in the same order on all load-
> balanced machines. e.g.
> web1 = localhost, web2
> web2 = web1, localhost
>
> @Kevin: Is the hashing algorithm you mentioned something I would have
> to imp
Exactly, yes, we use the Enyim client and it has the hashing built in. You
could sub it out if you wanted to, but it works well out of the box ;).
On Thu, Oct 30, 2008 at 4:39 PM, Ray Krueger <[EMAIL PROTECTED]> wrote:
>
> > I think I get it. So if I'm passing in the array of memcached IPs via
Seconded. I would definately NOT use localhost in your configs, or your
scripts.
Be specific and you will save yourself some confusing problems.
On Fri, Oct 31, 2008 at 5:27 AM, Simone Busoli <[EMAIL PROTECTED]>wrote:
> On Thu, Oct 30, 2008 at 9:26 PM, TheJonathan <[EMAIL PROTECTED]> wrote:
>
>>
I've got around 200 gigs of ram I'm running 6 nodes all set around
24gigs each.
Is this appropriate or should I cluster them out?
~@
Thanks for everyone's help! I just switched over my sessions across
the load-balanced servers to memcached and it worked perfectly. I
think the pages even load a little faster without the extra hits to
the database on every page. Can't wait to see how this affects
performance during peak traffi
Did you ever have any luck finding those registry keys with the
configuration? Does anyone know what the memcached-Win32 uses as a
default memory size if you just install it with "memcached.exe -d
install"?
On Oct 29, 11:24 am, "Vipin Kalra" <[EMAIL PROTECTED]> wrote:
> I beleive it was all rand
Default memory is 64 MB. Check it in the help using memcached -h.
So far no luck with changing registry keys. I dont seem to locate
egistry specifics to this setting. Anybody knows more details on
specific registry key path pls send those.
On Oct 30, 9:38 pm, TheJonathan <[EMAIL PROTECTED]> wro
14 matches
Mail list logo