8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 3y ago · link · parent
I mean, what is it about haphazardly trying out an approach you read about on a random blog written by someone who has a different problem to solve than you says engineering? In my world engineering implies rigour, adherence to the data, etc.
There can be engineering in software. There can be science in software. But I'm not sure that means software work is categorically either engineering or science. I expect you will find that there is a lot of fad chasing and leaps of faith in hopes of stumbling upon something that will yield.
To the specific topic of conversation, where do you find the science or engineering, and not just people throwing shit in their plot and seeing what grows?
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
The law won't prevent you, but indeed it is impractical. As I said before, things like schema upgrades become impossible if you don't have the ear of other teams. When you can't call up another team you also lack trust, so security becomes an issue as well. This is why teams who operate in independent silos must ultimately have their own databases.
The practice has nothing to do with performance, though. Microservices has little to do with technology at all. It is about people.
> The more I work with microservices, the more I'm convinced that microservice first architecture is garbage.
I personally steer clear of organizations so large that they need to silo their teams internally, but I have had a positive experience using services provided by other companies with the only communication between us being API contracts. The concept works well enough. At least so long as the product does what you need of it.
If you try to force big business practices into a small organization, you're no doubt in for a bad time. That said, I don't get the impression you are talking about microservices at all, just a bad case of over-engineering.
comment 3y ago · link · parent
In terms of access time, what does that gain you over a bog standard shared database? With careful planning, you can likely achieve the lowest access times using a shared database. There is so much more room for optimization at every level.
The reason actual microservices (teams only communicating via API contracts) must carry out this practice of duplicating data is because a shared database requires non-API communication for various things, like enabling schema changes. If you can call up someone on another team to talk about how to upgrade the database and reach a shared understanding, what do you need API-only communication for?
Did your organization become confused about why they are doing that and then invented a performance argument to justify it?
comment 3y ago · link · parent
A microservice is comprised of people. Not a whole lot different than a service, but narrower in what is offered such that the service doesn't provide something useful on its own and is meant to be integrated with other services to achieve its full utility, hence the 'micro' moniker. In the world of physical products we often call these people suppliers.
It is possible that a microservice may produce Linux kernel modules.
comment 3y ago · link · parent
Eventually everyone provides a service to someone, I guess, but there is a clear division between those who serve end users and those who serve the servers. The service that places your food down on the table at the restaurant is not thought of in the same was as those who get to the food to the restaurant. The latter camp is often known as a supplier, but we in tech call them a microservice instead. There is no suggestion that all services are microservices.
comment 3y ago · link · parent
If you use a linked library, interface compatibility can be a real challenge. Web APIs, as you call them, offer more flexibility in adapting to different callers. It also comes with the added benefit of defining explicitly clear boundaries between teams that something that shares memory doesn't necessarily guarantee (e.g. monkey patching). This oftentimes makes it a good practical choice.
comment 3y ago · link · parent
Any time you lean on code in a random GitHub repository, where you never speak to the author and just use the API you're given, you're doing microservices. This works well enough so long as the product does what you need of it.
The problem is that when the product doesn't do what you need. If the microservices teams are under the same organization umbrella there is a strong inclination to start talking to other teams instead of building what's needed in house, which violates the only communicate by well defined APIs. This is where the ball of mud enters.
If your organization is such that you can call up someone on another team, you don't need microservices. They're for places so big that it is impossible to keep track of who is who and your coworkers may as well be some random GitHub repository.
comment 3y ago · link · parent
comment 3y ago · link · parent
The contention, of course, is around their software systems that have paid upgrades. If they supply tools and manuals you'll be able to enable paid features for free and that's what they want to avoid. Same as every other software business, frankly. Not even HN gives you the ability to fix problems with this forum because they're afraid of what you'd be able to enable if they gave you access.
comment 3y ago · link · parent
In fact, there was once advocacy towards a style of meeting (oft called a "standup") where you explicitly called upon participants to give their status update because it was recognized that they wouldn't be paying attention and needed prompting to snap them back, although this has largely fallen out of favour as we realized that only kept their attention for the length of their update and didn't achieve the desired effect.
comment 3y ago · link · parent
I own some John Deere equipment on my farm, alongside equipment from all of the major brands. I find no measurable difference in experience across dealing with those brands, and they are all great compared to other products in my life. Repairability in everyday life is actually quite horrendous compared to farm equipment. My broom broke the other day and I have no idea where to even begin looking for parts to fix it. I'm going to have to buy a new broom to replace it.
When my farm equipment breaks, the parts department at the local dealer will bend over backwards to find what I need.
comment 3y ago · link · parent
All brands break. If you don't have easy access to parts, it's harder sell. Farmers don't want machines they can't easily fix and so Deere wins on that front. The CaseIH dealer network is just as strong, so that's the actual competition for Deere in these parts.
comment 3y ago · link · parent
It's not like the internet wasn't alive and well 20 years ago. Hell, Stack Exchange is little more than Usenet, and that was in use over 40 years ago.
comment 3y ago · link · parent
What happened, however, is that the equipment manufacturers in modern times streamlined manufacturing such that they created a whole line of equipment that is physically identical but differentiated by software unlocks. The problem is that if you were able to repair the software, you would be able to unlock features. It is access to those systems has been closely guarded to prevent piracy, just as all kinds of software has done for 50+ years. They do have a problem with you using software you didn't pay for.