The Future of Eroscripts is Bright

Hello all,

The mods team have been investigating and working on a lot of things in the background.
We are trying to solve a number of problems im sure many of you are aware of. Most of this I will summarise but I will include technical details for those more knowledgeable in the bottom. We don’t have a timeline on when we are doing these changes, but we will let everyone know when changes are coming.

Problem 1 - Site Performance

We are pretty much always at high resource utilization. CPU usage is always above 50%, and often peaks at 100% at peak times. Memory is always above 80% and nearly always above 90%
This would be easily resolved by upgrading resources but just so you guys know we are a very popular community. We average 180K+ views daily while the server uses:
16GB Memory and 8 CPU Cores (Virtualized)
image

This is a massive server. Most applications at this scale have better infrastructure. But we survive on donations alone. No advertising. And it will stay that way.
The only way we can fix this, is to throw more money at it, or make cost saving measures.

I have found some cost saving measures that should improve the performance, and give us some better infrastructure. This will require moving the server to a new hosting provider. Part of that migration will likely take the server down for some time, that is currently unknown. Before we do it, there will be notice, and we will do our best to minimize downtime. There will also be a second migration, as we will be doing the migration in a couple steps.

Problem 2 - Minimal infrastructure

We don’t have all the bells and whistles that commercial applications have. Security infrastructure, monitoring infrastructure, backup infrastructure. We lack a lot of things.
What we do have, is basic backups. But as many of you might know we did lose a couple days of data when the major outage happened.

Part of the migration is going to include some better infrastructure that I am making. This better infrastructure means in the event of shit hitting the fan, we will not lose ANY data.
Another part of the migration will include monitoring of the server. We will have more visibility into what is going on with the server, so we can take action before things go wrong.

I also wanted to take a minute to praise @hugecat and @defucilis for what they’ve accomplished so far. Although I’ve been here near the beginning, I wasn’t at all involved with setting things up. Even though it left some work to be done, they did make this work despite not being very technical and definitely not SysAdmins.

Technical bits

Currently

We have a very large virtual machine running Ubuntu Jammy (22.04). Discourse is running in a docker container with postgres as the database.
The backups run occasionally creating a database dump and uploading it to an S3 storage.
All uploads are also pushed to that same S3 storage so even as much resources as we are using, there is a lot of storage being pushed elsewhere.
This is the extent to our infrastructure now.

Where we want to go

#1 - NixOS

We plan to change the operating system to NixOS. This provides us a lot of superpowers that traditional systems don’t offer us. We no longer need system-wide backups. This is because if you know what NixOS is, you would know NixOS is Stateless. You can always revert to an older system, and upgrade safely. If your system fails to update, no problem, we simply won’t change anything.

#2 - Backup

We are changing the backups to now ignore discourse internal backups. They did their job but we can do a better job. Postgres and many other SQL relational databases have something called a transaction log or write ahead log. These are a “backup” of things happening on the server. You create a base backup (database dump) and record all transactions from the moment the base backup was made. This allows you to restore a base backup, and replay transactions up until a specific second to restore to the very second before shit hit the fan. Meaning no data loss.

#3 - Monitoring

I personally have a lot of experience with netdata. I’ve been using it in my lab and have had great success and a few stories on how it saved my ass. Before I hear from the technical crowd about “heavy agent services” Netdata, can be stripped of most of it features taking very little resources. As an example in my lab, the heavest netdata instance I have is using 59.7MB of memory and 2.87% of CPU

#4 - Security

Right now we have no security infrastructure, and honestly most of the time, that’s fine as long as you follow good digital hygiene. But, we could put security infrastructure into the site. I have a few ideas that I generally add to all my servers. Namely IDS/IPS (suricata), WAF (cloudflare or something similar), and a number of simple security tools like fail2ban. For those who are ready to recommend Wazuh. No. the ELK stack is very resource intensive, and the most important component in a siem is the IDS/IPS. SIEM is overkill for what we are doing, maybe one day, but not today.

#5 - High Availability (Not Immediately, and requires more money)

Right now if the server went down everything would be down. I don’t like that. With enough money, I can build better infrastructure. Where even if 1 server fails, the site can stay up. This is called High Availability. But it requires a lot more hardware.

Finally

Although I am confident in my technical skills and I know I can do this. This is a community. I want to hear your feedback on what you think we can do better and if you have ideas what you want to see in this forum. Criticisms are also welcome we are not perfect, though we may try.

71 Likes

FUCK YES. Love these plans. Thank you so much for the hard work. Bright indeed!

5 Likes

Maybe my view is skewed because I have 2x the cpu and 12x the ram, but the server specs don’t seem that great. When I was building my NAS, one of the options I was looking at was server blades on ebay. And looking even now, you can easily find 28 core blades with 128gb ram for $2-400. So i guess it comes down to the generation of the hardware. I’m more of a computer guy though, so maybe I just don’t understand the server side of things.

I just make filthy porn scripts. I’m of ZERO use. :pensive:
But a thank you very much to you all for the hard work, time, and dolla bills, ya’ll! :purple_heart::whale::cherry_blossom::white_heart::cherry_blossom::whale:

1 Like

Money constraints and scalability issues.
If we bought a hypercoverged server we then need to spend thousands on colocation and bandwidth.
We dont own our hardware for that reason.

3 Likes

I was wondering why none of the devices that use funscripts sponsor the site at least a bit, but since there’s no ads, it makes sense.

Hi, Just wanted to chime in and ask if the site itself had a donation link. This site is great and although not much I would like to give a bit back, especially when upgrades are en route. Maybe a temporary gofundme or something might work out well.

Just wanted to chime in and ask if the site itself had a donation link.

If you scroll down to the very bottom of this page you find it. The link is seen elsewhere too.

For your convenience, this is the thread with donation options:

Oh i found it. Never noticed it at the bottom of the site lol. You might want to pin that donation message in general, TBH i tried looking there first lol.

Very cool ideas but with the server being down for some time is this likley to be a long time (like as in over a month), or a weekish.

Very glad to see that the community is thriving. I’m proud to be a part of it and can’t wait to contribute more. I’m not very technical with servers, but I will chime in with my few bucks on Patreon to help you guys out. Maybe you can somehow better emphasize the donation options to the website? Bring the donation post to the top, since I literally had to ctrl+f the word ‘donate’ to find the link. Maybe adding some sort of reward system would work, like animated avatars or banners or special borders. Sorry for thinking through the donation prism, I work in marketing lmao.
Keep up the great work!

Heck yeah!

I know the downtime wont take that long.
Currently based on my testing. Probably a day or two.
But I will try to make it as little as I can.

4 Likes

Technicaly, if this site would advertise for those devices, i wouldnt be anoyed by it. Most of the advertisement complaints do come from the very intrusive kind that make you either wait or force you to click something away.

The main reason they dont is that a lot of the content here is deemed a piracy risk, no company these days want to risk getting issues from that. Especialy if they are US based. Yet if they would advertise each other, its a quite big boost in sale capabilities.

However, 1 downside that often happens when sites get more popular is that you also attract the wrong people. Niche sites have a major advantage as most users have a very similar interest. More users often causes problems here since there are always a few that will very loudly complain about the ‘other group’. Even now you have the issue that some dont like the anime 2min scripts, yet some only go on this site for those scripts.

Its a hard balancing act that often requires more moderators to handle. And as reddit also has proven, this sometimes causes users to get that ‘feeling of power’. A few bad moderators can quickly kill a site. Which means more time needs to be spent here.

Appreciate all the effort you guys are putting in! It’s awesome to see you guys tackling these issues head-on, and it sounds like the changes will really help the site run smoother. Excited to see where things go from here—keep up the great work!

Length tags were implemented to help separate the short scripts from the longer ones, and even though there are still a lot of people who aren’t using them, it has been a big help. At least for those of us who care.

Regarding piracy, it’s kind of a 50/50 as it stands. If a pirated video gets posted on r34 or pornhub, it will eventually get removed and any links posted here to those pirated works will die as well. The only real risk is from people uploading stuff to MEGA, etc., and even that can get removed if flagged. Doesn’t really matter to me in the grand scheme of things though, because people will always find a way to get their hands on content, one way or another.

It is kinda weird to me though, because a lot of popular scripters have their own advertisements to hardware in every one of their topics, and I assume they get compensated for it, so…

Your script while it might point to an illegal video, still has an advertisement benefit for the video maker. Especialy on platforms like PH.

During the time the video was available, the script might get reviews of it being great, and maybe cause someone to buy it on the legal site. And even without that, advertisements are also a thing. Your script can cause extra views.

And this is only a side effect, since even without video, your script still functions. The video can improve immersion, but without it, it does still do the job. This means marketing for devices is completly fine.

There is also a loophole in many countries that content ‘describing’ other content is legal to be made. For example a review or summary. Spoilers for a movie are again something they just cannot copyright.
And a script is a description of such video following a certain action mostly. But with freedom of scripters to do it in their own way.

Trying to sue a site which has such content as primary content is generaly a bad idea. There will be a lot of lawyers eager to defend against such big company then as even though due to ‘money spam’ defending can be harder, if you win, your name gets a huge boost.
Even if we do sometimes link to illegal content. Hell, even reddit cant reliably monitor such stuff, as if we are strict, most memes use a picture of a movie (which is copyrighted!). Try to take that down… you wont, beyonce knows this all to well.

I like the idea, but in my opinion the implementation is not correct - I would make different sections for scripts - short clips/animation, full clips and long/movies. So I don’t put those tags, but I also have “full” videos - 20-120 minutes.

A long poll was had and the tags we have now are what was decided on. It’s not possible to accommodate every single person.