this post was submitted on 25 Jul 2023
11 points (100.0% liked)

Meta

85 readers
1 users here now

A community to discuss CompuVerse itself!

founded 1 year ago
MODERATORS
11
CompuVerse Downtime (compuverse.uk)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Firstly, I really do apologise! CompuVerse has been down for a number of hours now, and I'm really sorry.

I'll be 100% transparent on this, the server ran out of disk space! This sent it into a sort of "safe mode", which unfortunately took down CompuVerse.

I have migrated all image storage over to an external server with a large amount more storage.

However, even with this, just the text content and metadata for CompuVerse is still rather large.

I'm going to investigate solutions but am averse to running a DB server over mounted storage as this is very susceptible to latency and speeds.

~~By my approximations we have around 2 months' worth of disk space remaining now that Pictrs is removed. I'm looking for solutions in the meantime that will balance performance and cost effectively.~~

Edit: The PostgreSQL database has been moved. Please read https://compuverse.uk/post/277751 for more info.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

So every instance of Lemmy has a copy of every other instance, used for caching and faster access? That's a surprising design choice.

Does the data get copied to your server when one of the CompuVerse users views it, or does everything from all of Lemmy get copied without any interaction?

[โ€“] [email protected] 3 points 1 year ago

From what I gather, the way it works is that once a user here has interacted with a remote community at least once, and subscribed to it, from then on, all activity that happens in that community is then automatically pulled across and stored inside this instance also.

So if I subscribed to the "technology" community on "lemmy.world", every post and comment, edit and deletion and I believe even votes and such made afterwards will then be synchronised across to this instance.

Checking the database however, it actually seems that the post and comment data etc isn't too large.

The majority of the storage is actually taken by the "Activity" table.

From what I can see, this table is used to basically store a log of everything the server has been told about. The actual contents are taken out into other tables. (Which are only a couple of hundred MB, rather than 20GB!)

Lemmy does have an automatic cleanup of this table, but it only removes content older than 6 months.

Since we only started in June, we've got an entire 4 months more data to go, and by the way things are going, that's liable to total to potentially hundreds of gigabytes of data.

The activity table had more data in it from the last 2 weeks than it did for the entire month and a half preceeding! (12 million activity records in 2 weeks, compared to only 11 million between the start of June and 2 weeks ago)