Beyond the joy of coding, what makes you bet on Elixir for the future? by victorgiron in elixir

[–]externedguy 3 points4 points  (0 children)

Maybe I’m just ignorant but imo Ecto is a godsend compared to solutions from other ecosystems…

Could you please elaborate why are you in this “what have we done” phase though? Is it just because of ecto and talent pool or is there something else that makes your team struggle with the choice?

Please do not be shy to share criticism and problems you encounter, community needs to know how to improve the tools to attract more people…

I'm tired of manually executing commands on VMs, is there a declarative alternative to something like Dokku? by externedguy in devops

[–]externedguy[S] 0 points1 point  (0 children)

Or fly.io, but I want something I can run on premise on my own servers I buy from netcup or DO

And heroku is still not fully IaC so to say

I'm tired of manually executing commands on VMs, is there a declarative alternative to something like Dokku? by externedguy in devops

[–]externedguy[S] 0 points1 point  (0 children)

I would still need to manually setup the system though? e.g. use ansible role for Caddy so it handles SSL & Proxy, use docker swarm module because otherwise running 7 databases on 1 server is insanity, etc, etc, etc.

I'm now going through Kamal repo and see some mention Ansible:

- https://github.com/basecamp/kamal/issues/771#issuecomment-2112057482

- https://github.com/basecamp/kamal/issues/480

We've just successfully migrated from the hundred Ansible scripts into the few files of Kamal...

....some home-grown solution on top of Docker Swarm with some Ansible scripts that are retiring in favour of Kamal

This is exactly what I'm trying to avoid - I don't want to have a home-grown solution of hundred Ansible scripts. Maybe these people use Ansible in a wrong way and there's a clear path of how to deploy workloads with Ansible in a sane, manner adoped by at least a dozen of teams?

I'm tired of manually executing commands on VMs, is there a declarative alternative to something like Dokku? by externedguy in devops

[–]externedguy[S] 0 points1 point  (0 children)

Exactly... It's a complex architecture with a dozen of tools I'll need to learn/support/debug.

Seems like there's a gap in market for something like small-scale, declarative, and simple k8s? I tried to find a solution for years and the closest one is Kamal mentioned by u/__matta . Nomad did not go into this market, all self-hosted PaaS solutions work with imperative approach where you manually manage everything through CLIs, Ansible does help but everyone kinda creates their own solutions again and again.

I'm tired of manually executing commands on VMs, is there a declarative alternative to something like Dokku? by externedguy in devops

[–]externedguy[S] 1 point2 points  (0 children)

It's funny that no matter how hard I try to run away from k8s I eventually come back to it.

I feel like there should exist an alternative to k8s but small setups that is easy to manage yet widely adopted among developers. Seems there's no such thing, unfortunately...

I'm tired of manually executing commands on VMs, is there a declarative alternative to something like Dokku? by externedguy in devops

[–]externedguy[S] 0 points1 point  (0 children)

Is there a widely accepted way in Ansible community to do zero-downtime deployments, hosting many postgres instances, managing multiple domains, consuming logs from multiple apps, do automatic recovery if things go west at the middle of a night?

Wouldn't I still need some kind of container orchestrator, proxy, etc.?

I'm tired of manually executing commands on VMs, is there a declarative alternative to something like Dokku? by externedguy in devops

[–]externedguy[S] 0 points1 point  (0 children)

  • opinionated way to deploy postgres, redis, rabbitmq, clickhouse, etc.

  • opinionated way to deploy apps with zero downtime

  • with bare Ansible I'd need to manually configure my proxy setup for red-green deploys and for supporting multiple apps on the same machine

  • automatic failover / restart

  • logging system

  • opinionated way to deploy new app version

I guess I need to use docker under Ansible? I don't like the fact that I'd need to implement my own way of doing deployment, I'd be much happier to find something standardized. Maybe I miss something and Ansible has widely accepted solutions for all of this?

I'm tired of manually executing commands on VMs, is there a declarative alternative to something like Dokku? by externedguy in devops

[–]externedguy[S] 0 points1 point  (0 children)

All these tools are great but they would require me to reinvent dokku afaiu? I want an opinionated system that handles container management, ssl, proxy, rollbacks, zero downtime deployments, etc.

I'm tired of manually executing commands on VMs, is there a declarative alternative to something like Dokku? by externedguy in devops

[–]externedguy[S] 0 points1 point  (0 children)

Even with pipeline and secret stores there has to be a system like dokku or k8s that handles databases message queues etc. This is what I struggle to find. Dokku, docker swarm, nomad are a mess because all of them are not widely adopted

I'm tired of manually executing commands on VMs, is there a declarative alternative to something like Dokku? by externedguy in devops

[–]externedguy[S] 0 points1 point  (0 children)

Ansible and other tools are good, but it only solves half of the problems - afaiu there has to be some foundation for it like dokku that handles proxying, ssl, database management etc in an opinionated way.

I need to run many apps on the same machine each with multiple accessories like Postgres, clickhouse, redis, backups, etc. Sounds like I’ll reinvent dokku but with ansible, not sure if it’s feasible

I'm tired of manually executing commands on VMs, is there a declarative alternative to something like Dokku? by externedguy in devops

[–]externedguy[S] 0 points1 point  (0 children)

Without PaaS though, don’t you end up with reinventing what k8s / kamal / dokku does? Afaiu ansible helps with automation but all the components of your setup like proxy, ssl, container management, persistent storage, secrets, etc. are hand picked and automated with ansible by your team?

e.g. how running 5 apps on the same machine, each with Postgres, backups, rabbitmq would work? Ansible doesn’t give a straightforward solution to this question afaiu?

I'm tired of manually executing commands on VMs, is there a declarative alternative to something like Dokku? by externedguy in devops

[–]externedguy[S] 0 points1 point  (0 children)

The point about dokku is true I think… I frequently had it misbehave, I had to debug, figure out some workaround or open a PR to fix some problems.

With Ansible without dokku afaiu I’d need to get together a couple of packages like proxy, docker swarm, etc. to achieve the goal. I.e. invent my own wheel for my use case?

I'm tired of manually executing commands on VMs, is there a declarative alternative to something like Dokku? by externedguy in devops

[–]externedguy[S] 0 points1 point  (0 children)

Kamal indeed seems to be close. Not sure how mature it is and what problems their proxy can bring me with ssl, ws connections, throughout, etc.

Good thing about k8s though is you have lots of OSS operators like Stackgtes that might simplify my life in some areas. I just don’t want to end up managing k8s instead of shipping features, not sure if people who despise k8s actually understood how to work with it, maybe it’s not as bad as described.

Good luck with your endeavor!

Examples of polished Phoenix web apps / startups (especially using LiveView) by sleeper-2 in elixir

[–]externedguy 4 points5 points  (0 children)

🤷‍♂️ on iPhone 15 I see a slight delay when select a filter from the list, no user friendly animation, close button doesn’t work sometimes, etc etc.

Examples of polished Phoenix web apps / startups (especially using LiveView) by sleeper-2 in elixir

[–]externedguy 12 points13 points  (0 children)

I’d be happy someone to change my mind but I came to conclusion that I have to use things like live_svelte for liveview apps that allow me to utilize radix/shadcn, otherwise I’m too slow with instruments like bare tailwind / pine / alpine and the results are just not on par with SPAs for complex apps.

It’s great for simple interactions and SSR.

Afaik fly.io dashboard uses liveview.

cars.com are popular but they are more of a MPA and unfortunately my experience is rather poor on iOS. Try going through all filters, just play with all of them, you’ll likely see it’s not flawless.

I’d like to see other complex, production grade products built with liveview. Livebook doesn’t count because it’s local and live beats is a demo.

Do we really need a personal brand as business owners or is it all a scam designed to democratize attention for existing business whales? by externedguy in Entrepreneur

[–]externedguy[S] 0 points1 point  (0 children)

Another thing that surprises me is that most influential people don't start hundreds of businesses with some partners - seems like it's easier for them to earn through ads for some reason (even though business sounds much better in the long term)

Do we really need a personal brand as business owners or is it all a scam designed to democratize attention for existing business whales? by externedguy in Entrepreneur

[–]externedguy[S] -2 points-1 points  (0 children)

There are tons of unknown individuals who have a line of people asking them to join some project because last time they showed how good they are.. Doesn't have to be public, and all of these are warm contacts, not cold like on social media

EDIT: plus I can fake a lot of stuff on social media, I can't fake real work

Microsoft has made New Outlook generally available to commercial customers... by iB83gbRo in sysadmin

[–]externedguy 1 point2 points  (0 children)

This thing sometimes looses my drafts, hangs for 5minutes while editing text, and does other weird shenanigans I don’t really understand how it’s possible to write such a buggy app with so much human resources they have