Giter VIP home page Giter VIP logo

Comments (11)

huahua132 avatar huahua132 commented on May 13, 2024

I need to compare before deciding whether to replace

from skynet_fly.

vm-001 avatar vm-001 commented on May 13, 2024

I made a PR here #22. Let me know if you have concerns.

from skynet_fly.

huahua132 avatar huahua132 commented on May 13, 2024

Thank you for your recommendation, I need to think about it carefully

from skynet_fly.

vm-001 avatar vm-001 commented on May 13, 2024

Take your time. Do you have test cases for the current router based on rax. I don't see GitHub workflow in this repo. I would like to run the test

from skynet_fly.

huahua132 avatar huahua132 commented on May 13, 2024

The test cases for rax are available here https://github.com/hanxi/lua-rax.
Introduction to the workflow of this project. Sorry, the English version is not available yet. You can take a look at the Chinese version introduction

from skynet_fly.

huahua132 avatar huahua132 commented on May 13, 2024

image

from skynet_fly.

huahua132 avatar huahua132 commented on May 13, 2024

Already replaced, the test results are here https://huahua132.github.io/2024/01/14/skynet_fly/benchmark_rax/

from skynet_fly.

vm-001 avatar vm-001 commented on May 13, 2024

That's nice. Can you share your benchmark scripts? I'd like to double check them. Perhaps you can upload the benchmark in a separate repo so everyone can reproduce it.

from skynet_fly.

huahua132 avatar huahua132 commented on May 13, 2024

script is here https://github.com/huahua132/skynet_fly/blob/master/test/module/radix_router_test_m.lua
You can run it like this
git clone https://github.com/huahua132/skynet_fly.git
make build
cd test
sh make.sh
sh sh script/restart.sh load_mods_radix_router.lua
vim logs/server.log

from skynet_fly.

vm-001 avatar vm-001 commented on May 13, 2024

I couldn't run the tests due to some dependencies issue. It looks like you added micro-benchmarks on this repo. Another way is moving it outside this repo so you keep this repo cleaner(and no unnecessary dependencies), and you can have the integration benchmark in this repo which tells the performance of the web framework. But it's up to you.

from skynet_fly.

huahua132 avatar huahua132 commented on May 13, 2024

Sorry, this suggestion cannot be adopted. The web is only one of the functions of the framework. The web also relies on many framework functions, so it is not easy to separate them independently.

from skynet_fly.

Related Issues (9)

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.