Openresty community,
Hello, I work at creditkarma and we are using openresty as a proxy within our infrastructure.
I was curious about leveraging the following
lua thrift library from within an nginx worker threads in openresty. Specifically in
the README the dangers of global variables are described. The Thrift library makes heavy use of the factory pattern leveraging global variables. I was curious for opinions and thoughts on using the library from within openresty.
I should also note, I've put together a wrapper around the nginx cosocket api. This means the underlying thrift TSocket transport would instead leverage an nginx cosocket instead of a lua/C socket which are implemented within the thrift library.
Thanks,
Zack