DEV Community

Discussion on: The day our web server reached 100% capacity šŸ’¾

Collapse
 
elegos profile image
Giacomo "Mr. Wolf" Furlan

I'm sorry to write this, but we're in 2020 and you're still on a monolithic architecture? If you sandboxed every service in small, resources-monitored (and limited) instances (containers, for example), your headache would have been way shorter.

I know, I know: business' first. But it's up to you to stand up and talk about tech debt.

Side note: I don't remember the last time I used a (S)FTP client to access to a server... brrrr...

Collapse
 
mike_hasarms profile image
Mike Healy

Of course implementing microservices could never cause its own headaches šŸ™„

Collapse
 
elegos profile image
Giacomo "Mr. Wolf" Furlan

Obviously running microservices requires experience and good knowledge to avoid culprits, but in my personal experience, probably because I got more experienced over the years, I tend to consider small (in code and responsibility) services a great way to make things simple and able to be understood and developed by both experienced and newcomers in the company.

Collapse
 
dmahely profile image
Doaa Mahely

It really takes you back, huh? šŸ˜‚
As you said, startups in particular often need to put their business needs first to accelerate growth and market share. Plus, not every application needs to use microservices.

Collapse
 
elegos profile image
Giacomo "Mr. Wolf" Furlan

In my experience every company puts business in front of everything - and most of them put marketing in front of business ("the real heroes"). Just because I worked a long time for startups, old companies and lately consulting ones (i.e. more or less short projects), I can tell you you have more power than you might think, when you adopt standards that are simply different than monolithic approaches, without meaning more work (once you get practiced with them). It's years now that I work with autoscaling solutions, microservices or simply containerised services on a single machine, because in my opinion simple services allow you for great flexibility and replaceability over great control. Which apparently was what you lacked in this occasion :)

Thread Thread
 
dmahely profile image
Doaa Mahely

I appreciate you sharing your experience.

Iā€™m skeptical about any power I have at the moment, but I will try to be a better advocate for better and more modern tech. I have much to learn!