Skip to content

Instantly share code, notes, and snippets.

View percyvega's full-sized avatar

Percy Vega percyvega

View GitHub Profile

MongoDB

Terms

Database -> Collections -> Documents -> Fields

Concepts

Sharding (Data Partition, Horizontal Partition):

Breaks up the data among multiple servers.

Concepts

Aperture

  • It's the opening in a lens through which light passes to enter the camera.
  • You can shrink or enlarge the size of the aperture to allow more or less light to reach your camera sensor.
  • It affects the depth of field.
  • It also affects the exposure of your images by making them brighter or darker.
  • e.g. aperture of f/1.4
    • wide/large aperture
  • a lot of light passing through the lens = bright image

What is Kubernetes

* Kubernetes is an open-source container orchestrator
* K8s helps with:
	* Cluster Management of machines (perform health checks, bounce them, change cluster size)
	* Scheduling containers on those machines (match CPU/memory requirements with right machines).
* Defines API objects to describe your cluster’s desired state.
* Provides basic monitoring, logging, and health checking.
* Reconciles desired state and current state.