Ask HN: Should we bring software dev in-house?
565 pointsWe're using a third-party product that functions, but barely. The provider is understaffed and unresponsive and the platform is stagnant. It's a fight getting basic bugs fixed let alone new features implemented.
We're having to resort to a separate low-code platform to fill in the gaps.
Our business operates in a specific niche and there are no other providers who cater specifically to our industry.
As we are growing we're running in to the limits of what this product can offer. We're being hampered in our speed of execution and missing crucial insights. I feel like we could do much better with a product catered specifically to us.
On the other hand, while our current solution seems like a straightforward CRUD app, I fear the devil is in the details. Will we get stuck at 80% completion? We do a lot of data exchange via EDIFACT, for instance, with various government institutions all over Europe. This feels like a quagmire in which development can quickly stall.
Besides, can we even attract experienced developers to a non-glamorous industry like logistics?
We'd particularly appreciate input on:
Strategies for attracting and retaining tech talent in a non-tech industry
Experiences transitioning from third-party to in-house software (success stories and cautionary tales).
Potential pitfalls we might not be considering.
Alternative solutions we should explore.
Has anyone here navigated a similar transition? What worked? What didn't? Any advice would be appreciated.
Comments (594) 345 threads
Earlier commentsOvertime, you could move away from the software in question as various functions are replaced with other services or internal code. Or if you realize that replicating the software in question would be too prohibitive, at least you have some folks that are adept at dealing with that type of stuff.
It is worth mentioning that when managing software projects, the complexity and frustrations tend to sneak up on you. The first prototypes tend to come together fast, and are nice and clean and crisp. But overtime, the feature set grows, the complexity grows, and the cost and time it takes to iterate grows. If you only need a very small slice of the features of the software in question, and you are paying an arm and a leg for said software, then it might make sense to roll your own. But it is easy to underestimate the complexity of what you need accomplished and rolling your own could end up being a very costly mistake.
It depends. In the end EDIFACT is just a protocol. If you go the Java route Smooks, for example, has pretty decent support to read/write EDIFACT messages.
If you do not want to do the heavy lifting yourself, both AWS and Azure provide SaaS services to do the heavy lifting for you (AWS: B2B Data Interchange, Azure: Azure Logic Apps)
> Besides, can we even attract experienced developers to a non-glamorous industry like logistics?
If you can provide a good salary and conditions: absolutely. And I should know, because my previous stint WAS in logistics :)
> Strategies for attracting and retaining tech talent in a non-tech industry
Provide a great work environment, good salary and conditions
> Experiences transitioning from third-party to in-house software (success stories and cautionary tales)
Start as easy as possible and don't hire anyone who wants to build a microservices based platform from scratch w/ almost zero domain knowledge at your org. Because that road will lead to nowhere. (Ask my previous colleagues who decided "we" should. I was against. They are still working on it, 3 yrs later, and nothing has been deployed yet because it still does not work properly.)
> Potential pitfalls we might not be considering.
Do not go the microservices road unless you really, really, really have to (and with good arguments!)
Need any more tips? Happy to help.
You can also do shim servers to translate between protocols - a long time ago, I had to interface with a Rails app (by another team, so I couldn't modify it) with an Emerson (the industrial giant) SOAP API, and what turned out to be effective was a Sinatra shim server that only converted JSON to SOAP. Now I could plug the two together without worry.
So - I'm guessing you could have a Java Smooks applet that translates from a JSON API to the EDIFACT protocol, and then you can write your main app in anything you want.
PS - Seconding the "don't go microservices", even though I'm advocating for one here - IMO, you only want microservices if they can be fully defined, independent products; a JSON/EDIFACT translation service would probably qualify.
The great thing about the modular monolith is that it gives you a fantastic foundation to grow: You can still invest in multiple teams each handling a certain part of your problem domain (due to the modularity); and because it is modular you could easily break it apart, and evolve it, into a microservices architecture if and when there comes a time you need to do so (due to extensive problems getting code shipped, or difficulties concerning NFRs defined for the architecture, for example scaling issues in production).
...unless you still do the same thing I'm advocating for when considering microservices: defining, and treating, each chunk as a discrete product.
If you can do that, great! MM or MS will both work, and you can probably decide between them based on the other factors you're dealing with.
If you can't, I would expect you to end up with a regular old monolith, so you might as well lean into it.
a) there is something on the other end that expects the data to be exactly in a specific format, which may not be documented correctly or in a language your devs can read,
b) the consequences of not getting it 100% right are expensive,
c) there are a lot of these "somethings", each potentially requiring their own format/special quirks for which the provider may have already built workarounds.
Is that the case? If so, trying to build anything yourself will be a nightmare, and my first approach would be to find something that handles this part and beat my data into it, even if it means using some fully-featured software package just for this feature.
Wikipedia provides a pretty good explanation: https://en.wikipedia.org/wiki/EDIFACT
The beauty of EDIFACT by the way, is that with enough time and effort it can get parsed and validated using any text processing tool at your disposal because everything is _rigorously_ specified by the UN.
For example I once had to do it with a set of specs, standard Linux text processing tools and a sprinkle of shell scripting for a school assignment.
Has it? If so, that's a pretty remarkable feat, and I'd love to be wrong about this one. And are the open source libraries good enough at it?
It does sound like the best solution would be to bring most of the development in house, but integrate with third-party APIs where it makes sense (ie, the data transfer piece you referenced)
something-something "Life is short to deal with problems we didn't have to have"
For the software in question, a few considerations come to mind:
- how critical is the software to your company’s competitive advantage?
- how big is the vendor team supporting the software?
- how much revenue/customers does the vendor currently support?
- how much of the software is entirely custom developed vs modules built on top of other platforms?
- where does the software reside (on-prem/in-house acct vs mix vs vendor)?
Without knowing too much detail about the situation, if it’s an application that is easily testable and verifiable (I.e. perform an action results in observable actions), then it’s much easier to rewrite than an application with background functions and procedures so some level of due diligence or discussion with the vendor maybe useful.
Other alternative solutions that may make sense if software is critical:
- joint venture with vendor
- code acquisition + in-house team
- code/team acquisition
- short feasibility project to determine migration strategy
I’ve worked fairly extensively in transition/acquisition projects so happy to share more if there’s anything specific you’re interested in knowing.
At it's core, it should be a decision that is not only about control over the software, it's about bringing the knowledge about the processes and technical complexities of doing your business in-house. You might think you know all about it, but most likely you don't (otherwise most IT projects wouldn't fail). The big cost in IT is specifying exactly how things should work (that's basically what coding is all about). If you're not a developer (and even most developers underestimate/don't fully understand this) it's highly likely you underestimate this part of it (otherwise it would be easy for you to code it yourself - again, how to code is not a big deal, it's specifying exactly how it should work).
Software development is a lot about managing and documenting processes, aka knowledge, about your business.
Otherwise I agree with lots of other comments. Make sure you and the rest of the business is sure and have enough budget/resources allocated for a long time forward. Bring in a CTO/leader with the experience/skills of doing something like this. Make sure that person has the mandate to do what's needed (hiring, culture, etc). Could be a good idea to do it step by step to test out (again, a good mindset is to see this as an investment in learning about how to do your business, using IT/automation). A hybrid approach could work (take over existing code, use another platform/ERP/system as a base) - all depends on the specifics of your business, how custom your business and processes really are, how core to your business they are, etc.
Good luck!
Check if your contract with the vendor includes any business continuity clauses. What happens to their solution, their code, and your data if they go out of business or get acquired (by someone else)?
One relatively common option is to have them put their code in escrow, and get access to it if certain events happen. You can probably negotiate this into your contract if you have enough leverage.
If their software is critical to your business, and you feel they are stagnant and underfunded, there may be some risk here you can address today - check with your lawyers.
(also, just noticed the username I'm replying to... hi Teren!)
Indeed - good point to ensure business continuity. There should also be a transition period to ensure OP, you’re getting support (like 6 months of service) in addition to code that allows you to address the issue if the vendor does disappear.
All comments shown.
Couldn't load more comments. Check your connection and try again.