Giter VIP home page Giter VIP logo

optimalwebcaching's People

Contributors

dasebe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

optimalwebcaching's Issues

PFOO-U is too slow

PFOO-U is painfully slow on traces above 50 million requests. Technically, it should be a linear-time algorithm and should outperform PFOO-L. But PFOO-L is orders of magnitude faster in practice, due to its simplicity. In addition, PFOO-U is single threaded and memory bound.

PFOO-U yields impossible result

I tried PFOO-U with a short test trace and discovered what appears to be an impossible solution. My trace was

1 1 10
2 1 10
3 2 10
4 1 10
5 2 10
6 2 10
7 2 10
8 1 10

ran with cache size = 11 and max-valued step size, and my solution from PFOO (using OHRGoal/PFOO-U/pfoou) was

// output from PFOO-U
// ID, Size, Utility, decision_var, is_hit

1 10 0.1    1    0
1 10 0.05   1    1
2 10 0.05   0.1  0
1 10 0.025  1    1    **
2 10 0.1    1    0.1  **
2 10 0.1    1    1
2 10 0      0    1
1 10 0      0    1

I've highlighted the two rows that I believe yield an impossible solution as caching both objects entirely would exceed the cache size. The regular FOO-U (OHRgoal/FOO/foo) implementation seems to yield the correct integer hit rate of 4/8

// output from FOO
// Time, ID, Size, decision_var

1 1 10 1
2 1 10 0.1
3 2 10 1
4 1 10 0.1
5 2 10 1
6 2 10 1
7 2 10 0
8 1 10 0

As a result of this the miss rate from PFOO-U (3/8) is less than the miss rate from FOO-U (4/8) on this trace which seems like it violates the claim from the paper that PFOO-L ≤ FOO-L ≤ OPT ≤ FOO-U ≤ PFOO-U

About the dataset

Hello. Previously, we closely followed your work on "LFO: Towards Lightweight and Robust Machine Learning for CDN Caching" [HotNets'18]. We conducted some tests based on the dataset you provided ("We use a 2016 request trace from the CDN of an anonymous top-ten US website. Recorded on a San Francisco CDN server, the trace spans about a week (500 million requests).") for evaluation purposes.

Unfortunately, we noticed that the dataset is no longer available for download on your homepage (https://www.microsoft.com/en-us/research/people/daberg/data-and-software/). Moreover, the above link contains the trace in 2018 instead of 2016. As we aim to reproduce our algorithm's experimental results using your dataset, we were wondering if there are any alternative means to obtain this dataset. Many thanks!

How to output the exact decision of PFOO for trace?

Hi,

I want to get the decision from PFOO. But when I run the command like ./pfoou [trace name] [cachesize in bytes] [pivot rule] [step size] [output name], I can only obtain some numbers like fluid2 1.0000 4 12 0.3333 1.0833 4 in the output file. Is it supposed to see the binary cached decision for each request in the output file?

If this is not the correct way, can you provide some instruction how to obtain these binary decisions from PFOO? Thanks!

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.