Content from 2016-11
ZooKeeper is a component that facilitates building distributed applications.
It is:
- a distributed hierarchical key value store,
- chooses C(onsistency) and A(availability) in the CAP theorem,
- works best on read-dominated workloads (< 10% writes),
- keeps content in the memory of each instance, and
- expects the data stored on each node (key) to be small (maybe several KiB).
The data managed by ZooKeeper is presented in a file system like manner with
directories and files whose names get separated by slashes (/). The difference
to a file system is, that you can store information in the directories as well.
Or seen differently: directories are files at the same time. Based on this
simple abstraction, users of ZooKeeper can implement things like leader election
in a cluster of software instances.
weiterlesen | read more | lee mas | lê mais | 閱讀更多 »
To stay on the right track with microservices, I wanted to revisit the
philosophy and organizational recomendations on how to do them right. After
reading Building Microservices in april this year, I
got Microservice Architecture, aligning principles, practices, and culture by
Irakli Nadareishvili et al.; O'Reilly Media, Inc., 2016.
The book can be read on one week-end as the content is very well condensed to
118 pages.
weiterlesen | read more | lee mas | lê mais | 閱讀更多 »
It's hard to find sources how to do front-end micro-services in a single page
application (SPA). Having a single front-end that faces the user
makes it hard to impossible to exploid the full power of going micro-services in
the back-end. For every new function you cannot just deploy the corresponding
service, but you have the dependency to update and redeploy the service as well.
So I was looking around how to go micro in an SPA. One of the ideas
I found on the web was to do so using web components. To evaluate this idea as
someone working mainly on the backend I thought I should get some literature and
bought the book Developing Web Components by Jarrod Overson and Jason Strimpel,
O'Reilly Media, Inc., 2015.
weiterlesen | read more | lee mas | lê mais | 閱讀更多 »