Server Virtualization Comparision

Please visit the following links for more details:

Advertisements

Docker

Introduction into Docker: Difference to other virtualization technology

References about Docker: container technology

Business Insights: (Container Technology)

Docker Container:

Docker Configuration:

Docker Swarm:

Docker Issues and Pitfalls:

  • [see only one docker nodes in docker swarm infos]:
    The Docker nodes were all copies of the same virtual machine that had already started Docker before cloning, which ended up creating the same Docker ID in /etc/docker/key.json. I stopped Docker, removed the key file, and then restarted so each daemon would create a new key file.
    Reference: https://forums.docker.com/t/docker-swarm-issues/2132

CAP Theorem

In a distributed system you can satisfy at most 2 out of the 3 guarantees:

  1. Consistency: all nodes see same data at any time, or reads return lastest written value by any client.
    • It means that even though there are multiple clients that are reading and writing the data. All the clients see the same data at any given point of time. The reads by any client return the latest written value by a particular client.
  2. Availability: the system allows operations all the time, and operations return quickly.
  3. Partition-tolerance: the system continues to work in spite of network partitions.
    • When the system is partitioned, some parts of the system fail, the system should still continue to work. It means that the remaining functioning partitions of system still need to guarantee both consistency and availability.
    • Partitions can happen across data-centers when the internet gets disconnected through “Internet router outages”, “Under-sea cables cut” or “DNS not working”
    • Partitions can also occur within a data-center, e.g. a rack switch outage.

References:

  1. CAP Theorem is proposed by Eric Brewer (Berkeley) in 1998:
    http://www.infoq.com/articles/cap-twelve-years-later-how-the-rules-have-changed
  2. CAP Theorem is subsequently proved by Gilbert and Lynch (Nus and MIT) in 2002: ACM SIGACT News, Volume 33 Issue 2 (2002), pg. 51-59
  3. Wikipedia article: https://en.wikipedia.org/wiki/CAP_theorem

Memory Usage of Java Objects

Heap Space usage of Java Objects:
http://btoddb-java-sizing.blogspot.de/

Red-Black Trees

A reference to Left-leaning Red-Black Trees by Professor Robert Sedgewick:
https://www.cs.princeton.edu/~rs/talks/LLRB/LLRB.pdf

More Information about Red-Black Trees implementation are also available at:
http://algs4.cs.princeton.edu/home/