English 中文(简体)
3. 业绩问题?
原标题:Redis performance issues?

I was trying to put some heavy load on my Redis for testing purposes and find out any upper limits. First I loaded it with 50,000 and 100,000 keys of size 32characters with values around 32 characters. It took no more than 8-15 seconds in both key sizes. Now I try to put 4kb of data as value for each key. First 10000 keys take 800 milli seconds to set. But from that point it slows down gradually and to set whole 50,000 keys it takes aroudn 40 minutes. I am loading the database using NodeJs with node_redis (Mranney) . Is there any mistake I am doing or is Redis just that slow with big values of size 4 KB?

现在,我发现的另一件事是,当我与目前的客户平行管理另一个客户时,更新了第二位客户在8秒内将500万钥匙装上4kb值的钥匙,而第一客户仍然永远这样做。 它是在 no或再造的图书馆中的ug吗? 这一点令人震惊,不能为生产所接受。

最佳回答

你们需要获得某种回馈压力,以做大宗书写,从 no到红.。 否则,就将对所有文字进行盘点,而不对即将到来的格规模实施上限。

Node_redis有一次“人才”活动,你可以聆听,以施压。

问题回答

这种使用没有优化缺省重新配置。 我怀疑你用纸面尺寸为32的纸面打上软磁盘,这意味着每个关键元件必须找到128个连续的免费页面,最后可能使用磁带系统,或需要扩大 file纸。

当你更新钥匙时,空间已经分配,因此你看不到任何业绩问题。

自2006年以来 我在诺德贾斯做了许多定点(价值)的工作,但与此同时,许多袖珍连接也开放。 NodeJs的笔记本可能会超负荷,而GC可能会出现故障。

PS: I changed redis memory configurations as Tom suggested but it was still performing the same.





相关问题
What to look for in performance analyzer in VS 2008

What to look for in performance analyzer in VS 2008 I am using VS Team system and got the performance wizard and reports going. What benchmarks/process do I use? There is a lot of stuff in the ...

SQL Table Size And Query Performance

We have a number of items coming in from a web service; each item containing an unknown number of properties. We are storing them in a database with the following Schema. Items - ItemID - ...

How to speed up Visual Studio 2008? Add more resources?

I m using Visual Studio 2008 (with the latest service pack) I also have ReSharper 4.5 installed. ReSharper Code analysis/ scan is turned off. OS: Windows 7 Enterprise Edition It takes me a long time ...

Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

热门标签