Code Monkey home page Code Monkey logo

ctgfs's People

Contributors

handora avatar therewillbeonedaypyf avatar wfgu-git avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mars00772

ctgfs's Issues

Implements mvcc for kv

What should the feature do:
1. add mvcc for kv or fs
2. support unblocking read interface with timestamp
3. write multiple version data for write interface

add try_lock to lock_client_cache and use in move

  1. looks for whether the lock is in my thread(cached by myself)
  2. if true: return true
  3. else: send acquire with a new thread and return false

in move:
while true
if try lock one fail: than release all, sleep 1s, continue
else if all locked true : break

add log to replace google-log

  1. 如果最后一个字节不是\n,那么加上\n
  2. 打印出 [timestamp]: (文件名: 行号) 打印的东西。
  3. 可以支持printf, %x,%d这种东西
  4. 支持打印等级
  5. 这个宏的名字叫CTG_WARN

for example: CTG_WARN(WARN, "error is %d", 15)
=>
[19:20:35]: (qc.cc: 30) error is 15\n

All works for thesis

  1. fuse client , weifeng
    • file system hook, weifeng
    • library architecture, weifeng
  2. yfs client
    • lock client,tl
      • cache ,tl
    • extent client , weifeng
      • cache , weifeng
    • master client,tl
      • cache, tl
    • global timestamp client, qc
  3. master
    • master server, tl
    • lock server,tl
      • cache,tl
    • prefix tree,tl
      • multi branch tree, tl
      • auto adjust cursor, tl
      • cost evaluation, tl
    • global timestamp server, qc
    • info collector , weifeng
  4. server
    • extent server , weifeng
    • move, weifeng
  5. storage
    • wal, qc
    • mvcc, weifeng
    • lsm
      • memtable, qc
      • sstable, qc
  6. utility
    • RPC, weifeng
      • RPC frame architecture, weifeng
        • RPC packet, weifeng
        • RPC manager, weifeng
        • marsh override, weifeng
        • error handler, weifeng
      • at most once & at least once semantics, weifeng
    • thread pool, tl
    • log library, weifeng
    • waiter library, qc
  7. test
    • fault injection, all
    • modulity unittest, all
  8. benchmark, all

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.