GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ctripcorp/crdt-module

BranchesTags
Open more actions menu

Latest commit

 

History

209 Commits
209 Commits

Folders and files

NameName
Last commit message
Last commit date
deps
deps
 
 
doc
doc
 
 
gcounter
gcounter
 
 
include
include
 
 
lww
lww
 
 
orset
orset
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
CRDT-RELEASENOTES
CRDT-RELEASENOTES
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
constans.h
constans.h
 
 
crdt.c
crdt.c
 
 
crdt.h
crdt.h
 
 
crdt_pubsub.c
crdt_pubsub.c
 
 
crdt_pubsub.h
crdt_pubsub.h
 
 
crdt_register.c
crdt_register.c
 
 
crdt_register.h
crdt_register.h
 
 
crdt_set.c
crdt_set.c
 
 
crdt_set.h
crdt_set.h
 
 
crdt_statistics.c
crdt_statistics.c
 
 
crdt_statistics.h
crdt_statistics.h
 
 
crdt_util.c
crdt_util.c
 
 
crdt_util.h
crdt_util.h
 
 
ctrip_crdt_common.c
ctrip_crdt_common.c
 
 
ctrip_crdt_common.h
ctrip_crdt_common.h
 
 
ctrip_crdt_expire.c
ctrip_crdt_expire.c
 
 
ctrip_crdt_expire.h
ctrip_crdt_expire.h
 
 
ctrip_crdt_hashmap.c
ctrip_crdt_hashmap.c
 
 
ctrip_crdt_hashmap.h
ctrip_crdt_hashmap.h
 
 
ctrip_crdt_register.c
ctrip_crdt_register.c
 
 
ctrip_crdt_register.h
ctrip_crdt_register.h
 
 
ctrip_crdt_zset.c
ctrip_crdt_zset.c
 
 
ctrip_crdt_zset.h
ctrip_crdt_zset.h
 
 
ctrip_vector_clock.c
ctrip_vector_clock.c
 
 
ctrip_vector_clock.h
ctrip_vector_clock.h
 
 
package.sh
package.sh
 
 
test_crdt
test_crdt
 
 
test_crdt_register
test_crdt_register
 
 
util.c
util.c
 
 
util.h
util.h
 
 
utils.c
utils.c
 
 
utils.h
utils.h
 
 
version.h
version.h
 
 

Repository files navigation

How to

Set up

at startup

redis-server <$conf-file> --loadmodule <path>/crdt.so

already started

redis-cli module load <path>/crdt.so

Use

redis-cli set key val

redis-cli get key redis-cli crdt.get key

Develop

Mem Alloc/Free

  • For temporary used mem/struct, using Redis Module's auto memory alloc.
  • For permanent used mem/struct, pass a flag to tell function whether to copy or take directly

Mem Leak Check

 make distclean
 make OPTIMIZATION=-O0 MALLOC=libc
 tclsh8.5 tests/test_crdt.tcl --valgrind --clients 1

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

10 stars

Watchers

10 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.