Mango
Mango
CC#
Created by TheSnowOwl on 5/13/2024 in #help
Anyone interested in trying to break an encryption i have written?
Upload the contents of the text file rather than the file itself
43 replies
CC#
Created by LazyGuard on 4/20/2024 in #help
How to know if it's worth it to implement a circuit breaker ?
we don't focus on tiny optimizations in early phases, we make something work then refine it. Works pretty well
28 replies
CC#
Created by LazyGuard on 4/20/2024 in #help
How to know if it's worth it to implement a circuit breaker ?
Really depends on what our users do. I don't expect more than 10 requests in a minute, it'd be really difficult. But if the service goes down for a hour that can be 600 stored requests. But once we store them they are living on the system not memory
28 replies
CC#
Created by LazyGuard on 4/20/2024 in #help
How to know if it's worth it to implement a circuit breaker ?
If thats a concern you can do a stress test benchmark, but its a non-issue with our setup. Some megabytes isn't gonna hurt anything for us
28 replies
CC#
Created by LazyGuard on 4/20/2024 in #help
How to know if it's worth it to implement a circuit breaker ?
Yes every request will be in memory until its handled in some fashion
28 replies
CC#
Created by LazyGuard on 4/20/2024 in #help
How to know if it's worth it to implement a circuit breaker ?
If all 5 retries fails the fallback is storing them until a connection is restored
28 replies
CC#
Created by LazyGuard on 4/20/2024 in #help
How to know if it's worth it to implement a circuit breaker ?
We use Polly. We are using a fallback policy that has 5 retries
28 replies
CC#
Created by LazyGuard on 4/20/2024 in #help
How to know if it's worth it to implement a circuit breaker ?
In terms of worth I think the biggest things (for us anyways) were: • Can it be abused and create a DoS attack intentionally or unintentionally • Can it cause unexpected errors or data corruption • Does order matter? And if it does can we somehow guarantee order with/without it
28 replies
CC#
Created by LazyGuard on 4/20/2024 in #help
How to know if it's worth it to implement a circuit breaker ?
We serialize them (in order) and store them on the machine until one of our requests succeeds. Once one succeeds we have a service that transform them back into requests and send them out. This approach may not apply to you though if your subsequent requests rely on the request before it in which case circuit breaking may be worth it for you
28 replies
CC#
Created by LazyGuard on 4/20/2024 in #help
How to know if it's worth it to implement a circuit breaker ?
For us, we are internal tooling, so we just hold onto requests that failed Polly's retry policy and then execute them when another request going out finally succeeds
28 replies
CC#
Created by LazyGuard on 4/20/2024 in #help
How to know if it's worth it to implement a circuit breaker ?
True Polly has that. I was just sharing with ya what we do since you asked if its worth it. I guess it comes down to if you think allowing the app to constantly retry something that is likely to fail exposes you to any sort of DoS attacks or unexpected behaviors
28 replies
CC#
Created by LazyGuard on 4/20/2024 in #help
How to know if it's worth it to implement a circuit breaker ?
What we do is we use Polly for automatic retry policies. If Polly fails (I.E. no connection at all) we serialize our requests, store them on the machine, and then retry them later when something else going on is successful and the connection is restored
28 replies
CC#
Created by bᥲkᥙg᥆ on 4/19/2024 in #help
excel modification
What code are you trying to improve? I just see an excel sheet Edit: I see you added a pastebin link to the post now 👍
113 replies
CC#
Created by ! 0Falco on 3/27/2024 in #help
WPF UI appears different in debug
That'll center the buttons actually. You can use 1 column to keep the buttons side by side
26 replies
CC#
Created by ! 0Falco on 3/27/2024 in #help
WPF UI appears different in debug
Place your box spanning across both columns in row 0, buttons in column 0 row 1 column 1 row 1
26 replies
CC#
Created by ! 0Falco on 3/27/2024 in #help
WPF UI appears different in debug
Use a grid with 2 columns and 2 rows. Both columns width *, * two rows one with height * the next auto
26 replies
CC#
Created by 636965736c610a on 3/22/2024 in #help
Parsing double
Yes
11 replies
CC#
Created by 636965736c610a on 3/22/2024 in #help
Parsing double
No youre right I just went to hit delete :kekw: I misread and got confuzzled
11 replies