649
submitted 2 years ago by meisme@lemmy.ml to c/lemmy@lemmy.ml

How do you feel about the massive influx of users?

you are viewing a single comment's thread
view the rest of the comments
[-] 777@lemmy.ml 4 points 2 years ago

I think probably a pluggable storage backend is the best move. For example, any cloud hosted instance could use a native document storage format such as dynamodb, which is often quite cheap or free for small use-cases.

[-] bobaduk@lemmy.world 2 points 2 years ago

Bit of a pain to store in Dynamo, though. You'd need to write a bunch of different views, I think.

One comment thread makes sense as a partition, but listing threads is going to be awkward, and search is basically a no-no.

[-] AbominableSlinky@lemmy.world 2 points 2 years ago

Not necessarily a pain, you just have to model the data very differently in something like DynamoDB. Those views are secondary indexes.

Search, though, you're right. You'd be running ElasticSearch along side it and the cost and complexity starts to go up. Or just abandon having a functional search entirely, like Reddit did...

this post was submitted on 10 Jun 2023
649 points (99.2% liked)

Lemmy

11948 readers
7 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS