Git Product home page Git Product logo

quickcached's People

Contributors

akshath avatar preethamhegdes avatar ravindrahv avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

quickcached's Issues

How to configure QuickCached threads number?

In file 'CommandHandler.java' I find the following commented-out code:

		//threads           Number of worker threads requested.
		//stats.put("threads", );

Can I configure QuickCached threads number?
If yes, how to do it?

Thanks.

Failed to test with YCSB

Hi,

I tried to test QuickCached with YCSB but failed.

Testbed

OS: Ubuntu 18.04
JDK: 8 or 11
YCSB: 0.17.0 RC1 (https://github.com/brianfrankcooper/YCSB/tree/0.17.0-RC1)
QuickCached: the master branch
Memcached: 1.4.24 (https://memcached.org/downloads)

Commands

  1. Start QuickCached (in QuickCached directory)
    java -server -Dappname=QC1 -Xms16g -Xmx16g -jar dist/QuickCached-Server.jar -l 127.0.0.1 -p 11211
  2. Load workload (in YCSB directory)
    ./bin/ycsb load memcached -P workloads/workloada -p memcached.hosts=127.0.0.1:11211 -p recordcount=10000 -p operationcount=10000 -threads 8
  3. Run workload
    ./bin/ycsb run memcached -P workloads/workloada -p memcached.hosts=127.0.0.1:11211 -p recordcount=10000 -p operationcount=10000 -threads 8 -s

Problems

  1. When using multiple threads to run the workload, e.g. 8 threads, there seems to be a high probability of failing to shut down all the memcached clients, thus YCSB will run forever even if maxexecutiontime is configured. (Similar to brianfrankcooper/YCSB#618 (comment))
  2. If YCSB successes to shut down all the memcached clients, there will be many ERRORs in UPDATE.

Here are two situations where there will be no problems:

  1. Use Memcached server.
  2. Use QuickCached and run YCSB with one thread.

Could you please help me to solve these problems?

Thanks,
Jiawei

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.