News for hackers. Stuff that matters.
Re:Microsoft YARP by rafale on Sunday February 20, 2022 @05:16PM (#30409779)
I see. So it can operate in-process? Could in theory be much faster than nginx out-of-process model.
Re:Microsoft YARP by tremon on Sunday February 20, 2022 @05:40PM (#30409960)
Why would someone need an in-process reverse proxy? I don't see what an in-process proxy would add that a request routing engine couldn't do. Or is the point that you can now add your reverse proxy configuration as just another project within the same solution?
Re:Microsoft YARP by rafale on Sunday February 20, 2022 @05:58PM (#30410079)
And you could dynamically and efficiently add/remove web apps and endpoints assuming your entire codebase is in C#.
Re:Microsoft YARP by bob1029 on Sunday February 20, 2022 @10:32PM (#30411673)
You can also block the clients for a brief period while you make routing changes, or wait for any other arbitrary event to complete. This is one way to achieve zero-downtime upgrades, even in situations where the service is running as a single binary on a single host.
Re:Microsoft YARP by AlfeG on Monday February 21, 2022 @07:34AM (#30415167)
We use it to proxy request from "modern" part of application moved to .net core to legacy parts of application, that are yet to be converted.
Re:Microsoft YARP by davidfowl on Monday February 21, 2022 @10:59AM (#30417286)
This is a "premiere use case" we've seen people use YARP for.
Re:Microsoft YARP by kcb on Sunday February 20, 2022 @05:51PM (#30410038)
I was assuming more the latter. Also benefit is you can extend and customize in C#.
Re:Microsoft YARP by 9wzYQbTYsAIc on Sunday February 20, 2022 @10:06PM (#30411521)
You might need to deploy a single executable rather than multiple.
Re:Microsoft YARP by oaiey on Monday February 21, 2022 @02:17AM (#30412783)
I think it either operates as a traditional (heavily customizable) reverse proxy OR you have a app and forwards x% of your API surface to second tier services.

Imho: no in-procees reverse proxying. That should not make sense.