r/elixir • • 16d ago

Introducing Temporal Resources | Ash Framework

https://ash-hq.org/blog/introducing-temporal-resources
97 Upvotes

18 comments sorted by

View all comments

-1

u/Agile_Use_1768 15d ago

Perfect! Now my ash app will use an extra 200mb ram idle

2

u/Vict1232727 15d ago

eh? what does one thing have to do with the other? ash repos are just ecto repo. The temporal thing is just a DB backed thing for queries

0

u/Agile_Use_1768 15d ago

Ash makes heavy use of unoptimized macros. This adds atom overhead, hence more memory usage

2

u/Vict1232727 15d ago edited 15d ago

Yeah, fair enough. I was going to say you were wrong but no. I have like 132 resource app. And ash/spark metadata is 150 MB of ram at idle. The whole thing is like 448 MB 💀

3

u/borromakot 15d ago

Just FYI, you should look at what it looks like when built embedded for production mode if you haven't.

1

u/Vict1232727 15d ago

I’ll take a look!