[-] Nothing4You@programming.dev 1 points 2 years ago

i can see rust being a bit more challenging to support properly in an IDE and there still being various special cases not handled properly, and i'm glad that it's free to use non-commercially, but with jetbrains rustrover i frequently see it calling out errors in code that happily compiles, autocomplete being semi-random in how it wants to complete today, which seems to have gotten worse with their recent AI pushes, and even a couple times the entire IDE locking up not too long ago, though i don't remember whether the last part was in rustrover or one of their other IDEs. overall pycharm has been pretty stable for me, as long as you provide it with a pre-existing venv or let it create one for you, as the integration with the latest and greatest(tm) python package manager may not be there yet.

[-] Nothing4You@programming.dev 1 points 2 years ago

instances get added automatically once they reach a threshold of monthly active users. iirc it's >6 mau, you could check the code to confirm.

[-] Nothing4You@programming.dev 1 points 2 years ago

that post on lemm.ee in your first point is dead

[-] Nothing4You@programming.dev 1 points 2 years ago

I'm pretty sure it's doable but it might be necessary to become a mod first, which admins should be able to in remote communities as well iirc. it's just that their mod actions won't federate.

[-] Nothing4You@programming.dev 1 points 2 years ago

Then I generated sql statements to remove duplicate posts that had higher ids than the other posts theyre a duplicate of

i assume this was done after updating the other tables referencing this table, such as comments, votes, saved posts, as previously discussed on matrix?

while it may be omitted here for simplicity, it can be dangerous to not mention that for others that might find this in the future if they experience index corruptions on their own if they don't fix all references, as that would result in data loss.

[-] Nothing4You@programming.dev 1 points 2 years ago

this seems more of a federation issue than a defederation issue ;)

[-] Nothing4You@programming.dev 1 points 2 years ago

do you happen to have experience with setting up influxdb and telegraf? or maybe something else that might be better suited?

the metrics are currently in prometheus metrics format and scraped every 5 minutes.

my idea was to keep the current retention for most metrics and have longer retention (possibly with lower granularity for data older than a month).

the current prometheus setup is super simple, you can see (and older copy of) the config here.

if you want to build a configuration for influxdb/telegraf that i can more or less just drop in there without too many adjustments that would certainly be welcomed.

the metric that would need longer retention is lemmy_federation_state_last_successful_id_local.

[-] Nothing4You@programming.dev 1 points 2 years ago

so all you're looking for is the amount of activities generated per instance?

that is only a small subset of the data currently collected, most of the storage use currently comes from collecting information in relation to other instances.

[-] Nothing4You@programming.dev 1 points 2 years ago

for sure, but they're neither mentioned on https://join-lemmy.org/docs/users/02-media.html nor on the linked CommonMark tutorial.

view more: ‹ prev next ›

Nothing4You

0 post score
0 comment score
joined 2 years ago