News for hackers. Stuff that matters.
Re:The architecture of Uber’s API gateway by tiwarivikash on Saturday May 22, 2021 @10:32PM (#27251974)
Which technologies have been used to Implement it? Framework? Language?
Re:The architecture of Uber’s API gateway by nuclearnice1 on Saturday May 22, 2021 @10:36PM (#27251990)
> At the time of development of the gateway, our language choices were Go and Java. Our previous generation was in Node.js. While that was a very suitable language for building an IO-heavy gateway layer, we decided to align with the languages supported by the language platform teams at Uber. Go provided significant performance improvements. The lack of generics resulted in a significant amount of generated code during build time to a point where we were hitting the limits of the Go linker. We had to turn off the symbol table and debug information during the binary compilation. Language naming conventions like ID, HTTP, and reserved keywords in Go (but not in Thrift) created failures that exposed the internal implementation details to the end users.
Re:The architecture of Uber’s API gateway by abhishekparwal on Sunday May 23, 2021 @01:51AM (#27252730)
One of the author this blog post. We had to do lot of other scaling optimizations like generating code for only IDL elements used rather than a big fat IDL, replacing ser/deser generated code with dynamic generation of code, etc. We will share details in further blog post on that.