coherence 12.1.3 memcached adapter

10
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Coherence Memcached Adaptor Ballav Bihani Consulting Member Technical Staff Cloud Application Foundation May 28, 2014

Upload: oracle-coherence

Post on 15-Jan-2015

384 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Coherence 12.1.3 Memcached Adapter

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Coherence Memcached Adaptor

Ballav BihaniConsulting Member Technical StaffCloud Application FoundationMay 28, 2014

Page 2: Coherence 12.1.3 Memcached Adapter

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Safe Harbor StatementThe following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

Page 3: Coherence 12.1.3 Memcached Adapter

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Motivation• Allow Coherence to be a drop-in replacement for Memcached server.• Leverage widely available Memcached client libraries to talk to Coherence

from multiple languages.• Provides an easy migration path from Memcached to Coherence.• Take advantage of Coherence RASP features.

Page 4: Coherence 12.1.3 Memcached Adapter

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Implementation• Memcached binary protocol support

added to Coherence Proxy Service.

• Configured as an Acceptor in the proxy service similar to a tcp or http acceptor.

• Access Coherence partitioned cache thru memcached clients.

• POF inter-operability between Coherence clients and memcached java clients that support pluggable serializers. (like spymemcached)

Memcached… Client

Cache

Memcached Acceptor

MemcachedRuby Client

POF Serializer

Ca

ch

e S

erv

er

Pro

xy

Se

rve

r

MemcachedJava Client

MemcachedPHP Client

Page 5: Coherence 12.1.3 Memcached Adapter

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Configuration <proxy-scheme>

<service-name>MemcachedProxyService</service-name>

<acceptor-config>

<memcached-acceptor>

<cache-name>memcache</cache-name>

<address-provider>memcached-provider</address-provider>

</memcached-acceptor>

</acceptor-config>

<autostart>true</autostart>

</proxy-scheme>

Page 6: Coherence 12.1.3 Memcached Adapter

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Security• Supports SASL PLAIN authentication mechanism using Coherence Identity

Asserter

• Integrates with the Coherence Proxy Security framework for custom authorization.

Page 7: Coherence 12.1.3 Memcached Adapter

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Demo

Page 8: Coherence 12.1.3 Memcached Adapter

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Join the Coherence Communityhttp://coherence.oracle.com

@OracleCoherence

facebook.com/OracleCoherence

blogs.oracle.com/OracleCoherence

Oracle Coherence Users

youtube.com/OracleCoherence

coherence.oracle.com/display/CSIGCoherence Special Interest Group

Page 9: Coherence 12.1.3 Memcached Adapter

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Page 10: Coherence 12.1.3 Memcached Adapter