Download - Memcached as a Service for CloudFoundry
![Page 1: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/1.jpg)
Memcachedas aService
NTT CommunicationsUEMURA Yuichi
@u1
OZAWA Tsuyoshi@oza_x86
12年1月23日月曜日
![Page 2: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/2.jpg)
What isCloud Foundry?
12年1月23日月曜日
![Page 4: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/4.jpg)
OpenSourcePaaSProjectby VMWarehttp://www.flickr.com/photos/loop_oh/4313629167/sizes/o/
in/photostream/
12年1月23日月曜日
![Page 5: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/5.jpg)
What is the strength of “OSS-based PaaS”?
12年1月23日月曜日
![Page 6: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/6.jpg)
There are several build-in OSS “as a Service”!
12年1月23日月曜日
![Page 7: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/7.jpg)
What are built-in “as a Services”?
12年1月23日月曜日
![Page 8: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/8.jpg)
Pg as a Service!http://www.flickr.com/photos/rc_fotos/4920621604/sizes/o/
in/photostream/12年1月23日月曜日
![Page 9: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/9.jpg)
MySQL as a Service!
http://www.flickr.com/photos/rc_fotos/4920621604/sizes/o/in/photostream/
12年1月23日月曜日
![Page 10: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/10.jpg)
NoSQL DBs as a Service!
12年1月23日月曜日
![Page 11: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/11.jpg)
However,
12年1月23日月曜日
![Page 12: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/12.jpg)
There is a missing service...
12年1月23日月曜日
![Page 13: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/13.jpg)
That is :
12年1月23日月曜日
![Page 14: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/14.jpg)
Memcachedhttp://www.sixapart.com/labs/memcached/libraries.html
http://memcached.org/12年1月23日月曜日
![Page 15: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/15.jpg)
What is memcached?
• “Free & open source, high-performance, distributed memory object caching system”quoted from http://memcached.org
• Very, very widely used component!
12年1月23日月曜日
![Page 16: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/16.jpg)
Problem
• No Memcached support in Cloud Foundry
• The other PaaSes provide memcached-like caching service as a Service
12年1月23日月曜日
![Page 17: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/17.jpg)
IF CF supports Memcached as a Service,
PaaS users can use
12年1月23日月曜日
![Page 18: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/18.jpg)
Therefore,
12年1月23日月曜日
![Page 19: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/19.jpg)
We(NTT Com) implemented
Memcached as a Service!
12年1月23日月曜日
![Page 20: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/20.jpg)
Available fromNTTCom Repositoryhttps://github.com/nttcom/
vcap-services
12年1月23日月曜日
![Page 21: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/21.jpg)
Current implementation
• Based on Redis as a Service
• About 1400 LOC including tests
• Supports:
• Basic resource restriction
• Multiple instances
• can be used from CF apps
12年1月23日月曜日
![Page 22: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/22.jpg)
Sample Code
https://gist.github.com/1547175
Simple count up app
12年1月23日月曜日
![Page 23: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/23.jpg)
Demo12年1月23日月曜日
![Page 24: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/24.jpg)
Current Situation
• Sent Pull request
• https://github.com/cloudfoundry/vcap-services/pull/15
• Some users approved our patch
• However...
12年1月23日月曜日
![Page 25: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/25.jpg)
No response from CloudFoundry
teams... orz
12年1月23日月曜日
![Page 26: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/26.jpg)
ToDo
• SASL supports
• Configurable parameters in more detail
12年1月23日月曜日
![Page 27: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/27.jpg)
Summary
• NTTCom implemented MaaS(Memcached as a Service)
• It can be used from CF apps
• There are several ToDo, but pending because no response from CF DEV teams.
12年1月23日月曜日
![Page 28: Memcached as a Service for CloudFoundry](https://reader034.vdocument.in/reader034/viewer/2022052410/554f661eb4c9058a148b4b27/html5/thumbnails/28.jpg)
Please comment “+1” or some opinions at:
https://github.com/cloudfoundry/vcap-services/pull/15
12年1月23日月曜日