Re:Nginx Tutorial: Developing Modules
by justincormack on Monday July 28, 2014 @12:53PM
(#8097943)
Using Lua is much easier. Performance is unlikely to be a bottleneck. Developing a module is a real pain and a last resort.
[ Parent
| on HN ]
Using Lua is certainly easier. The C version will almost always be faster, and yes, performance in this scenario probably wouldn't be an issue between the two. The other reason for writing a module in C though is complete control over the execution and an easier time troubleshooting problems. Adding another language layer can present issues when things explode.