views:

201

answers:

1

I'm new to both memcached & sharding.

I gone though some articles on both. I need to implement both in my application.

Articles I'd gone through were good but none of them gave me how to use these technologies.

Anyone who can suggest me the links from which I can actually configure them and run the samples.

I want to implement memcached first, then sharding and then both of them together.

Thanks for your help.

+3  A: 

Your memcached client will do all of the sharding for you. The harder part is knowing what you should cache so it will actually be beneficial to your application.

In general, you don't want to cache things like database queries. You do want to cache things that you build from database queries that represent higher-level objects in your application.

Having a good API for storage and retrieval of your applications is a good start. You might find the story of memcached a good introduction.

Dustin