Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

First things to do for FLOCX #1

Open
SahilTikale opened this issue Nov 6, 2018 · 0 comments
Open

First things to do for FLOCX #1

SahilTikale opened this issue Nov 6, 2018 · 0 comments
Assignees

Comments

@SahilTikale
Copy link
Contributor

1st thing 1st: Create a repository of FLOCX and add whitel (username) to it, make him a member that can review and merge.

First steps to do for FLOCX

HIL-Node

  • Add another field in the Nodes object to hold information about
  • Owner: Who actually owns it.
  • Occupant: Who currently is using it.

HIL-project

  • Add a “Transfer Nodes” operation in HIL. It transfers nodes from the Tenants projects to Marketplace project and vice versa
  • Create a database for FLOCX. Design it.
  • It will control the project MarketPlace in HIL

FLOCX-Market

  • Manages credits for all projects
  • Tracks available nodes to the market
  • Tracks which nodes are allocated where

FLOCX-Market-Accounting

  • Add credits from other project use of my nodes
  • Remove credits from me using other people’s nodes
  • Add credits from outside FLOCX (Using real money eg)

FLOCX-Market-Operations

  • Transfer node from one project to another
  • Transfer node from marketplace to project
  • Transfer node from project to marketplace
  • Timer for when duration expires
  • Poll for expired duration. Use database triggers for duration expiration

Some db good practices:

  • Every row has a unique, not related to the data, id
  • Update & delete timestamps
  • Never delete rows
  • Money related operations should be idempotent (or fixable).
  • Add more money: current balance is 1000 $, add 100$, (I had 1000$ and adding 100$ to it, making it 1100$). This will capture broken transactions.
  • Alternately, use sequences and reject records that are out of sequence

Next phase Ideas:

  • After building the system using the points given up, simulate schedulers that will interact with the FLOCX marketplace.
@SahilTikale SahilTikale self-assigned this Nov 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant