stefan,
@stefan@stefanbohacek.online avatar

I really like @xor's Python script for generating domain names from public domain books, so I turned it, with permission, into a website, to make it easier to use.

https://literary.domains

Hope you'll enjoy!

stefan,
@stefan@stefanbohacek.online avatar

Hm, so the site really can't handle a lot of traffic it seems.

Anyone who's more well-versed with and has some extra time to help me optimize it better?

nemobis,
@nemobis@mamot.fr avatar

@stefan Dunno where the bottleneck is, but I had a suggestion at https://github.com/thisisparker/public_domains/issues/2

stefan,
@stefan@stefanbohacek.online avatar

@nemobis Thank you, I'll look into this!

I must be doing something wrong though, because once the domain names are generated, they're saved in a file and reused, and that still seems to take too long. 🤷‍♂️

rowlandm,
@rowlandm@disabled.social avatar

@stefan

Just checking you have done some performance profiling?

I think I'll have to do this for my website soon and was going to use this as my guide.

https://dev.to/yellalena/profiling-flask-application-to-improve-performance-4970

stefan,
@stefan@stefanbohacek.online avatar

@rowlandm I have not, but this is very useful, thank you for sharing!

rowlandm,
@rowlandm@disabled.social avatar

@stefan

Good luck, I hope you find the problem easily!

stefan,
@stefan@stefanbohacek.online avatar

@rowlandm Thank you!

I'm also wondering if this is just the case of DDoSing your own site by linking to it on Mastodon.

https://github.com/mastodon/mastodon/issues/4486

Happened to me recently with another project. We'll see!

rowlandm,
@rowlandm@disabled.social avatar

@stefan

Haha

I never thought of that but it makes sense now.

I'm curious to know what it is now!

stefan,
@stefan@stefanbohacek.online avatar

@rowlandm Yeah, the site is much faster right now. Hard to tell if it's because of fewer people on it, or just that the link is not being actively shared.

rowlandm,
@rowlandm@disabled.social avatar

@stefan

I think that just happened to my site too!

stefan,
@stefan@stefanbohacek.online avatar

@rowlandm Ah, I hope your site recovered quickly!

kaia,
@kaia@brotka.st avatar

@stefan
doesn't work for me in Firefox or Chromium :sadcat:

stefan,
@stefan@stefanbohacek.online avatar

@kaia I was just deploying a small update, which caused a small downtime, care to try again?

stefan,
@stefan@stefanbohacek.online avatar

If you end up registering one of the domains, definitely let me know!

slothrop,
@slothrop@chaos.social avatar

deleted_by_author

  • Loading...
  • stefan,
    @stefan@stefanbohacek.online avatar

    @slothrop Thank you!

    Yes, it looks like the site needs a bit more optimization to handle extra traffic, sorry about that!

    And both author and book names will work. Let me update the site to make this a bit more clear.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • internet
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines