Skip to content

简单分布式缓存系统,2021腾讯“引力计划”项目

Notifications You must be signed in to change notification settings

gene1974/DistributedCache

Repository files navigation

DistributedCache

Design Document

https://docs.qq.com/doc/DZmF1RExManVORlpr

Using Guide

client:

# compile
g++ run_client.cpp client.cpp socket_client.cpp socket_server.cpp Utils.cpp -lpthread -o client

#run
./client ip port master_ip master_port [interval]

master:

# compile
g++ run_master.cpp master.cpp my_hash.cpp socket_client.cpp socket_server.cpp Utils.cpp -lpthread -o master

#run
./master ip port1 port2 client_ip client_port [interval]

cache:

# compile
g++ run_cache.cpp cache.cpp LRUCache.cpp socket_client.cpp socket_server.cpp Utils.cpp -lpthread -o cache

#run
./cache ip port _master_ip _master_port [size]

About

简单分布式缓存系统,2021腾讯“引力计划”项目

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages