September 28th Monday

本文分享了作者在实现Nginx指纹特征验证模块过程中遇到的速度瓶颈问题及解决方法。通过使用静态全局变量显著提高了返回验证结果的速度。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  I implemented a module for nginx.  The module can verify a feature data of a finger print.  But, the speed of it is so low that we can not believe it.  After testing, we found when the verified result is returned slowly.

 

  Maybe I use a bad way to return the verified result.  I must get a good way to return it as soon as it can.  I am not familiar with the nginx.  So, it is so hard to develop a module to put it into effection.

 

  After fightered with the bottle-neck, finally, I get the way to slove it.  If you use the static global variables, the speed is normal; otherwise, you will get a bad speed.

 

  I understand why the static key is here and there in a nginx module.  However, I didn't understand the root of it.  Maybe I can understand it after finished reading the source of nginx.

 

  I found one of my workmater is studying virus.  My god!  What he is doing?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值