Giter Site home page Giter Site logo

abhilashshetty04 / jiva Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openebs-archive/jiva

0.0 0.0 0.0 2.9 MB

CAS Data Engine - iSCSI Distributed Block Storage Controller built-in Go

Home Page: https://openebs.io

License: Apache License 2.0

Shell 16.11% Python 1.51% Go 80.96% Makefile 1.06% Dockerfile 0.36%

jiva's Introduction

Jiva

Build Status Releases Docker Pulls Slack Community Meetings Twitter PRs Welcome Codacy Badge Go Report Card GoDoc CII Best Practices FOSSA Status

OpenEBS Logo

OpenEBS Jiva can be used to dynamically provision highly available Kubernetes Persistent Volumes using local (ephemeral) storage available on the Kubernetes nodes.


Overview

Jiva provides containerized block storage controller.

Jiva Operator helps with dynamically provisioning Jiva Volumes and managing their lifecycle.

Usage

Supported Block Storage Features

  • Thin Provisioning
  • Enforce volume quota
  • Synchronous replication
  • High Availability
  • Incremental/Full Snapshot
  • Full Backup and Restore (using Velero)
  • Supports OS/ARCH: linux/arm64, linux/amd64

How does High Availability work?

Jiva comprises of two components:

  • A Target ( or a Storage Controller) that exposes iSCSI, while synchronously replicating the data to one or more Replicas.
  • A set of Replicas that a Target uses to read/write data. Each of the replicas will be on a different node to ensure high availability against node or network failures. The Replicas save the data into sparse files on the host filesystem directories.

For ensuring that jiva volumes can sustain a node failure, the volumes must be configured with atleast 3 replicas. The target will serve the data as long as there are two healthy replicas. When a node with a replica fails and comes back online, the replica will start in a degraded mode and start rebuilding the missed data from the available healthy replicas.

If 2 of the 3 replicas go offline at the same time, then volume will be marked as read-only. This ensures that target can decided which of the replicas has the latest data.

How does Jiva Perform?

Jiva is optimized for consistency and availability and not performance. There is a significant degradation in performance compared to local storage due to the following design choices:

  • Jiva uses "strong consistency" approach where target will make the write operation as completed only after the data is confirmed to be written to all the healthy replicas.
  • Also Jiva does not implement any caching logic, to allow for the jiva target and replica containers to be ephemeral.
  • Jiva engine is completely written in user space to be able to run on any platform and make upgrades seamless.

If you need low latency storage, please checkout other OpenEBS Engines like Mayastor and Local PVs.

Who uses Jiva?

Some of the organizations that have publicly shared the usage of Jiva.

You can see the full list of organizations/users using OpenEBS here.

If you are using Jiva, and would like yourself to be listed in this page as a an adopter, please raise an issue with the following details:

  • Stateful Applications that you are running on OpenEBS
  • Are you evaluating or already using in development, CI/CD, production
  • Are you using it for home use or for your organization
  • A brief description of the use case or details on how OpenEBS is helping your projects.

If you would like your name (as home user) or organization name to be added to the ADOPTERS.md, please provide a preferred contact handle like github id, twitter id, linkedin id, website etc.

Contributing

OpenEBS welcomes your feedback and contributions in any form possible.

Code of conduct

Please read the community code of conduct here.

Inspiration and Credit

OpenEBS Jiva uses the following two projects:

  • Fork of the Longhorn engine, which helped with the significant portion of the code in this repo, helped us to validate that Storage controllers can be run as microservices and they can be coded in Go.
  • The iSCSI functionality is provided by gostor/gotgt.

License

FOSSA Status

jiva's People

Contributors

yasker avatar payes avatar kmova avatar ibuildthecloud avatar prateekpandey14 avatar utkarshmani1997 avatar kp6 avatar ajkumar01 avatar vishnuitta avatar shubham14bajpai avatar yudaykiran avatar imikushin avatar nsathyaseelan avatar dargasudarshan avatar niladrih avatar aerostitch avatar pawanpraka1 avatar ashishknitcs avatar wangzihao3 avatar chentex avatar valerianpereira avatar sanket0896 avatar agarwalrounak avatar rajatvaryani avatar pensu avatar scorphus avatar nexweb avatar moteesh avatar miyurz avatar vharsh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.