?

Log in

No account? Create an account
memcached website - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

memcached website [Jun. 10th, 2003|09:15 pm]
Brad Fitzpatrick
[Tags|, ]

Now that BML's config/template system is sane and easy to use, I put up the memcached website:

http://www.danga.com/memcached/

I guess there's still a lot to be documented, like the memory allocation scheme and the protocol, but it's a start.

Any PHP or Java programmers want to contribute APIs? The Perl module is miniscule. I'm sure a good PHP or Java person could whip one out in no time.... Evan, you could do your languages like Python, Ruby, Haskell, OCaml, etc... :-)
LinkReply

Comments:
[User Picture]From: saveyoursanity
2003-06-10 09:30 pm (UTC)
Sorry to clutter up your journal with this, really, very sorry.

Is there some specific place I should report bugs? Support doesn't seem like the right place for some reason.
(Reply) (Thread)
[User Picture]From: brad
2003-06-10 09:33 pm (UTC)
Any subset of:

1) support
2) http://zilla.livejournal.org/
3) lj_test comments
4) email to me

Just not here in my journal.
(Reply) (Parent) (Thread)
[User Picture]From: jproulx
2003-06-10 09:36 pm (UTC)
For whatever insane reason I want to take a crack at a PHP API. Maybe when I get some spare time tomorrow.
(Reply) (Thread)
[User Picture]From: mart
2003-06-11 02:48 am (UTC)

Your 'div inside pre' makes Opera leave premode before your code example, which is hardly ideal! ;)

You could either make it a span (since it's going to act like a block element in pre anyway) or move it just above, since it's at the top anyway and there's no real reason why that text has to be preformatted…

(Reply) (Thread)
[User Picture]From: mart
2003-06-11 03:23 am (UTC)

I think I'm going to have a bash at doing this for the .NET framework so it can be used from ASP.NET, unless someone else wants to do it. (I don't know if .NET has an equivalent of Serializable, or what it is, but the rest should be relatively easy)

Sure, a Windows web server using a Linux (or other) memcache is unlikely, but it would be funny.

(Reply) (Thread)
[User Picture]From: denshi
2003-06-11 09:45 am (UTC)
# MySQL's query cache destroys the entire cache for a given table whenever that table is changed. On a high-traffic site with updates happening many times per second, this makes the the cache practically worthless.

Godalmightly. Everytime I take another look at MySQL I feel like I'm listening to snake oil hucksters.
(Reply) (Thread)
[User Picture]From: brad
2003-06-11 09:53 am (UTC)
You do know I'm talking about the query cache and not the buffer or index caches, right? MySQL's buffer and index caches don't do that.

If you think about it, it makes sense. The query cache is just a mapping of SQL queries to result sets. If you didn't invalidate them all, the query could return an incorrect result. Sure, you could partially invalidate the cache, but then the penalty for updates would be huge and negate the whole benefit.

I don't think you can blame MySQL here.
(Reply) (Parent) (Thread)
[User Picture]From: denshi
2003-06-11 10:00 am (UTC)
Let me check my notes...
(Reply) (Parent) (Thread)
From: thp
2003-06-11 11:46 am (UTC)
I'll take a look at the API when I get home from work and maybe take a crack at a PHP api.
(Reply) (Thread)
[User Picture]From: feignedapathy
2003-06-11 08:26 pm (UTC)
You mention use under Linux - any problems deploying on, or have you tested deployment on FreeBSD or Solaris?
(Reply) (Thread)
[User Picture]From: brad
2003-06-11 08:48 pm (UTC)
I haven't. I'll probably put evan on that, though, making it build easily with autoconf and such.

All the dependent libraries are portable, and we do nothing fancy, so it should be portable.
(Reply) (Parent) (Thread)
[User Picture]From: feignedapathy
2003-06-11 08:52 pm (UTC)
I'm going to give it a shot over on FreeBSD, and see what happens over on Mac OS X. It's a different architecture, and not knowing jack or shite about memcached right now, I don't know if that makes a difference. ;)
(Reply) (Parent) (Thread)
[User Picture]From: brad
2003-06-11 10:49 pm (UTC)
Once it's up, telnet to it and type "stats", enter.

(Reply) (Parent) (Thread)
From: unsuffer
2003-06-12 08:16 pm (UTC)

java api

still need a java api?
(Reply) (Thread)
[User Picture]From: brad
2003-06-13 12:47 am (UTC)

Re: java api

I do.

If you want a reviewer/tester/helper as you go along, I'd love to be that person. I just can't lead the project.
(Reply) (Parent) (Thread)
From: unsuffer
2003-06-13 10:07 am (UTC)

Re: java api

i'm all over it.
(Reply) (Parent) (Thread)
[User Picture]From: brad
2003-06-13 11:27 am (UTC)

Re: java api

Cool. Let's work over email.... brad@danga.com.
(Reply) (Parent) (Thread)