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

Improve docs #109

Open
crocodile2u opened this issue Feb 22, 2016 · 4 comments
Open

Improve docs #109

crocodile2u opened this issue Feb 22, 2016 · 4 comments

Comments

@crocodile2u
Copy link

I have written an article which has a description of the HS protocol with examples: http://wk-photo.ru/en/events/view/handlersocket-protocol-explained/ . If you find it useful, I could add it to HS wiki. Also, I have made another PHP extension for communicating with HS: https://github.com/crocodile2u/zhandlersocket

Cheers.

@KonstantinKuklin
Copy link

what the difference between your ext and others?

@crocodile2u
Copy link
Author

It comes as a PHP extension and it has a cleaner interface (OK, that's arguable, and that is just my opinion). It takes care of managing open indexes for you. It creates a read index for read operations and a write index for write operations, and it happens automatically (but in case there is a write index open, it will be used for reads either).

@KonstantinKuklin
Copy link

It is the first ext written on Zephir as I know, how fast it? Сould u show benchmarks with some other library implementation?

@crocodile2u
Copy link
Author

That's a fair question. I doubt that, for library like this, where there is no CPU-intensive calculations but mostly network operations, there will be a huge gain in performance (as compared to a PHP implementation). A benchmark would be nice to have though, will work on it in the upcoming couple of weeks.

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

2 participants