zookeeper-aware application server

19
ZooKeeper-aware appserver Andreas Mosti | System Developer | [email protected]

Upload: andreas-mosti

Post on 19-Jul-2015

206 views

Category:

Technology


1 download

TRANSCRIPT

ZooKeeper-awareappserver

Andreas Mosti | System Developer | [email protected]

Meet Apache ZooKeeper.He does coordination.

He watches our Solr-nodes.

Case 1: Failover

SolrCloud has redundancy.

Current solution:

Selected node fails…

…search is unavailable.

But we have redundancy?

I know this stuff, ask me!

ZooKeeper finds a suitable node…

…and selects new node on the fly.

DEMO

Case 2: Configfiles

«I want to change the log-level on all my servers.»

srv-01 srv-02 srv-03 srv-04

srv-05 srv-06 srv-07 srv-08

Centralized place for config.

Change config, watcher kicks in

DIPS ZookeeperWatcher API