dwyl / dwyl/logs

Can we use `Phoenix Channels` or plain `WebSockets` for sending logs?

Open
#12 6 comments 0 reactions 0 assignees View on GitHub
discuss elixir enhancement help wanted priority-2 question technical
Dominant language
Elixir
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

At present we are planning to use `HTTP` to send `logs` requests from the `App` e.g. `MVP`.
But if we're using a subtask / background process for sending log events,
could we just connect that process to the `ATM` server via Channels/WebSockets and reduce the bandwidth/latency? 💭

# Todo

+ [ ] Investigate the complexity of connecting two distinct `Phoenix` Apps via Channels/WebSockets.
+ [ ] Write-up your findings.
+ [ ] How to _secure_ the connection e.g. using a `JWT` or other token?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.