this post was submitted on 14 Oct 2023
14 points (81.8% liked)

Asklemmy

42415 readers
3376 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

Could it crash if enough accounts post links that need converting? Either if enough people started spamming links or someone got a bot to make posts.

top 9 comments
sorted by: hot top controversial new old
[โ€“] fubo 20 points 8 months ago (1 children)

I haven't read the code, but I would expect that it would not crash but just queue up a lot of work and proceed through it steadily.

[โ€“] [email protected] 8 points 8 months ago

So it could essentially be locked if too many links are constantly posted - but then the creator could just give it more resources to catch up with the queue. In addition to this, the link conversion is ridiculously simple as it's just appending the video id to a piped-link (no complex calculation or API requests required). So it doesn't even need a lot of resources to begin with.

[โ€“] [email protected] 9 points 8 months ago

Yes but please don't.

[โ€“] [email protected] 9 points 8 months ago* (last edited 8 months ago)

With how simple its job is, I imagine something else would likely break first.

[โ€“] [email protected] 3 points 8 months ago

It doesn't convert anything really, it only builds a link and posts it.

[โ€“] [email protected] 1 points 8 months ago (2 children)
[โ€“] [email protected] 1 points 8 months ago

Exam0le message

[โ€“] [email protected] 1 points 8 months ago (1 children)

Here is an alternative Piped link(s):

https://www.piped.video/watch?v=bfpPArfDTGw

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[โ€“] [email protected] 1 points 8 months ago

Oh, a Lemmy bot that gives an alternative YouTube link. Thanks for clarifying.