3 ms·
Can you elaborate ? You want socket just to bring down latency ? You want different client to connect to the same environment so that you can keep a local sta
by siscia 11y ago
Can you elaborate ?
You want socket just to bring down latency ?
You want different client to connect to the same environment so that you can keep a local state of your application ? I am thinking about a videogame or a collaborative office tool.
You simply want to send binary data to a function ?
- akhatri_aus 11y agoLambda is great for doing lots of tasks in bulk. Say I have a binary that is able to process data quickly. On a lambda request nodejs instructs a binary on what to do using a socket. Meaning it binds to a local port and interacts with the binary getting and receiving instructions until the task is complete. In all sub 1 second. Lambda doesn't allow sockets so its uses are very limited. Binaries also cut down the time it takes to do a task and allow a greater variety of things to be done.
- siscia 11y agoWouldn't be simple to ask Lambda to allow binary execution ? Then you could just pass the input as base64, or whatever other encoding system you please...