如何手动创建限制方案 [英] How to create throttling scenario manually
问题描述
我想看看我的MP是否正常工作。因为我必须手动为我的缓存服务器创建限制方案。我怎么能这样做?
$
请帮助我
Hi,
I want to see wether my MP is working. for that i have to manually create the throttling scenario for my cache server. how can i do that?
please help me
推荐答案
有多种选择:
There are multiple options:
创建此类场景的最简单方法是在群集中拥有一个不可迁移的,不可过期的缓存,并继续将数据连续放入其中,直到客户端抛出限制错误。
The easiest way to create such scenario would be to have a non evictable , non expirable cache in the cluster and keep putting data continuosly into it till the client throws the throttled error.
如果您只想将其中一个服务器节点放入限制中,请在不可关联的不可过期的缓存中创建一个命名区域,然后在那里执行所有放置。
If you want to put only one of the server nodes into throttling, created a named region in the nonevictable, non expirable cache and then do all the puts there.
这篇关于如何手动创建限制方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!