News for hackers. Stuff that matters.
Re:The boring technology behind a one-person Internet compan... by sdevonoes on Wednesday November 03, 2021 @02:57PM (#29098853)
I was expecting: PHP + MySQL + a bunch of shell scripts to install stuff on servers + reading logs via command line by ssh as root. Instead I found: Redis, Rabbitmq, DataDog, ES, React + Redux, Ansible, PagerDuty... I wouldn't call that "boring technology". Sure, you are not using Docker nor K8s... but still.
Re:The boring technology behind a one-person Internet compan... by mperham on Wednesday November 03, 2021 @07:19PM (#29101794)
I'm one guy with a 7-figure ARR business. My tech is Stripe, Apache, Ruby CGI and CSV. Literally my database is a CSV file.

Maybe that's too boring. But I spend about 10 hours a year maintaining it. The bulk of my devops this year was moving to Let's Encrypt.

Re:The boring technology behind a one-person Internet compan... by dgb23 on Wednesday November 03, 2021 @08:01PM (#29102143)
Actually I find the CSV „db“ idea rather exciting. Too exciting for my taste!
Re:The boring technology behind a one-person Internet compan... by omneity on Wednesday November 03, 2021 @08:15PM (#29102246)
Why not SQLite which is even more boring and comes with better guarantees?
Re:The boring technology behind a one-person Internet compan... by mperham on Thursday November 04, 2021 @12:12PM (#29108962)
I do'nt need those guarantees. It's one more thing to upgrade. vi is my DB editor.
Re:The boring technology behind a one-person Internet compan... by nerdponx on Thursday November 04, 2021 @09:49PM (#29114599)
Honestly, at that point I'd rather use Excel / LibreCalc.
Re:The boring technology behind a one-person Internet compan... by tehjoker on Wednesday November 03, 2021 @10:03PM (#29102890)
My guess is that he does a lot of manual editing of entries which is fast in a text editor and somewhat annoying to form SQL statements to do.
Re:The boring technology behind a one-person Internet compan... by Sammi on Thursday November 04, 2021 @06:34AM (#29105392)
There are lots of guis that make editing a sqlite db almost as easy as editing a spreadsheet.
Re:The boring technology behind a one-person Internet compan... by tehjoker on Thursday November 04, 2021 @01:13PM (#29109846)
Didn't know about that, thanks! Might use some in my own work.
Re:The boring technology behind a one-person Internet compan... by Sammi on Thursday November 04, 2021 @06:26PM (#29113228)
A sqlite db is just a file. So at that level it is exactly like a spreadsheet. It's just a much more powerful storage format. But for the app opening it it can be presented much like a spreadsheet.
Re:The boring technology behind a one-person Internet compan... by eatYourFood on Wednesday November 03, 2021 @08:28PM (#29102339)
What’s your business?
Re:The boring technology behind a one-person Internet compan... by ch4s3 on Wednesday November 03, 2021 @09:00PM (#29102544)
Re:The boring technology behind a one-person Internet compan... by grouseway on Wednesday November 03, 2021 @04:48PM (#29100067)
I'm currently reading logs via command line by ssh as you describe for a simple service and not satisfied with this. What would be a step up without a lot of extra infrastructure?
Re:The boring technology behind a one-person Internet compan... by cbzbc on Wednesday November 03, 2021 @06:46PM (#29101473)
Log forwarding to a single server running rsyslogd, and then view consolidated logs there.
Re:The boring technology behind a one-person Internet compan... by dfinninger on Wednesday November 03, 2021 @05:49PM (#29100771)
I’ve personally used Graylog[1] with success in the past. However, I’ve had an excellent time with Grafana and have been following their Loki[2] project. My company uses other solutions, so I haven’t needed it, but the Grafana stack might suit your use case.

[1] https://www.graylog.org/products/open-source [2] https://grafana.com/docs/loki/latest/

Re:The boring technology behind a one-person Internet compan... by Sammi on Wednesday November 03, 2021 @05:54PM (#29100830)
The question was: "What would be a step up [from ssh] without a lot of extra infrastructure?"

I think you just way overshot it.

My attempt at a simple step up would be mounting the logs with sshfs and using your favorite editor.

Re:The boring technology behind a one-person Internet compan... by bckygldstn on Wednesday November 03, 2021 @08:53PM (#29102491)
Run vector [1] on each host to collect logs and send them to New Relic's free tier.

No need to manage extra infrastructure for logging, New Relic works pretty well and also has alerts, and Vector makes it easy to move to a new provider or self-hosted solution without reinstalling agents: just add a new sink to your config file.

[1] https://github.com/vectordotdev/vector

Re:The boring technology behind a one-person Internet compan... by turtlebits on Wednesday November 03, 2021 @06:43PM (#29101423)
New Relic has a free tier, just install their agent (or another compatible logging agent).
Re:The boring technology behind a one-person Internet compan... by ur-whale on Wednesday November 03, 2021 @04:48PM (#29100076)
> PHP + MySQL + a bunch of shell scripts

That's a typical 2010-era stack.

We're almost in 2022, things have evolved.

Re:The boring technology behind a one-person Internet compan... by HWR_14 on Wednesday November 03, 2021 @07:10PM (#29101713)
Except PHP + MySQL is still a solid choice for a single developer. It scales out well enough for almost all use cases.
Re:The boring technology behind a one-person Internet compan... by paul_f on Wednesday November 03, 2021 @10:35PM (#29103097)
Has worked brilliantly well for me for many years.
Re:The boring technology behind a one-person Internet compan... by mixmastamyk on Saturday November 06, 2021 @08:25PM (#29135209)
There are more maintainable options available that are just as free, easy to get started, and have large communities.
Re:The boring technology behind a one-person Internet compan... by azeirah on Wednesday November 03, 2021 @05:32PM (#29100576)
Meh, my stack is laravel hosted on docker containers.

PHP, Redis, MariaDB and a makefile to run docker-compose commands.

Nothing wrong with it tbh, it runs on a VPS

Re:The boring technology behind a one-person Internet compan... by hello_moto on Wednesday November 03, 2021 @05:53PM (#29100821)
> That's a typical 2010-era stack.

>> PHP, MariaDB, Makefile

> We're almost in 2022, things have evolved.

>> laravel , Redis, run docker-compose commands

Fix that for ya

Re:The boring technology behind a one-person Internet compan... by coddle-hark on Wednesday November 03, 2021 @05:17PM (#29100389)
It’s almost 2022 and 95% of all backends are still just CRUD.
Re:The boring technology behind a one-person Internet compan... by pphysch on Wednesday November 03, 2021 @05:52PM (#29100802)
As opposed to what? Talking 1-100 person orgs.
Re:The boring technology behind a one-person Internet compan... by zhte415 on Wednesday November 03, 2021 @10:31PM (#29103070)
backend being the key word. Just CRUD but with React front ends that do not a lot more than before.
Re:The boring technology behind a one-person Internet compan... by GuB-42 on Friday November 05, 2021 @04:00PM (#29124103)
PHP has evolved, it less of an injection vulnerability factory now, and MariaDB is the new MySQL. As usual computers became cheaper and more powerful, maybe not as much as we could have hoped in 2010 but SSDs made up for the slow rate of progress in CPUs.

All that to say that PHP + MySQL/MariaDB has evolved will get you much further than it did in 2010 without losing its simplicity. Current trends are backed by tech giants working with millions of servers and billions of users, and they push for technologies that fit their use cases. They goal is not to make a one man shop.

Re:The boring technology behind a one-person Internet compan... by posharma on Wednesday November 03, 2021 @03:37PM (#29099290)
exactly what i thought.