Hacker News new | past | comments | ask | show | jobs | submit login

I did something similar with nginx, the data file from 51degrees and some lua code; each instance only handles 10-20k requests/sec so no clever optimization was needed.



Would you mind posting the Lua code?


Hi,

I've made a gist[0]; feel free to get in touch via GH if you'd like to discuss it further.

[0] - https://gist.github.com/marklr/ae0c2f1eb61855d13cde6cef6bf63...


Sure, but there's nothing really special, just some json parsing and some variable assignments back into an internal nginx request. I'm on mobile at the moment but I'll follow up on this in the next 24 hours.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: