Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for timeout option #7

Open
kumargautam-vmware opened this issue Mar 12, 2020 · 7 comments
Open

Add support for timeout option #7

kumargautam-vmware opened this issue Mar 12, 2020 · 7 comments

Comments

@kumargautam-vmware
Copy link

is it possible to add timeout option for fault?
User will add timeout as milliseconds during fault injection, and after given timeout fault got delete automatically from Redis proxy.

@lafikl
Copy link
Collaborator

lafikl commented Mar 12, 2020

So a certain fault scenario, will only be valid for a certain amount of time?

{
   "rules":[
      {
         "name":"delay_with_ttl",
         "ttl":5000,
         "percentage":2,
         "delay":100
      }
   ]
}

and after 5 seconds, the rule will be removed automatically from RedFI?

@kumargautam-vmware
Copy link
Author

yes, correct.
ttl support available in current release?

@lafikl
Copy link
Collaborator

lafikl commented Mar 12, 2020

no, it's not. But i was trying to understand your idea better.

Also, are you using this at VMWare?

@kumargautam-vmware
Copy link
Author

kumargautam-vmware commented Mar 13, 2020

I'm using for https://vmware.github.io/mangle/, which is an open source project of VMware.

@lafikl
Copy link
Collaborator

lafikl commented Mar 14, 2020

oh nice! ok i'll look into adding it this week

@kumargautam-vmware
Copy link
Author

Blast limiters like command=GET and client_addr=10.3.45.234 are not working. if adding rule like ruleadd delay_25 delay=2000 command=GET , so it should add delay only for GET command not for others command like SET.

But, it is adding delay for others command also. can help me on this?

@aswathy-ramabhadran
Copy link

Hello @lafikl wanted to check if you have an update on this enhancement and by when it would be made available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants