php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #80643 Deliver an optimized WebSocket-Server implementation for the 80% of use-cases
Submitted: 2021-01-18 20:11 UTC Modified: 2021-01-18 20:17 UTC
From: ernesto dot sun at gmail dot com Assigned:
Status: Suspended Package: Sockets related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
24 + 1 = ?
Subscribe to this entry?

 
 [2021-01-18 20:11 UTC] ernesto dot sun at gmail dot com
Description:
------------
Hello highly respected PHP-team.

Thank you so much for the great improvements to version 7 and now, even 8 is out, that I don't know yet.

Having done research again, how to realize a safe simple mini-websocket-server, I have noticed that you did not care all too much about this topic recently.

So, please consider this:

Provide a core-functionality (so that shared hosting will always have it) with the handful of typical operations people need to realize a simple in/out/-websocket-server with PHP.

By focusing on the 80%-mainstream-usecases you might beat Node.JS both in speed and simplicity. You can focus on the essentials optimized as direct as possible with C and wow - that makes the next 30 years of global success to PHP ;)

Tow more arguments:

* The complete already existing socket-implementation is not affected and allows for the 20% special cases.

* Instead of leading your users somehow to the 'UNIX Socket FAQ' (thats great ok), you can provide high-level examples of a safe and fast Chat-servers. Whats more convincing?!

Thank you so much!

All (=) Love, Ernesto ~:)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-01-18 20:17 UTC] requinix@php.net
-Status: Open +Status: Suspended
 [2021-01-18 20:17 UTC] requinix@php.net
This is too large of a request for a simple bug tracker. Please check out the internals mailing list.
https://www.php.net/mailing-lists.php
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 20:01:29 2024 UTC