Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the benchmark README, add batch to the golang benchmark, and add wrk luas #93

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

MarkReedZ
Copy link
Contributor

I cleaned up the readme in examples/login, updated the golang benchmark to add support for html and batching json requests, and added some .luas to be used with wrk for better benchmarking.

uring crashes constantly for me with kernel 6.0 so I've only run the posix engine which does not support pipelining.

@ashvardanian I also updated picohttpparser to use avx2 which is 2x faster for ucall, but that is not in this pull request. Feel free to point to it - it only requires that the buffer sizes be 64 byte multiples which should just work here.

https://github.com/MarkReedZ/picohttpparser

If you accept this PR let me know if you want me to look at the uring code. I'm currently adding an io_uring event loop to python asyncio so it'd be fun to look at this as well.

@ashvardanian
Copy link
Collaborator

This is extremely valuable, thank you for contributing! Merging this 🤗

I am now going through a major effort of refactoring the repository, to add some new functionality for more efficient handling of batch requests. I think it may help if you can spot the issue in the io_uring implementation, but it would be easier to merge if not too many files are changed 😉

@ashvardanian ashvardanian changed the base branch from main-dev to main April 15, 2024 05:46
@ashvardanian ashvardanian merged commit 57e5795 into unum-cloud:main Apr 15, 2024
3 checks passed
ashvardanian pushed a commit that referenced this pull request Apr 15, 2024
## [0.5.5](v0.5.4...v0.5.5) (2024-04-15)

### Improve

* Lua & Go benchmarks, docs (#93) ([57e5795](57e5795)), closes [#93](#93)
@ashvardanian
Copy link
Collaborator

🎉 This PR is included in version 0.5.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants