55 points · by pseudocomposer · 3y ago · 22 comments
So far this is a solo endeavor, but with my recent CI integrations and consolidations of things within the codebase, it's pretty much ready for anyone who wants to contribute to do so. I've labeled some "good first issues" if anyone is interested in contributing: https://github.com/JonLatane/jonline/issues
A few more tech details are available within the app itself, at https://jonline.io/about_jonline or https://getj.online/about_jonline.
Edit: Hug of death is in full effect! I think it's the CPU required for all the TLS stuff being done. I can't even `kubectl logs` to get more information.
I should really be limiting the resources of my containers, etc. as I'm obviously running way beyond what my rinky-dink single server is really meant for. If you're interested, let me know!
CPU/Load/Memory graphs in case y'all are curious (yes, I know I'm already using most of that poor server's memory!): https://imgur.com/7xGpvRI
Secure Connection Failed
An error occurred during a connection to jonline.io. PR_END_OF_FILE_ERROR
Error code: PR_END_OF_FILE_ERROR
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.What a time to be alive :)
Looks like the CPU load of all the TLS/HTTPS stuff is what's doing it in now.
Your landing page should be serving static cached HTML from S3/Cloudflare (or Varnish, even). There's no reason your app server should be handling that load at all.
If you have some ideas for how I could handle automatically rolling out updated HTML/JS to such a CDN from the K8s cluster, I'd definitely be interested. PRs/code would be best, but even just walking me through any good solutions you know would be immense :)
How do these platforms handle communities that pop up that actively plan for say the eradication of certain religious groups?
The software is apolitical. Enabling speech always comes with enabling shitty speech, and that's a problem with humanity, not the tools enabling speech.
Anyone can set up a forum and host it. You are relying as always on points of centralisation, like domain names and hosting companies as a way to take down illegal content. If it is illegal enough, like CP, terror etc. police will cooperate internationally and infiltrate it. FBI has seized so many BTC it isn’t funny and it doesn’t get more decentralised than that.
My question was more tangential/philosophical, and not something for you to fix of course.
Dead for me
Negotiation of what transport type to use is done (at the Dart linking level) in Flutter here: https://github.com/JonLatane/jonline/blob/6cd6c24ee3ceb09ef3...
And it's done in React here: https://github.com/JonLatane/jonline/blob/6cd6c24ee3ceb09ef3...
Deployment should focus on non-cloud deployments as a first class citizen.
Cloud is 100x more expensive on bandwidth and it is much easier to make a non-cloud product work in the cloud then make a cloud product work outside of the cloud.
I'd suggest moving to k3s and testing deployments on raspberry pis or one of the x64 based SBCs.
Or maybe work on deployments to vpses.
Making it easy with cloud should still also be a primary goal, just avoid making it hard to reduce costs by moving to rented dedicated servers or rented vpses. Some communities will need the 99% reduction.