Giter Club home page Giter Club logo

Comments (5)

rx-209 avatar rx-209 commented on May 18, 2024 1

Sorry for misunderstanding, old script - another code, not related to your repository.

from nginx-lua-anti-ddos.

rx-209 avatar rx-209 commented on May 18, 2024 1

Great, cpu load decreased by 1,5-2 times, thx.

from nginx-lua-anti-ddos.

C0nw0nk avatar C0nw0nk commented on May 18, 2024

You say old script before this update what update version are you comparing to. bf420a3

It will help me identify what is causing CPU hogging.

from nginx-lua-anti-ddos.

C0nw0nk avatar C0nw0nk commented on May 18, 2024

@rx-209 I know your issue was unrelated to my code as you said but I went ahead and Optimized / squeezed my code for all the performance it can give you with Nginx and LuaJIT including having it cache regex.

3780ce9

If you want something i use in production on my own Nginx servers turn this feature on http://nginx.org/en/docs/ngx_core_module.html#pcre_jit

from nginx-lua-anti-ddos.

C0nw0nk avatar C0nw0nk commented on May 18, 2024

@rx-209 No problem glad you see a huge performance impact i will tweak it further to get the last couple of things upto standard but you most likely won't see a performance gain because it will be such a small one it won't be noticeable.

from nginx-lua-anti-ddos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.