- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我看到各种关于 MongoDB 的引用,作为 YCSB 基准测试的客户端,以测试 NoSQL 数据库服务器的可扩展性/弹性。
https://github.com/brianfrankcooper/YCSB
但是,很明显基准测试需要某种分片设置,因为测试设计为在 6 到 10 台服务器计算机上运行以显示扩展性和弹性。
我无法在 Internet 上找到任何有关 MongoDB 配置的引用资料。我找不到任何发布结果的人也发布了他们的配置。
这件事真的做成功了吗?与 Cassandra、HBase 等原始 YCSB 客户端相比,结果如何。
我特别困惑,因为在 MongoDB 客户端的代码中它读到......“每个客户端线程有一个数据库实例”......见片段。
public class MongoDbClient extends DB {
private static final Logger logger = LoggerFactory.getLogger(MongoDbClient.class);
private Mongo mongo;
private WriteConcern writeConcern;
private String database;
/**
* Initialize any state for this DB. Called once per DB instance; there is
* one DB instance per client thread.
*/
public void init() throws DBException {
// initialize MongoDb driver
Properties props = getProperties();
......
但是,在 Brian Cooper YCSB 结果论文中,它指出他们运行的工作负载高达 500 个线程。
6.1 Experimental Setup
For most experiments, we used six server-class machines (dual 64-bit quad core 2.5 GHz Intel Xeon CPUs, 8 GB of RAM, 6 disk RAID-10 array and gigabit ethernet) to run each system. We also ran PNUTS on a 47 server cluster to successfully demonstrate that YCSB can be used to benchmark larger systems. PNUTS required two additional machines to serve as a configuration server and router, and HBase required an additional machine called the “master server.” These servers were lightly loaded, and the results we report here depend primarily on the capacity of the six storage servers. The YCSB Client ran on a separate 8 core machine. The Client was run with up to 500 threads, depending on the desired offered throughput. We observed in our tests that the client machine was not a bottleneck; in particular, the CPU was almost idle as most time was spent waiting for the database system to respond.
有谁知道这个基准测试的分片配置在哪里?是否有任何真正的竞争结果可以通过分片配置或为什么不需要分片的详细解释来支持。
谢谢,-罗伯特
最佳答案
我们没有将 MongoDB 作为我们最初的 YCSB 研究的一部分。 Mongo 客户端后来由另一位开发人员贡献,但我还没有针对 Mongo 运行完整的基准测试,所以我不知道客户端是否真的做了它需要做的一切。如果没有,请继续提交补丁,我会尝试包含它!
此外,“每个客户端线程一个数据库实例”注释意味着 JVM 中的数据库客户端类的一个实例,不一定是一个 MongoDB 服务器。
关于mongodb - YCSB - 为什么我在互联网上的任何地方都找不到分片配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5930061/
例如,我有一个父类Author: class Author { String name static hasMany = [ fiction: Book,
代码如下: dojo.query(subNav.navClass).forEach(function(node, index, arr){ if(dojo.style(node, 'd
我有一个带有 Id 和姓名的学生表和一个带有 Id 和 friend Id 的 Friends 表。我想加入这两个表并找到学生的 friend 。 例如,Ashley 的 friend 是 Saman
我通过互联网浏览,但仍未找到问题的答案。应该很容易: class Parent { String name Child child } 当我有一个 child 对象时,如何获得它的 paren
我正在尝试创建一个以 Firebase 作为我的后端的社交应用。现在我正面临如何(在哪里?)找到 friend 功能的问题。 我有每个用户的邮件地址。 我可以访问用户的电话也预订。 在传统的后端中,我
我主要想澄清以下几点: 1。有人告诉我,在 iOS 5 及以下版本中,如果您使用 Game Center 设置多人游戏,则“查找 Facebook 好友”(如与好友争夺战)的功能不是内置的,因此您需要
关于redis docker镜像ENTRYPOINT脚本 docker-entrypoint.sh : #!/bin/sh set -e # first arg is `-f` or `--some-
我是一名优秀的程序员,十分优秀!