641 points · by WelcomeShorty · 4y ago · 262 comments
This is a reminder to pay for services you depend on. Per the Pinboard founder's post:
> I love free software and could not have built my site without it. But free web services are not like free software. If your free software project suddenly gets popular, you gain resources: testers, developers and people willing to pitch in. If your free website takes off, you lose resources. Your time is spent firefighting and your money all goes to the nice people at Linode.
> Like a service? Make them charge you or show you ads. If they won't do it, clone them and do it yourself. Soon you'll be the only game in town!
I wouldn't even say that this is true. If your free software project get's popular you get: Users that want their feautures built and don't want to build it themselves; PRs that need to be reviewed; Co-maintainers that need to be communicated with; etc.
Yes, it also can have upsides, but depending on the project and it's surrounding ecosystem (and culture), it can easily be more demanding that rewarding.
Sell the same service for $$$ money and suddenly the users (as a group) are a much nicer bunch.
Offering "Free Software" is sometimes like working in retail.
I think in most cases the entitlement many (most?) users have makes it a net negative these days. At least for popular projects.
I think the easiest solution is to charge for support. No issue reports or PRs unless you’re also a paying user.
Uptime (and the related system management,) large monthly withdrawals from your personal checking account, and soliciting donations to recoup some are are constant, recurring obligations more urgent than anything I’ve experienced maintaining repos. Most people shrug and move on if their issues and feature requests get ignored. Even an ignored CVE isn’t going to stop you from paying your rent. Doing your best to get the word out to users (even breaking your code to do so if you’ve got an oft-included but rarely considered library or something), as far as I’m concerned, satisfies your ethical obligations.
I'm just discovering that sslping is on the first page of HN. It hurts to have to kill your project, but it hurts even more to become famous after your death!
I've received 30+ super kind emails from users, and even a donation... I didn't even know I had such a fan base
Hang in there.
We've got tons of evidence to show that's not the case. It might increase the likelihood of it staying up due to paying customers, but it might also not. I don't think we have data to conclude either way (more paid/ad-supported services spring up than completely free "services" — to loosely contrast that with just regular "web sites" — but more die an unglorious death too).
If you want assurance you'd be able to access your data or desired functionality, the only approach is to use a free-software based service that allows you to export your data (and import it into another instance). Depending on your desires, you could either pay someone to host it for you and be ready to host it yourself when they decide to kill it, or host it yourself from the get go.
People make this risk assesment subconsciously all the time. Eg. whether to use gmail.com for their email account or any small random provider ("hey, gmail is more likely to stick around")? Whether to host on YouTube or... You get the point.
You could use the same API as a model to reinvent your own personal service, if you so choose. I use it (for now) to just back up everything important, and I'll figure out what to do with the data later if I ever need to.
Apposite point seeing that the Pinboard Blog referenced above was last posted to in 2017! Moreover, the home page appears as an unreadable jumble on Firefox mobile.
Microsoft figured this out relatively early on during their monopoly lawsuit which they cleverly settled by donating a bunch of Microsoft products to schools so that the next generation of the workforce would grow up on Microsoft products and become commercial Microsoft users in the workforce (and I've seen Apple use this same approach since then). What was ostensibly seen as a punishment by the legal system simply entrenched their position further.
And in gaming, there's an entire industry around "free to play" games that make billions of dollars, although I sincerely hope B2B tech doesn't take marketing inspiration from them.
In return schools teach their students Microsoft products in school and you can't really beat the pricing. Because running your own infrastructure will be more expensive especially if your school isn't big enough to have it's own IT department. Prices are rising though because you can't license box versions anymore.
So you now have the choice of paying for Teams, SharePoint online and not using them and licensing and running your local file servers, AD etc. or switching more of your infrastructure to the cloud and increasing the lock-in.
This is really worrying to me, but from a cost perspective you can't really justify continue running a lot of infrastructure, especially if your local government doesn't have a lot of funds in the first place. I'd rather spend that money on hardware that the students and teachers can use than pay for servers and licenses.
Google as well recently - unlimited free G Suite (now Workspace) for schools was a massive draw a few years ago, although they are starting to turn around and monetise now they have a captive audience
There can be a lot of abuse, though.
If you decide to make people pay up, a competitor will step up and offer a free version, subsidised from VC or lucrative other businesses. And if the competitor isn't free, at least its cheaper: triggering a race-to-the-bottom, ending in "free".
In any market, for any service with potential, there will be a free, or at least cheaper option. Untill mono-/oligo-polies are established and prices go up, at which point the customers are "extorted" or close to it: all the losses up to now, must be paid from revenues now.
This is seen everywhere (from food delivery, via webhosting, to PAAS to SAAS) and a clear and present proof of why "free markets" aren't automatically efficient and need authorities poking around in them - or else they hardly work at all, let alone efficient.
>In any market, for any service with potential, there will be a free, or at least cheaper option.
Which is not bad at all. IMHO the only problem here are business decisions, slowly locking you into something. FOSS nerds prefer protocols over platforms, which is why Posix and Linux living up to it are so incredibly important. You are right about the markets being misaligned, which is why we have to be very sceptical about big corps buying into various FOSS-foundations.
Is there an opportunity cost in providing a gratis/marketing tier versus focusing more on paying customers?
I do still consider offering a "free" tier, but with the limitation that there is no free support, and each support incident will cost them $200. But then I remember what I said above.
Free tiers are good if correctly sized compared to paid tiers: they help users get to try/know your service, they allow students and kids aroung the world to play with things, they help small companies grow; if your free/paid tiers are well done, those users who start with the free tier will grow to the paid tiers. If not, it's should be ok too, not everyone is going to need all your features.
Some people will think that this is unfair, but I think it's great
There was a big discussion here (2) and on Twitter IIRC that the author had lost his interest in product and no updates were being made. So there are no guarantees even when it's paid.
However, I'm not sure the conclusion of "make the platform charge you" is the right conclusion if the goal is to have a service that A) doesn't disappear and B) won't make you have to do more work after setting it up (eg: doesn't change).
Once you get enough users, talk to a few VCs and raise a round or two. Grow the user numbers by a few more magnitudes. Then aim to get acquired or IPO. As long as user and revenue growth are positive, not having profitability from day one isn't that big of a problem.
When we reach a situation where some unknown person pushes an upstream update, which causes a cascade of problems that even someone with deep technical knowledge and daily connection to the project cannot unpick, that's a breakdown in modularity/dependency.
It's what we faced in the 1990s and from it evolved package managers, version control, dependency management and all the good things.
I think in 2022 we're back in a similar situation again. Virtualisation, containers, cloud services and whatnot have regressed development reliability.
I predict the day when a really major service provider comes out and says; "Sorry everyone. It's been 10 days downtime. We've put our 1000 top engineers on the problem and nobody knows what's wrong. We just can't fix it."
> I think in 2022 we're back in a similar situation again. Virtualisation, containers, cloud services and whatnot have regressed development reliability.
Realistically you probably want to find the middle ground between these: not copying PHP code through SFTP or even working on it directly, but also not running an enterprise Kubernetes cluster for your simple CRUD app.
Doing that can be pretty tough, though, especially with peer pressure to use hot tech so you aren't left behind in the industry due to stagnating skills (e.g. needing to learn GraphQL and gRPC when REST is still good enough, for example; same for containers and Kubernetes).
> I predict the day when a really major service provider comes out and says; "Sorry everyone. It's been 10 days downtime. We've put our 1000 top engineers on the problem and nobody knows what's wrong. We just can't fix it."
That sort of happened with Roblox, they had an outage that went on for 3 days due to Nomad rolling over and dying in their infra and nobody really knew what the problem was or how to fix it for quite a while: https://roblox.fandom.com/wiki/2021_Roblox_outage
From here on out, we'll see more and more outages like this in large companies with complex infrastructures, at least that's my prediction.
I think part of this problem is that people set up complex fancy infrastructure at a company, and then leave once the interesting/challenging work is done.
A team is left behind to operate that infrastructure, but they may not necessarily understand it to the depth required to react properly when it fails or when it needs updating, etc..
There's a 20+ year old book called The Ingenuity Gap that addresses this exact challenge with complex systems that we aren't equipped to do much more than "keep the lights on"..
It definitely feels like we are running up against similar situations in the software world, particularly with the huge amount of job churn (and corporate brain drain) that the pandemic produced.
Don't underestimate constructive dismissal.
The courts have begun to take a somewhat dim view of executives being completely ignorant of Too Good to be True scenarios, which has been a viable form of plausible deniability forever and a day. I'm not treating the workers badly, George is treating the workers badly. George, who I brag about all the time and have promoted three times in five years.
There's this sort of notion of 'what have you done for me lately?' that pushes us to underappreciate people who set up systems that usually run on autopilot. Bosses can't absorb the idea that just because nothing has broken doesn't mean it won't break, and these may be the easiest plates in the world to spin but they are in fact spinning, and so this person who "doesn't look busy" is doing so on purpose. It's what some clever person called "on-site on-call" to differentiate doing nothing from actively doing nothing. It's very reminiscent of the experience some people have buying someone a gift (a subscription, a car, etc) that has an ongoing cost and then they hear from the person how disappointed they are in the new/other gifts they got. "Last year they bought me a car and this year all I got was a new iPad." No, this year you got an iPad and your rich uncle is still paying for your car, you little shit.
Steve may be maintaining systems that save us 4 headcount, but he looks like a cost center to the business. He's lucky we don't lay him off, so don't talk to me about giving him a 10% raise for boosting that to 4.5 headcount.
I'm on the board of a very small non-profit and periodically I see someone come in with grand plans for updating the website and other infrastructure. And you pretty much know that, given free rein, they'll come up with something that will be way beyond what the person coming in after them will be in a position to maintain.
Most companies do not need complex infrastructure either. It is just cargo culting ( or Google culting )
This is essentially why I’m now in the midst of a career change. I realized I want no part in what is more of a cargo cult than an engineering discipline.
That day is today: https://confluence.status.atlassian.com/incidents/hf1xxft08n...
Atlassian annual revenue for 2021 was $2.089B, a 29.42% increase from 2020.
Atlassian annual revenue for 2020 was $1.614B, a 33.39% increase from 2019.
Atlassian annual revenue for 2019 was $1.21B, a 37.36% increase from 2018.
But then we self-host.
The most common example I see is using enterprise tooling for small teams and projects, and then those projects getting snowed under by the weight of the hidden and incidental complexity they had built without noticing.
On one hand a single incident is unlikely to be the end of a large company because companies exist to make money, and also because by the time a company gets to a thousand engineers, it’s engineering function is already centered on managing complexity, and they will have had hundreds of service outages. This is in stark contrast to the single-user free service we’re commenting on, where the owner was already treading water and perhaps just didn’t know it, and where the tradeoffs never had financial upside.
On the other hand, you’re not just right about your prediction, but it has already happened in the broader sense, just maybe not over a single incident. Complexity has already killed many software companies, when the software gets too big to manage and can’t be easily refactored, runs on old languages and tools that stop getting updates, relies on too many services that slowly go out of both fashion and support contracts. The list of companies that got too invested in a single codebase and stuck themselves with the inability to adapt quickly enough due to the weight and complexity of what they built is pretty long and growing.
Absolutely the companies themselves can be very robust. Some friends and colleagues who work for <big defence> tell me they don't fear for their jobs if a project is crashing. Internally such firms are structured to run dozens of projects, all well compartmentalised, such that if one fails they'll just get moved to another. The company itself is survivable via diversity (plus there's .gov money close at hand to bail out in an emergency).
What concerns me about civil resilience is where we've got unexamined mono-cultures like Google Docs or GitHub that become de-facto pillars for countless other businesses. When Trump ordered Adobe to cut-off Venezuela that should have been a resilience wake-up call for everybody (and it prefigures the present Russian situation of course).
There could be many reasons (more likely an unfortunate confluence of unrelated upstream reasons) that topple a vital part of public infrastructure. That's why big-tech monopoly, which erodes hybrid resilience, bothers the hell out of me.
Why were old features removed from the upstream packages? Probably because upstream either wanted to ditch old/insecure protocols or the usage was too low to warrant the investment in keeping it alive. That is completely reasonable for them.
Then look at something like SSLPing, it wants to support old protocols because that is part of the feature set for older servers which have no realistic need to update.
It's something I find a bit troubling about the very vocal "security" crowd for whom only the latest and greatest ciphers/protocols/short-lived ssl certs/stronger DH key pairs are acceptable and everything else is garbage.
Sadly, it seems that realistically, only paying/charging will help this because then it is reasonable for someone to spend 40 hours of their week keeping up with the changes/building their own libraries/etc. to keep their project running.
You focus on containers, but this project had dependencies fail at each level. The author also cites init breaking, the crypto library losing support for old protocols, node breaking compatibility, and I think some frontend junk I haven't heard of also fell out of support.
The project sounds like it could have been a well-scoped command line option to SSL or something, but, because it was built with current best practices, keeping the dependencies up to date and maintaining it would probably take multiple full time engineers / swe's at a FAANG.
On top of that, there's no sustainable business models for good ?aaS tools (small, or large), just for platforms and monopolistic stuff.
Surely significantly less than one full time? But like 10% of an extra full time job that costs you money isn't a very good proposition
You need two people if you want one to be able to go on vacation while you maintain a 24 hour SLA for security patches. You need a third because this sort of thing generates employee burn out once it is feature complete.
You could try having it be 10% of one employee, but that employee would need to be a full stack expert from low level Linux stuff to JavaScript GUI junk. Good luck finding two people like that, then telling them they own ten feature complete services like this.
The people that fit such a bill and have the personaility type to be happy in such a job are expensive and rare!
Agreed. I believe that the "UNIX philosophy" is a good strategy for avoiding these scenarios and I believe it is underappreciated - even by architects and designers that should know better.
Forgive me for injecting this word but this is why I recoil so violently from systemd and all of its accoutrements. I can sense how this is going to fail even if I can't clearly elucidate it just yet ...
Projects with resources can be maintained and updated. This one has no resources and there is no reason to update it because it's a drag on that person's life.
We reach an unnecessary situation. The vast majority of these dependencies don't even add any real value - not enough to justify the danger of having your app just stop working inexplicably.
Atlassian has had a major incident ongoing for about 6 days now, so we may be at that point sooner than you were hoping for.
Sorry not expert at all the infra stuff. But I hope we can question things.
He said Patreon pledges paid for 25% of hosting. So I looked up his Patreon. Turns out he has 3 (!) patreons, together paying $9 per month.
The web is a strange place.
Here comes a fun fact I can add: He is doing better than me. I have a website with about 500000 monthly users and 5 (!) patreons. So while he only had 1% paying users, I only have 0.001% :)
Did I say the web is a strange place? Will this ever change?
Actually, we're talking "small" amounts. I had 3 dedicated servers hosted in France, which is cheap compared to the USA for dedicated servers. I was paying 65€ per month, for 5 years.
How could testing SSL use that much? well, I wanted an HA mongodb setup, and I wanted to support millions of servers. SSLPing was super fast, around 5 seconds to check your SSL versions, cyphers, check some vulnerabilities, etc... when SSLLabs takes 2 minutes.
And yes, despite 1100 total signups in my database, I had only 3 patreons... The maximum I had was 5.
The web is a strange place. I'm looking into sslping very differently today. Yesterday I killed it, and received tens of emails from users to thank me, and today I'm on the first page of HN... because I killed my project.
Do I have to say that I didn't dare ask people to pay for sslping because I thought is wasn't worth it?
You're acting like a tree in the forest offering fruits for free. People pass by, take a couple fruits and move on. You put a shy sign "if you drop a dollar on the floor it won't hurt".
0.001% dollars is what you get out of this behavior.
It's strange to expect something different. You need to tell people you expect a LOT of them to pay. Otherwise they don't know. You tell them that by restricting access and saying: pay or go away. Offer a limited time free trial. Then charge.
It is possible that he already informed his patreons and they canceled their pledges except 3 of them.
Also, many businesses are not setup to make multiple small(ish) payments to library maintainers even though imho, this should become a normal pattern. Imagine if all the people who used OpenSSL, PHP, Linux, etc. x 1000 were paid even $1 per month per business use.
I think there is a whole PhD around this since there are psychological factors to people charging up-front vs freemium with upgrades etc. Sometimes if I am trying to find a service to do X and find that one charges, I might immediately reject even if it is really amazing and would save me that much in time.
I guess if it was easy, there wouldn't be a problem!
I'm glad to see this, I'm glad to see someone else also conclude that they don't have to take an onerous responsibility for something created lightly and that gained traction.
This is what OSS needs too. If the project gets too much, just give it up. Even if others depends on what you've done, you're not compelled to do anything if you're not in a contract and no one is directly paying for your time. Not a donation, but payment to reserve time.
Time is the thing. It ticks by, and technical debt and bit rot eventually make it cost too much.
But when it causes you prolonged stress, or you just don't have the time anymore you are free to shot it down. You can do that now, at x months in the future, or randomly when your servers die. I think your users would prefer that you give them an x months heads up even if they would technically get longer service waiting for your servers to die.
You don't have to sacrifice yourself for people you have never met and who have done nothing for you.
I just googled “sell my side project” and found a few marketplaces for that sort of thing. Might be worth checking out.
So I wasn't looking to sell when I wrote the comment on HN, but the gist is: 8 years ago I created a platform for forums, it's a PostgreSQL database with a Go API layer. It's multi-tenant by default, so hosting many forums on a single server or cluster is trivial. That much is solid, and well maintained. But... I am not a front-end person and with that in mind I had the frontend built in Python + Django originally... it has no database, it's a pure veneer over the API just to use common templating for making the HTML. This part has not been maintained... it's 8 years out of date, Python 2.
The platform I run has a number of sites on it, and I'm loosely aware that over the years other people had spun up instances of their own.
Examples of sites using it:
* https://www.lfgss.com (the biggest site on it)
* https://pignolefixe.microco.sm/ (a french site)
* https://forum.espruino.com (something to do with arduino and javascript)
* https://forum.islington.cc (a pretty strong site)
* https://forum.rapha.cc/ (a private members club)
A common theme is cycling.
The entire thing is secure, privacy focused, very low effort to run. There are no adverts, no tracking, no stats... but web logs say that I served 1.5M HTTP requests in the last 24 hours (to now) and that's behind a well configured Cloudflare cache (those not signed in hit cache for 5 minutes, only those signed in get dynamic HTML).
So that's what I have... a forum platform. Oh... what differentiates this forum platform? It has events... in fact the platform is bespoke, the idea when I started it was to have things like classifieds, events, polls, forms, wiki all be native top-level content within a forum. I never liked on vBulletin or Reddit how you'd have to leave the forum to collaborate beyond conversations so I was trying to bring it all into the forum (and thus compete with MeetUp, eBay, etc... who don't have communities and wish they did). Imagine Reddit, but with stronger sense of identity for subreddits, and richer content, and each subreddit able to be on it's own domain if they wished... that's this.
I still don't know if I'm necessarily looking to sell... but if we get to the point that the frontend server fails in some horrible way, the Python + Django being 8 years old probably means the effort to get it working is too much. I did realise this, and started a frontend in Go to replace the Django one (I can maintain Go code) https://github.com/buro9/microcosm but you can see the lack of progress... I joined fast growing startups and my career accelerated too, that doesn't leave time for side projects.
Selling any business will usually take a couple months at least, so waiting until things are on fire and super stressful might not be the best strategy. Listing shouldn't take more than a couple afternoons.
Hard choices, but it was nice to do.
I recently discovered that there is a pretty active market in people buying/selling smaller businesses and websites like this.
Whether you like what the buyer does with it is a different issue…
(The exception to that, by the way, is that if anyone here ever builds anything so useful to a particular company that their sales engineers or developer evangelists are routinely using it or writing blog posts about how to use it you should absolutely get in touch with them and ask them to buy it.)
are you not able to let any of these people know they need to pay or the service will go away soon? I mean 250K 1 dollar a month?
And it's not a sure thing the money will start to flow. It will definitely not be 250K 1 dollar a month. 99% of users will just go "fine, I'll switch to one of the other 9 still free alternatives".
If its so much money that it seriously impacts your taxes that seems like a great thing. At least that wouldn't be a big deal unless you get some serious cash.
If you have the email of 250k users who all don't want to deal switching service. I can imagine getting a fair amount with a once a year ask for donations. Like more then making it a paid service, people usually are happy to give some money for things they use for free if its useful.
For instance Linode would expose 30 purchasable items for a site, and each item purchased by a user would pay for 1 day of uptime. As a tradeoff, money going to the project maintainer would need to go through Patreon if they set one up.
Shouldn't you do that anyway to protect yourself?
http://successfulsoftware.net/2013/03/11/the-1-percent-falla...
Unlike the author, my product was making actual money ($XXX,000). I ended up completely rewriting the product from scratch (took ~3 months). I just swapped the old Rails service out for the new service on April 1st.
I stuck to "simple and boring" tech for the new stack. No more Rails, etc.
Congrats on having the gumption to do a rewrite. I’m curious what are the more detailed decisions you took to better future proof?
Given how often things shift in our world, I feel like anything I choose now will just end up being obsolete and annoying to maintain in a 5+ year timeframe.
To future proof the service I wanted to use tech that was based on the fundamentals. This boiled down to no special tooling, no special build process, etc. Furthermore I cut out all dependencies I could. I got my third party dependencies down to two (postgres + nginx).
Practically speaking this meant: no node, no yarn, no ruby, no webpack, no sidekiq, no redis, etc.
The entire service is now Nginx, Postgres and a single binary that has html/css/js/assets embedded inside of it. The entire product is a single Go binary that connects to postgres-- that's it.
I could probably do without Nginx, but it has been nice for a variety of reasons and has never given me a headache.
My tech/decisions may not be for everyone (that is why I didn't share them initially) but it works incredibly well for me and most products I build.
Once you get past a certain number of developers, the constant overhead is something that still needs to be dealt with, but relative to the human-hours of your entire team, it's much smaller. Also, the team is no longer able to ad-hoc share architectural goals, and so having a framework in place that enforces them scales much better.
Starting with a framework is tempting because everyone thinks that they'll get big. But what if you don't? Maybe it's better to have a little passive income than crash and burn. On the other hand, if you do get big, the tradeoff is that you'll need to rewrite with a framework. That's another opportunity to crash and burn, so it's debatable which is better. Personally I think that Twitter has demonstrated how to do the "start dead-simple and rewrite as the team grows" method.
Many years ago I used to write projects with Python/Django. The Django project releases 3-year LTS versions with 3-month overlap. LTS versions are supposed to ease the constant upgrade overhead, and hitting a 3 month window every 3 years doesn't seem too bad, especially when they also release documentation specifically guiding you from one LTS version to the next. Does Ruby/Rails not do this?
Doesn't mean your application isn't going to sprawl, but you will at least have a complete list of all its moving parts at all times, and changing them out can at least be done in a controlled way.
Still, it sounds like SSLPing's problem (and yours) was mostly bitrot, and no amount of ansible will cure that.
Seems like a rewrite would be way more effort.
Sure-- the rewrite was more effort up front but the hope was the long term compounding benefits would be worth it. I don't generally advocate for rewrites but in this case I went for it (and actually got it done).
Based on upvotes this is clearly a project some people cared about. If you would like, comment and I'll add a way of contacting me and do free consulting to take a look and see if I can fix it.
I can't make any promises but from what you described it sounds savable.
As someone who is still running all of their homelab stuff (well, almost) on Docker Swarm, i dread the day when the eventual switch to Kubernetes will be inevitable.
Maybe Nomad will save me.
Or something like K3s or even Rancher - even though the former has some ingress weirdness with Traefik and default wildcard SSL/TLS certificates since not everyone uses Let's Encrypt or wants DNS challenge for private stuff and the latter needs a lot of resources to even run.
Still, when things go wrong with Docker Swarm, they're generally pretty easy to debug and solve - it's like adding just a little bit more on top of Docker Compose. Worst issues i've had were related to networking and kernel updates breaking something, though purging the node and carrying over all of the bind mount data as well as re-deploying the stacks solved that.
In regards to something like Kubernetes, i largely agree.
However, there is (currently) certainly some merit to just using Docker, Docker Compose or even Docker Swarm, all of which are relatively boring and stable.
Those essentially solved the problems of environments, configuration, as well as backups for me. Most *nix distros have humiliatingly failed at having a single directory for everything an application needs to run, which horribly complicates figuring out where your data actually lives and how you could re-create everything from 0 in case of a failure or migration. The same goes for different system packages and even sometimes pinning versions. The same goes for networking being weird and is especially applicable in situations where you would want different versions of the same package running on the same server (e.g. MySQL 5.7 for one project, MySQL 8 for another).
A lot of that was already solved by VMs and tools like Vagrant, but it was a bit heavy and never caught on - Docker essentially solved that problem by allowing you to reason about your applications like applications on a phone - just a package of stuff that you care about, adding some resiliency and load balancing capabilities on top.
And then things like Kubernetes came along and addressed more enterprise concerns that are applicable at scale and inadvertently pulled along a bunch of people for the ride, when they have neither the need nor the capacity to work on such complicated software.
I actually talked more about my experiences with this in my blog post, "My journey from ad hoc chaos to order (a tale of legacy code, services and containers)": https://blog.kronis.dev/articles/my-journey-from-ad-hoc-chao...
That said, it's nice if you don't need to solve the problems that containers do. Alternatively, if you have other ways of solving them (e.g. the ansible + systemd setup), then go ahead and use that until your needs expand!
The Filesystem Hierarchy Standard actively militates against a single-directory setup. Instead it is designed so you can keep your static stuff on one read-only location, your interim application runtime stuff on another (/var), your user data on a third (/home)...
It's a high-end standard appropriate for serious computers where these directories can be on different disks, with different filesystems, security protections, performance implications, and backup strategies (no need to back up what you can simply reinstall!). As a small-time user it's only your choice because it's the standard choice.
I guess you can have /opt/xyz?
Switch to K3S, you won't regret it. I was hesitant to pour more work into my project to switch to K8S (which I know well, it's part of my day job !)... K3S is an excellent way to get into Kubernetes. Or use Digital Ocean's or other hosted implementations...
Kubernetes has a lot to offer... peace of mind is one of them !
K3s is pretty great, at least as long as you keep on the happy path.
In practice, that probably means a DEB based distro, quite possibly Ubuntu LTS and something like Rancher for management (if you prefer a UI of some sort and can afford the spare RAM), or Portainer, or even just Lens.
Sadly, i had a situation where i needed Kubernetes on a server at work, which had about 8 GB of RAM, so OpenShift was out of the question and most other "full" K8s distros also weren't viable, when that same server was also to run the actual containers. Moreso, i was stuck with Oracle Linux, on which getting K3s working properly was a bit problematic (though the same probably applies to most RPM distros).
Not only that, but instead of Let's Encrypt, i needed to use custom SSL/TLS certificates, installing which with the Traefik ingress and using them as the defaults instead of the self-signed ones was quite the mess, about which i wrote in another comment here on HN: https://news.ycombinator.com/item?id=30672765
In short, to get it working i needed:
- a ConfigMap for Traefik, knowledge about the structure of the ConfigMap (tls.stores.default.defaultCertificate)
- a TLSSecret for storing the actual certificate/key
- a TLSStore (which i also needed to actually use the secret, spec.defaultCertificate.secretName)
- a HelmChartConfig for Traefik to load the ConfigMap with the mounted secrets and config
none of which were documented as well as i'd like, because Traefik isn't necessarily aware of the intricacies of being used with K3s and K3s hasn't got instructions on such a setup because the happy path is using Let's Encrypt. Furthermore, attempting to use Nginx as the ingress instead failed and trying to uninstall all of Traefik resources hanged, something about Kubernetes waiting for the resources to do something so that they may be deleted, a callback that never seemed to happen.Oh, attempting to use Rancher also failed due to recent changes with cgroups v2 and varying support for all of that, whereas it seemed to work properly on a throwaway Ubuntu LTS VM/VPS.
In short:
- i still think that the goals of the K3s project are really nice, the current resource usage is surprisingly decent
- if you have to use Kubernetes on RPM, go with OpenShift, if you don't have the resources for it, just use DEB distros
- the struggle with niche setups, like i needed, is largely not worth your time, the documentation for these still isn't there yet (example of mature documentation: Apache, which has been around for decades)
- ideally, just pay someone else to run a cluster for you, if you can (i can't, because mostly on-prem at work and am relatively poor in regards to personal homelab)
I'm still torn about migrating over to Nomad or K3s when i'll eventually retire my Docker Swarm clusters (maybe in the next 5 years), but for now i'm putting those plans on the backburner entirely to give both projects a few years to mature and become more stable/established. In regards to Rancher, they have RKE2 in the works as well.But I must admit it's easy/easier when someone else is managing K8S for you, be it DigitalOcean or Tencent (which I have experience with) or AWS / Google Cloud.
K3S is quite comparable to Docker Swarm though. I liked Swarm when I developed SSLPing because of its simplicity compared to K8S, but once you learn your way through K8S, there's no point sticking to Swarm I think...
If you wanted an 'in' to Kubernetes and better automation of your homelab. I would suggest to check out this repo[1], it's nearly a A-Z guide on getting k3s running on Ubuntu (I am no distro-snob, Ubuntu just works well for most home workloads in Kubernetes). GitOps tools like Flux and Argo are really becoming popular to use with Kubernetes because all your configuration is stored in Git and the GitOps tools deploy manifests based on the Git repo state. My entire home cluster[2] is open source and there's many who are also doing something similar[3].
All of this comes at a cost of learning these tools which is not easy, but from my interactions with people who do take the plunge from docker-compose or docker-swarm most of them stay and once they see the benefits of GitOps and Kubernetes cannot go back to their previous ways. Automation is king and it is much easier using Kubernetes because most of the tools exist for it already.
1. https://github.com/k8s-at-home/template-cluster-k3s
Couldn’t find a way to monetize, running an old version of node. Upstart vs Systemd, a niche database (rethinkdb) that fell out of favor and upgrading was too painful.
It wasn’t nearly as popular as SSLPing, but it was mine and had a following.
Thanks for writing this note: it’s OK to shut something down if it causes you agony.
Getting broken things going again can be kinda fun...
More info on the game here: https://en.m.wikipedia.org/wiki/Kriegspiel_(chess)
It worked really well at first, but didn’t scale due to some tech decisions. Maybe at some point I’ll fix it and rerelease it :)
Thanks for all the fish and I wish you a great time developing your next service!
Looking at building out this feature further (with expiry warnings 3/7/14/x days before cert expiry), let me know if you're interested.
Congratulations for recognizing that it's the best for it to be over. Feel relieved and enjoy the newly gained freedom.
It will take hundreds of hours to be updated, which at some point will be almost (or even less) than building it again from scratch. As I do not have this time, it will probably die a slow death.
I know that pain of debugging a Docker swarm, and it's not fun!
Edit: I thought of slowly migrating everything to Docker, but the official Docker binaries are also 64-bit only.
> SSLPing needs less than 5 seconds to check your server and tell you what's wrong with your SSL/TLS security.
So I guess it used OpenSSL to figure out what was wrong with people's certificates. Not sure what it used that relied on internals so heavily it was hard to upgrade, or if the public interface just changed a lot.
Even with that, seems there was multiple issues that "prevented" ("made it harder than justifiable" rather) the author from keeping the project up, not just regarding OpenSSL.
> tell you what's wrong
Actually node.js is using openssl under the hood... SSLPing implemented a partial SSL implementation to quickly test support for SSL versions and cyphers, but used node.js native libs too. Newer node.js versions weren't able to get an SSL certificate out of a SSL v3 only server, for instance. Which didn't allow to test for expiration, etc...
But yes, there were multiple issues indeed
More: Enter a list of (sub-) domains and get informed via email when "SSL things" change (for better or for worst), or your https certificate is about to expire.
Less: No fancy pansy "report"
Personally I prefer https://hardenize.com nowadays, over ssllabs for these kind of queries.
It didn't just check if a certificate is valid now, but whether the certificate, intermediary, CA (or anything in the chain) is about to expire soon.
It might have needed to poke deeper into OpenSSL than regular uses.
Perhaps their service also tested for deprecated ciphers/tls versions?
This is a problem for all testing tools that rely on OpenSSL. If you follow this direction, you typically need to use at least two OpenSSL versions, one new to test modern features and one very old to test obsolete features.
I know you appreciate the issue to its fullest like no one else! Cheers
I'd be happy to help you find this person through my site called Microns(https://www.microns.io).
I have an audience of entrepreneurs and founders who will like your project. Just let me know if you would like to be featured.
Here, read this blog where the author suggests that the service is free and that free account has no limitations and allows you to scan thousands of websites... appalling: https://www.ctrl.blog/entry/review-sslping.html
So all of that cathedral has been fallen down w\o ability to recovery after mistakenly update && upgrade with no backups? And all of that code stack was open-source?
I have a service that, among other things, checks SSL certificates: DomainProactive (https://domainproactive.com). Please try it out if you have this need.
This feels like saying to stop supporting Firefox because Chrome won after all. Kubernetes is far from perfect, so we shouldn't try to eradicate all of its competitors for it.
- https://www.ssllabs.com/ssltest/
- nmap --script ssl-enum-ciphers news.ycombinator.com -p 443
The nmap one works with various non-HTTP protocols, such as IMAPS and FTPS. The Qualys service is much more detailed, including hints about certificate chain problems etc.
NodeJS was a common choice too.
The real problem was their lack of an upgrade path I suppose, not the tech stack itself.
I'm also guilty of doing this and I'm an ops person, if you can't keep upgrading at a decent pace then the cost of all the upgrades becomes too great to take in one chunk.
> NodeJS was a common choice too.
I agree it was common and perhaps fashionable, and perhaps it made life easier, but it also added so many level of complexity and technical debt, that now are a burden. That why I say simplicity is hard, but then it pays of (perhaps).
It's not just SSLPing, it's the entire industry.
SSLPing is aruably a lot simpler (comparitavely speaking) than many other products.
very sad, but, also, yeah. :-/
There are backups, the db is safe. But you can't easily fix a Docker Swarm cluster when Docker refuses to run, systemd tries to replace upstart, etc. The message I wrote tells the whole story, and backups were not the problem (I even had a redundant 3 way database cluster which most commercial companies don't have).
So you have a one-shot opportunity for the next day or two to consider changing the webpage to say something different.
Reading the sentiment amongst the comments and the perspective you've also shared, some significant points emerge for me:
- This is a side project you were really invested in and you're really sad to see it go
- It wasn't generating very much money, but you weren't in it for the money
- A few people definitely used and appreciated it - so it had a decent bit of mindshare
IMHO this could easily either go the open source route, or a small private team of assistants could help contribute to getting this going again and maybe contribute toward maintaining it in as people have spare time available.
- You appear to have some level of one-step-beyond-MVP mindshare, and a catchy name. Not only would this make it tricky for forks to take off in an open-source setting, but I can also see full-clone attempts being promptly chased away with pitchforks as well. This is the scenario where open source shines I think - the risk of wholesale copying seems interestingly low.
- You aren't interested in this for the money, so opening the codebase doesn't really let especially novel cats out of any bags
- There is enough clear interest that people will definitely show up to help
Some other considerations:
- Instead of committing to open-sourcing immediately you could also build a team out of all the people expressing interest in contributing spare time. I honestly wonder if the energy level would be lower than a traditional open source project. In this case I can see enough interest coming to the table to help unravel the existing codebase, and enough people might even stick around long-term to help out with simple maintenance hitches and fixes as they come up.
- If there were any concerns about forks/clones the exceptionally restrictive AGPLv3 would probably take care of those sufficiently well (perhaps this is a good question for the theoretical team mentioned above)
TL;DR, my opinion is that if you maybe want to take a break for a while but dive back into this in the future CHANGE THE WEBPAGE NOW while eyeballs are still looking at it. Point people at a Discord server or empty GitHub repository (lots of closed-source stuff uses GitHub for issues) to pin or star so they get pinged when there's activity in the future.
Of course the caveat is that I can only respond to the context I can see, and this may not be useful advice. Kind of an on-the-spot "uhhhhh....", good luck :P
- it was using Docker Swarm, which fell out of favour (Kubernetes won after all)
Docker Swarm is the built in Docker orchestrator, so it was running as a Docker container. It still doesn't protect you from anything around it breaking, such as the actual servers that the orchestrator runs on. Something like Ansible could have been useful (or even VMs with snapshots) for more easily reproducing the setup in case of failure, but it's perfectly fine not to want to do that if it wasn't financially viable.
This site can’t provide a secure connection
sslping.com sent an invalid response. ERR_SSL_PROTOCOL_ERROR
/Ironic