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

License? Real-world use? #1

Open
cameronelliott opened this issue Mar 7, 2022 · 0 comments
Open

License? Real-world use? #1

cameronelliott opened this issue Mar 7, 2022 · 0 comments

Comments

@cameronelliott
Copy link

cameronelliott commented Mar 7, 2022

Hi Marcelo, I was lucky to find your project when exploring SPMC projects.

Any chance you would add a license file? I see you added MIT on your other projects, that would be nice if you can use that here too.

Anyway, aside from the license, this is super super interesting to me!
I'm also aware of this: https://github.com/Workiva/go-datastructures#queue

But, I think you have them beat on performance for suitable applications. 😄
In fact, the performance is mind blowing! Wow! (I ran your benchmarks, and read through them)

I honestly wouldn't have thought of starting with sync.Pool, although I did look at it recently and noticed
it was heavily optimized.
I guess the main advantage of starting with sync.Pool over using a regular lock-free ring-buffer is
the flexibility to have some dynamic growth of the buffer size??
Is that why you started with sync.Pool?

I'd love to hear more about your thought process, it's very intriguing, and congrats on a nice piece of work.

Oh! also curious if you are using this in a production use-case... ?

Cameron/Seattle

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

No branches or pull requests

1 participant