【发布时间】:2019-09-12 23:23:54
【问题描述】:
我正在使用 couchdb,我需要对数据库进行压力测试以确保性能限制。 我从来没有做过任何形式的性能测试。所以我决定写一段代码来做到这一点:
import couchdb
couch= couchdb.Server('xxxxxxx')
db= couch["performance_test"]
doc={
"test": "test",
"db":"cocuh"
}
db.save(doc)
所以这只是一个开始,我需要添加很多东西才能让它工作。例如在基准方面,衡量......我不知道该怎么做。在继续完成代码之前,我想确保我走在正确的道路上。这是最好的方法吗?还是我应该使用特定的工具?任何见解表示赞赏
【问题讨论】:
标签: performance couchdb database-performance stress-testing