Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dnautics
on March 5, 2019
|
parent
|
context
|
favorite
| on:
Achieving 100k connections per second with Elixir
Presumably they were using cowboy through Elixir. It's not hard, the module is just called :cowboy instead of cowboy.
dqv
on March 5, 2019
[–]
Or `Cowboy` with `alias :cowboy, as: Cowboy` ;)
latch
on March 6, 2019
|
parent
[–]
Stick with the :module notation. This makes it clear that you need to be in "erlang mode"...indexes starting at 1, [probably] charlists instead of binaries, and possibly weird (from an elixir programmer's point of view) argument order.
dnautics
on March 6, 2019
|
root
|
parent
[–]
To be fair, it's a rare thing to be using an index in elixir at all.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: