7

I have a .NET core based micro service architecture and have several micro services. We chose ocelot as api gateway for routing, aggregation & security implementation. During our architectural discussion it was mentioned that Envoy Api Gateway is also a good option to use but couldn't find any differences between Ocelot & Envoy, it pros and cons like performance, scalability, community support etc...

Can any one help in sharing some insight on which one would be the good option to use for .NET Core applications.

VR1256
  • 1,266
  • 4
  • 28
  • 56
  • 7
    [Ocelot is dead.](https://github.com/ThreeMammals/Ocelot/issues/1539). Avoid it. Envoy is Go, so if your project is .NET you will have to learn new language if you need to customize it. Check the [YARP](https://github.com/microsoft/reverse-proxy) project, if you are looking for C# based Api Gateway supported by MS. – Artur Aug 12 '22 at 12:12
  • 1
    @Artur Envoy is not written in Go, but in C++ (https://github.com/envoyproxy/envoy). Otherwise, I agree with your comment. By the way, for the author, Envoy comes with a lot of features, a rich set of different filters, and a good community. You probably won't need to customize the code. YMMV, but I personally never had to fork it to adapt to my needs. – norbjd Aug 12 '22 at 12:28
  • 1
    @norbjd yeah, you are right. I thought he is talking about [this project](https://github.com/envoyproxy/gateway). Anyway, when i'm talking about customization I mean writing plugins and so on. I'm not familiar with Envoy, but with YARP, you can write custom route provider, use authentication tools you are familiar from .NET ecosystem and many more. It might be more convinient chose for .NET developers. – Artur Aug 12 '22 at 16:24
  • 1
    Thanks guys for the input appreciate it. Do you guys recommend any other good API Gateways that I can use for .NET Core projects ? – VR1256 Aug 18 '22 at 17:36
  • 1
    As of July 2023, Ocelot has been updated with some commits within the last few months. Hence, I don't think it is dead. – Shahryar Saljoughi Jul 09 '23 at 13:00

0 Answers0