Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Memcached client
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Craig328  
View profile  
 More options Aug 18 2008, 2:38 pm
From: Craig328 <craig...@gmail.com>
Date: Mon, 18 Aug 2008 11:38:15 -0700 (PDT)
Local: Mon, Aug 18 2008 2:38 pm
Subject: Memcached client
Hi all:

Was wondering if anyone here has used Memcached client with OpenBD
yet? (http://memcached.riaforge.org/)

We're considering giving this a try with BD but wanted to know if
anyone else has done so. Any insights, experience or other info you
could pass along would be most appreciated.

Thanks in advance,

Craig Heath
Jupitermedia Corp.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Williamson  
View profile  
 More options Aug 18 2008, 4:15 pm
From: Alan Williamson <a...@blog-city.com>
Date: Mon, 18 Aug 2008 21:15:53 +0100
Local: Mon, Aug 18 2008 4:15 pm
Subject: Re: [OpenBD] Memcached client
no I haven't.  but if you want a general caching module, you should look
at CFCACHECONTENT that we built into the engine.  Its been there for
years and lets you cache content in memory or even in the database.

Check out the http://blog.openbluedragon.org/ for more details

--
Alan Williamson
  Registrationless email/sms reminders:  http://yourli.st/
  blog:  http://alan.blog-city.com/

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Blackwell  
View profile  
 More options Aug 18 2008, 5:47 pm
From: "Chris Blackwell" <ch...@team193.com>
Date: Mon, 18 Aug 2008 22:47:00 +0100
Subject: Re: [OpenBD] Memcached client

I can't say that i've used it in anger or under any heavy load, but i did
write a cache adapter for cflickr.riaforge.org using memcached.  I was using
cfmemcached.riaforge.org, but i believe its essentially the same.  In the
end i couldn't do everything i wanted with it because Adobe Coldfusion
throws an error when trying to serialize cfc's that contain dates or
queries, see the issue i posted here
http://cfmemcached.riaforge.org/index.cfm?event=page.issue&issueid=70...

However, I've just tested this with OpenBD and i'm not getting any errors
when writing or reading cfc's with dates or queries, so looks like its +1
for OpenBD.  Works straight out the box, which is nice =)

Chris

2008/8/18 Craig328 <craig...@gmail.com>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew Woodward  
View profile  
 More options Aug 18 2008, 5:52 pm
From: Matthew Woodward <m...@mattwoodward.com>
Date: Mon, 18 Aug 2008 17:52:53 -0400
Local: Mon, Aug 18 2008 5:52 pm
Subject: Re: [OpenBD] Re: Memcached client

Very nice! Not surprising that you're having issues serializing CFCs on
CF--that's been something that wasn't doable on CF until version 8, and
there are still some issues even on CF 8. CFCs have been serializable on
BlueDragon (and hence OpenBD) since they were introduced into the
product I believe.

Thanks so much for trying this out and giving us the feedback. Too many
cool things to try and not enough time, so this sort of stuff is always
welcome!

Matt

--
Matt Woodward
m...@mattwoodward.com
http://www.mattwoodward.com/blog

Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Craig328  
View profile  
 More options Aug 20 2008, 11:02 am
From: Craig328 <craig...@gmail.com>
Date: Wed, 20 Aug 2008 08:02:06 -0700 (PDT)
Local: Wed, Aug 20 2008 11:02 am
Subject: Re: Memcached client
Yeah, we looked at that.  The limiting factor on our end is that the
app needs to maintain the cache in a shared memory scope as opposed to
a database.  Basically, what we're looking for a distributed cache
that's held in memory.

On Aug 18, 4:15 pm, Alan Williamson <a...@blog-city.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Williamson  
View profile  
 More options Aug 20 2008, 1:02 pm
From: Alan Williamson <a...@blog-city.com>
Date: Wed, 20 Aug 2008 18:02:49 +0100
Local: Wed, Aug 20 2008 1:02 pm
Subject: Re: [OpenBD] Re: Memcached client
okay ... but why is that limiting?

Why not simply up the amount of memory CFCACHECONTENT uses for its data?

It doesn't have to go to database


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Andrachek, Jr.  
View profile  
 More options Aug 20 2008, 8:54 pm
From: "Mark Andrachek, Jr." <mark.andrac...@gmail.com>
Date: Wed, 20 Aug 2008 17:54:22 -0700 (PDT)
Local: Wed, Aug 20 2008 8:54 pm
Subject: Re: Memcached client
Alan,

The key to memcached is that it is distributed.  If you have 3 servers
in a cluster, it spreads the cache load across the boxes. 1GB of
memory on each box equates to 3GB of total memory for the cache.  It's
similar to JCS, Terracotta, SwarmCache, and other distributed caching
solutions except that the server is not written in Java.  In this
particular instance that's apparently considered a good thing, because
you don't have to worry about garbage collection (which causes
problems for the java based solutions), and it doesn't have java's per-
process memory limitations.  It's a fairly well proven solution, with
a lot of high profile users (slashdot, fotolog, wikipedia, live
journal, and sourceforge to name a few)

It's a one up to cfcachecontent because it can cache any serializable
object (not just strings). It's also global - You can use J2EE
sessions to cache info at the session level, but that doesn't help in
many situations.

It would be very cool to see this as an option to use for query
caching for example, something like

<cfquery cachetype="memcached" cachehosts="ArrayOfMemcacheHosts"
cachename="myMemcachedName">

You could then have different cache types (default, jcs, terracotta,
memcached, etc.).

Resources:
-- http://www.thimbleware.com/projects/jmemcached - pure java
memcached server. (Apache License)
   - not an optimal implementation because of gc overhead, memory
limits.

-- http://code.google.com/p/spymemcached/ - pure java memcached
client. (MIT License)

-- http://hankliblog.blogspot.com/2008/02/memcached-as-hibernate-second-...
- hibernate cache provider, using the spymemcached library.

On Aug 20, 1:02 pm, Alan Williamson <a...@blog-city.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Williamson  
View profile  
 More options Aug 21 2008, 2:44 am
From: Alan Williamson <a...@blog-city.com>
Date: Thu, 21 Aug 2008 07:44:37 +0100
Local: Thurs, Aug 21 2008 2:44 am
Subject: Re: [OpenBD] Re: Memcached client
Thanks Mark, i haven't looked at memcache for a long time, but looking
at the Java API's it shouldn't be a big project to integrate this.

Taking your exmaple, i think the following would satisfy you:

<cfquery cachetype="memcached"
          memcachehosts="ArrayOfMemcacheHosts"
          cachename="myMemcachedName">
</cfquery>

<cfcachcecontent cachetype="memcached"
          memcachehosts="ArrayOfMemcacheHosts"
          cachename="myMemcachedName">

</cfcachecontent>

? would that satisfy your use case?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Andrachek, Jr.  
View profile  
 More options Aug 21 2008, 7:54 am
From: "Mark Andrachek, Jr." <mark.andrac...@gmail.com>
Date: Thu, 21 Aug 2008 04:54:14 -0700 (PDT)
Local: Thurs, Aug 21 2008 7:54 am
Subject: Re: Memcached client
Alan,

Yes, it looks like that would do quite nicely!  It would also be nice
to have a tag (and or function) for storing other things (cfc
instances, structs, etc.).

Something like this:
<cfmemcache name="" value="" hosts="" action="" cachedwithin="" />

or more generic:
<cfobjectcache name="" value="" type="" hosts="" action=""
cachedwithin="" />


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Williamson  
View profile  
 More options Aug 21 2008, 8:26 am
From: Alan Williamson <a...@blog-city.com>
Date: Thu, 21 Aug 2008 13:26:23 +0100
Local: Thurs, Aug 21 2008 8:26 am
Subject: Re: [OpenBD] Re: Memcached client
I would prefer to do this as a function, that way it can be used inside
of UDF's / CFSCRIPT.

i've started the refactoring process, and i am on a ferry for a couple
of hours tomorrow, so i will see if i can get it done and throw you a
JAR file for testing


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Andrachek, Jr.  
View profile  
 More options Aug 22 2008, 9:04 am
From: "Mark Andrachek, Jr." <mark.andrac...@gmail.com>
Date: Fri, 22 Aug 2008 06:04:01 -0700 (PDT)
Local: Fri, Aug 22 2008 9:04 am
Subject: Re: Memcached client
Awesome!  I'm all set up to compile out of cvs, so if there's
a particular branch or something you don't need to send me jar. :)

Thanks!

On Aug 21, 8:26 am, Alan Williamson <a...@blog-city.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Craig328  
View profile  
 More options Aug 22 2008, 2:15 pm
From: Craig328 <craig...@gmail.com>
Date: Fri, 22 Aug 2008 11:15:00 -0700 (PDT)
Subject: Re: Memcached client
Actually, if there is a JAR available, we'd like to have it as well.

As an aside, I'm impressed with the response to my initial inquiry on
this.  We've not deployed an OpenBD-driven site yet but we're
evaluating it right now.  We have BD 7 .NET and have been very pleased
with the level of support we get from NA.  One of the internal gripes
on our side about OpenBD was questioning how it would be supported.
Threads like this go a long way to allaying concerns.

Thanks everyone.

Craig Heath
Jupitermedia Corp.

On Aug 22, 9:04 am, "Mark Andrachek, Jr." <mark.andrac...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Williamson  
View profile  
 More options Aug 25 2008, 6:10 am
From: Alan Williamson <a...@blog-city.com>
Date: Mon, 25 Aug 2008 11:10:04 +0100
Local: Mon, Aug 25 2008 6:10 am
Subject: Re: [OpenBD] Re: Memcached client

Craig328 wrote:
> Actually, if there is a JAR available, we'd like to have it as well.

I did actually get done what i wanted to do on the ferry back and forth
to Ireland at the weekend.   So i will get that wrapped up in the next
couple of days and make a special JAR available before i commit it into
the main branch.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google