Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would love to learn more about how you built Internet Fight Club! What were your design decisions and what challenges did you encounter? Also, what do you mean by ETS alone?


It was mostly a learning project for me, but I'm planning to do a write-up soon as a guide for Python developers moving to Elixir.

Re: ETS, I was just imagining something like Realtime but without Postgres, just using ETS. Most of the use cases I can think of for this type of thing don't require relational data, so I was thinking of just using ETS as a KV/document store to hold user and application state and then reacting to changes in to that the way you are here. I think you'd lose the benefits of relational queries and persistence but gain some function in overhead and decentralization. I'm moving to Elixir after spending a lot of time doing "serverless" and event-driven architectures, so now I'm spending a lot of time thinking about how to get the benefits of both worlds.


> write-up soon as a guide for Python developers moving to Elixir

Awesome initiative!

> ETS as a KV/document store to hold user and application state and then reacting to changes in to that the way you are here

This is actually pretty interesting. I can't speak to ETS but Mnesia has replication and you can expose the replication log using something like https://github.com/emqx/mria. I've only had a cursory look at this so I could be wrong about its capabilities but it would be an awesome extension to the new Realtime if possible.


> Python developers moving to Elixir.

was this your path? I am heavily considering it, as I have been thinking about the BEAM for a couple years now but haven't dove in yet (coding is mostly hobby for me, though it does benefit my work sometimes)


This was actually my path. I started working on side projects and picked Elixir because I had my eyes on it for a few years and wanted to give it a shot.


What was your first elixir project?

Did you have any trouble skipping Erlang and going straight to elixir?


> first elixir project

Simple Phoenix server that made requests to third party API endpoints.

> Did you have any trouble skipping Erlang and going straight to elixir?

I don't think I referred to any Erlang code and just picked up Elixir. Ultimately, you will have to pick up some Erlang but you can get away with just Elixir for a long time.


You don’t need Erlang especially if you’re not developing in Elixir professionally.


sounds like you want "Meteor" as it was when it first came out. Which is nearly a decade old now! I really liked it, but the whole community fragmented a while back, not sure what it is like now


Meteor but built using a well-designed language.


I believe OP meant https://www.erlang.org/doc/man/ets.html by ETS




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

Search: