Hacker Newsnew | past | comments | ask | show | jobs | submit | jittoshi's commentslogin

Can you elaborate on the scaling potential here, given your choice of stack?


To run multiple agents in TypeScript, you're typically reaching for a package like 'pm2'. This starts a Node.js process for each Agent, then you need another tool like Redis for them to communicate.

Adding Docker adds even more weight.

You could run multiple agents in a single Node.js process, but you'll eventually face event-loop conflicts.

With Elixir and BEAM, you already have the tools to run agents as a lightweight Erlang process. You also have built-in PubSub for inter-agent communication (via a package).

This provides the ability for safely running 1000's of agents in a single BEAM Node. This is much more robust and efficient then Node.js and TypeScript.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: