direct-sockets icon indicating copy to clipboard operation
direct-sockets copied to clipboard

Backend uses in Chrome Headless

Open uasan opened this issue 5 years ago • 3 comments

Hi. There is also a very promising use case - this is Chrome Headless on the backend. IBM browser functions

uasan avatar Dec 27 '20 19:12 uasan

@ericwilligers should we add this to the potential use-cases in the explainer?

phoglenix avatar Jan 05 '21 02:01 phoglenix

If sockets were part of a test automation API, that would suffice for backend uses.

Thus I suspect this use case is more an example of a happy passenger than a motivating reason to add sockets to the web platform (the purpose of use cases in explainers).

ewilligers avatar Jan 07 '21 00:01 ewilligers

IBM browser functions - this is not for test automation, this is runtime for server side render and serverless solution, there client sockets are needed for connection to databases (Redis, Postgres, etc...)

P.S. In 2010, Ryan Dahl developed Node.js, because then there was no Chrome Headless with socket support and others I/O in userland, the presence of sockets in Chrome will allow to use the same runtime on the client and on the server.

uasan avatar Jan 07 '21 02:01 uasan