Memcached is an open-source project.  There is nothing stopping you from
making that change yourself and using it.  However, you will have a hard
time finding someone to do that feature for you for free, because quite
frankly it is highly unlikely that anyone using memcached the way it was
intended will have a use for it.

What you are requesting is actually the opposite of how memcached was
designed.  And is not really a trivial fix.

2009/3/24 gf <[email protected]>

>
> So? It's important anyway :-)
>
> On 24 мар, 17:28, Josef Finsel <[email protected]> wrote:
> > Optional functionality, especially optional functionality that is not a
> part
> > of the core requirements, is the most frequently misused of all
> > functionality.
> >
> > 2009/3/24 gf <[email protected]>
> >
> >
> >
> >
> >
> > > 1. It can be _optional_ functionality. So people can use it at their
> > > own risk.
> > > 2. > risk of memcached performing poorly by having more connections
> > > open longer.
> > > Why? AIO allows to has thousands connections open. I'm sure, it must
> > > be more efficient than repeats.
> >
> > > On 24 мар, 15:00, Josef Finsel <[email protected]> wrote:
> > > > memcached works so well because it does one thing very efficiently.
> > > > Attempting to add functionality that should go in the client
> increases
> > > the
> > > > risk of memcached performing poorly by having more connections open
> > > longer.
> >
> > > > If this is to be implemented, it should be implemented in the client
> > > where
> > > > it can open a connection, not find data, wait a millisecond and try
> > > again.
> >
> > > > Just my .02.
> >
> > > > 2009/3/24 gf <[email protected]>
> >
> > > > > On 24 мар, 07:39, Dustin <[email protected]> wrote:
> > > > > > On Mar 22, 4:20 am, gf <[email protected]> wrote:
> >
> > > > > > > Hello. It would be great to add  new "wait timeout" argument to
> the
> > > get
> > > > > > > () method. If it is defined and the key doesn't exists a the
> > > moment,
> > > > > > > client should wait untill the key will be added or untill the
> > > timeout
> > > > > > > will be reached (client gets false in this case) and get
> feedback
> > > as
> > > > > > > soon as possible.
> > > > > > > It can be used at many cases.
> >
> > > > > >    ...however, none of these cases are applicable to a cache.
>  The
> > > > > > cache has data or it doesn't.  Building a blocking queue inspired
> by
> > > > > > the memcached protocol is one thing, but support for such things
> > > > > > *within* memcached doesn't make all that much sense.
> > > > > Why not?
> > > > > The cache could has no data, but the data will be added very very
> soon
> > > > > (0.01 ms), so cycle repeats is not a good solution....
> > > > > I think, the blocking operation (not in queues) is very usable in
> > > > > cache implementations because several threads can be update...
> > > > > Memcached is more than the storage for "a data from some queries",
> > > > > it's a great platform for distributed solutions.
> >
> > > > --
> > > > "If you see a whole thing - it seems that it's always beautiful.
> Planets,
> > > > lives... But up close a world's all dirt and rocks. And day to day,
> > > life's a
> > > > hard job, you get tired, you lose the pattern."
> > > > Ursula K. Le Guin
> >
> > > >http://www.finsel.com/words,-words,-words.aspx(Myblog)<http://www.finsel.com/words,-words,-words.aspx%28Myblog%29>-
> > >http://www.finsel.com/photo-gallery.aspx(MyPhotogallery)<http://www.finsel.com/photo-gallery.aspx%28MyPhotogallery%29>
> > > -
> > >
> http://www.reluctantdba.com/dbas-and-programmers/blog.aspx(MyProfessional<http://www.reluctantdba.com/dbas-and-programmers/blog.aspx%28MyProfessional>
> > > > Blog)
> >
> > --
> > "If you see a whole thing - it seems that it's always beautiful. Planets,
> > lives... But up close a world's all dirt and rocks. And day to day,
> life's a
> > hard job, you get tired, you lose the pattern."
> > Ursula K. Le Guin
> >
> > http://www.finsel.com/words,-words,-words.aspx(My<http://www.finsel.com/words,-words,-words.aspx%28My>blog)
> >  -
> http://www.finsel.com/photo-gallery.aspx(My<http://www.finsel.com/photo-gallery.aspx%28My>Photogallery)
>   -
> http://www.reluctantdba.com/dbas-and-programmers/blog.aspx(My<http://www.reluctantdba.com/dbas-and-programmers/blog.aspx%28My>Professional
> > Blog)
>



-- 
"Be excellent to each other"

Reply via email to