Hacker News new | ask | show | jobs
by dcsan 853 days ago
Any reason you're using rest for a chat client? Maybe socket scaling limitations of the node/express stack. Not as bad as php whci slack is still mostly written in, but hard to beat the mostly Erlang stack for discord. It also makes it's lot easier for bot dev having a two way connection without the hassle of ngrok etc.
2 comments

We use Elixir for websocket/real-time updates but crud stuff like settings, creating channels etc are mostly rest.
Very humorous to see another comment bashing PHP, which scales just fine for Slack.

Yes, PHP is old and not sexy. But it works.