Giter VIP home page Giter VIP logo

Comments (5)

Jeongseob avatar Jeongseob commented on May 18, 2024

Hi,

AFAIK, Segcache can replay the traces for evaluating the caching strategies. However, it doesn't seem like the tool takes into account the inter-arrival rate between requests.

I am wondering whether there is a client-side load generator replaying the traces so that we can mimic the real-world scenarios .

Thanks!

from cache-trace.

cristina-abad avatar cristina-abad commented on May 18, 2024

We needed this functionality in the past (replay of traces with interarrival information) and implemented a tool based on YCSB for this. The fork is a bit old, but a student was able to use it with a more recent version of YCSB with just some minor changes, so this may work for you too. Our tool is called KV-replay and you can find the code here: https://github.com/disel-espol/KV-replay
And the paper is here: https://ieeexplore.ieee.org/document/7923801/

from cache-trace.

ZiyangJiao avatar ZiyangJiao commented on May 18, 2024

We needed this functionality in the past (replay of traces with interarrival information) and implemented a tool based on YCSB for this. The fork is a bit old, but a student was able to use it with a more recent version of YCSB with just some minor changes, so this may work for you too. Our tool is called KV-replay and you can find the code here: https://github.com/disel-espol/KV-replay And the paper is here: https://ieeexplore.ieee.org/document/7923801/

Thanks a lot. I wonder if there is a sample trace file for KV-replay so users can know the format? It seems that the one used in example is not included in the repository:

(workload-replay_example-tracefile.dat).

Thanks!

from cache-trace.

1a1a11a avatar 1a1a11a commented on May 18, 2024

Hi,

Thanks for the exciting work and traces.

I wonder if you can recommend a tool to replay these traces.

Thank you so much for your insights and time!

The replay tool varies depends on the use case, as @Jeongseob has pointed out, if you plan to evaluate the efficiency of an eviction algorithm, try libCacheSim (https://github.com/1a1a11a/libCacheSim), if you need to evaluate efficiency and throughput, Segcache is the option, if you need to evaluate tail latency or replay the trace in wall clock time (takes weeks to replay), then you can try the tools recommended by @cristina-abad (I haven't used it so cannot comment on it) or write your own.

from cache-trace.

cristina-abad avatar cristina-abad commented on May 18, 2024

@ZiyangJiao I believe the paper has all the details you need, but we just uploaded a sample trace in our repo (https://github.com/disel-espol/KV-replay/blob/master/workloads/workload-rpYoutube-012908-withTimestamp-withSizes-1000.dat). As @1a1a11a said, our tool may or may not work for you. Each use case is specific. KVreplay is completely based on YCSB, so I suggest reading about YCSB before trying to use KVreplay. Any further questions about our tool are best addressed in our own repo, not here (or by email to cabadr at espol.edu.ec). We have not used KVreplay with the Twitter traces yet, but it is something we'd like to do in the future and this is why I was subscribed/watching this repo.

from cache-trace.

Related Issues (7)

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.