terebat

joined 1 year ago
[–] [email protected] 1 points 1 year ago

It is fairly relevant to lemmy as is. Quite a few instances have ram constraints and are hitting swap. Consider how much worse it would be in python.

Currently most of the issues are architectural and can be fixed with tweaking how certain things are done (i.e., image hosting on an object store instead of locally).

[–] [email protected] 2 points 1 year ago

On the other hand, Rust is fairly resilient. The issues Lemmy is experiencing wouldn't be fixed in Python vs Java, it's more of an architectural constraint. Those issues, experienced devs can fix mostly regardless of language.

[–] [email protected] 2 points 1 year ago (1 children)

Sorry if I was curt! No reason to be sorry for a decent alternative.

[–] [email protected] 4 points 1 year ago (3 children)

Caddy is not going to fix anything, on the contrary, it consumes more ram. Generally the instances have been slowing down when swap gets hit by the db, so lowering ram usage and optimizing that should be the first priority.

[–] [email protected] 2 points 1 year ago

I will be working on this when I get cycles. Barring the issues already above, there are a lot of areas for optimizations, for instance how images are handled (i.e., they can be handled through object storage like Cloudflare R2 to decrease bandwidth/ram costs). Some is more dev-ops on how common instances are setup, others are code changes to make things more efficient.

Perhaps we should start a community or communication group for this?

[–] [email protected] 2 points 1 year ago

+1, lemmy/kbin/mastodon are communities users can shape and contribute to (literally to the code as well) far more than reddit. That alone with along with the recent influx of users, makes it a far more interesting place than reddit.

[–] [email protected] 1 points 1 year ago (1 children)

Context size is huge, as well as the ability to context switch effectively. It can mean the difference between solving something in a day or weeks.

[–] [email protected] 1 points 1 year ago

I like problem decomposition a lot as a discrete step. There's a huge tendency to go, I have problem A, let's just solve with it B. Many times the nuance of why A occurred, whether it's a symptom of something, and what are the different subproblems that comprise A are skipped.

This often causes solutions which don't actually solve the problem, or just mask it. That extra effort up front, leads to the proper solution, and as you said, very tactical fixes instead of huge unnecessary solutions.

[–] [email protected] 1 points 1 year ago (1 children)

Definitely agree there! Communication is super underrated, especially with how difficult it can be to align people and teams across organizations.

[–] [email protected] 1 points 1 year ago

Jargon is great for consolidating complexity into just a few words, reducing the things you have to think about. It can be equally valuable though to poke into implicit assumptions that are commonly made.

It's definitely a balance, and being inclusive in conversations is super important as you mentioned. It allows newer folks to get up to speed much faster in comparison, and allows more engagement across the people within the discussions.

[–] [email protected] 0 points 1 year ago (1 children)

What API are you using? Where is the data stored? Would be easier to answer with more data on how this is setup.

[–] [email protected] 0 points 1 year ago (1 children)

Doesn’t support HA or horizontal scaling yet from what I read. Unsure if kbin does. Probably would have to add support for horizontal scaling to have that auto scaling do anything.

view more: next ›