JILL24
Grpc elixir to python with websocket
hey i want to use elixir grpc to communicate with python with cowboy websocket and the api which is written in python wants bring data in elixir.
can i do it?
if yes, then how?
please tell me
First Post!
trisolaran
Can you please explain a bit better what you want to do?
I understood that you want to use grpc. Where do python and websockets fit in this?
Last Post!
rafftre
For the third point in the list posted by trisolaran there may be another option that use a long-lived request with streamed response.
The Python API may expose a “subscribe” call with streamed response. When an event occur it streams/send back a new response item.
This solution require keepalive pings to keep connection alive and some error handling code (i.e. in the server you need to force unsubscribe for disconnected clients).
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









