TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Is Golang mature enough for FinTech startups?

18 pointsby dlistabout 9 years ago
We would love to get your thoughts on GoLang in 2016. The language has spectacular speed and it is fun to work with but we&#x27;re wondering whether to brave an entire FinTech site with it. Our backup is Rails. I&#x27;ve noticed that Revel and other frameworks in Go have lost steam, due to React, Angular, and Ember replacing the frond end. But that has its upsides and downsides too. Go and React would make a nice pair, but we may have to reinvent the wheel to protect against many attack vectors that are already taken care of by Rails. Then there is hiring and on-boarding on a less-standard architecture. Yet that speed is so tempting.<p>Braintree had some objections in 2013: https:&#x2F;&#x2F;www.braintreepayments.com&#x2F;blog&#x2F;gotchas-irritants-and-warts-in-go-web-development&#x2F;<p>From a functionality standpoint, the site will be processing Stripe and&#x2F;or Dwolla &amp; Braintree; holding user profiles with private and public views; We&#x27;ll do CloudFlare, SSL (DigiCert or CF), and Postgres in the back. We&#x27;ll need to take care of CSRF, injections, user validations, OFAC checking etc. What do you guys think?<p>If you or someone you know has done GoLang for FinTech, would you be willing to chat?

8 comments

mattheathabout 9 years ago
TL;DR Yes, but as someone else mentioned, the real question isn&#x27;t if Go is suitable for Fintech, but if it&#x27;s suitable for your team and the specific problem you are trying to solve.<p>I work for a startup called Mondo - we&#x27;re building a full-stack bank and currently it&#x27;s almost entirely in Go. However, this is a function of our architecture - we provide an API which our apps and frontend (some using react) communicate with. Behind this API are &gt;100 microservices which comprise our application, and Go works exceptionally well for this type of architecture, as it excels at network services.<p>In your case it seems that you&#x27;re building a web application, so Rails is going to be easier to build out a prototype, hire for, and has taken care of a huge number of your concerns already at a framework level. There is of course nothing stopping you from splitting out functionality later into smaller Go based applications, but I doubt at this point speed of code execution should really be a concern - if you&#x27;re building a new company you need speed of product execution, no?<p>Regarding functionality, Go will do everything you&#x27;re asking for: - CSRF can be handled with middlewares like Gorilla&#x27;s CSRF package: <a href="http:&#x2F;&#x2F;www.gorillatoolkit.org&#x2F;pkg&#x2F;csrf" rel="nofollow">http:&#x2F;&#x2F;www.gorillatoolkit.org&#x2F;pkg&#x2F;csrf</a> - Postgres with the standard database package, or other packages on top - Third party APIs such as Stripe&#x2F;Dwolla&#x2F;Braintree will be fine - If you&#x27;re looking at integrating with other (older) parts of the global financial network (eg. is there an OFAC checking service with a nice API?), then you may find other languages would be easier for these tasks. In our case we may end up abstracting some of these with services in other languages that already have libraries to interact with these systems, and then providing a nice internal API our services can interact with.<p>So, Rails has a huge number of framework level features which may help you move faster as you develop your product. But, yes, Go is perfect for Fintech applications, we&#x27;re building a bank and love it.
评论 #11553393 未加载
djb_hackernewsabout 9 years ago
It sounds like you are building a transactional CRUD webapp that doesn&#x27;t need to scale all that much, for a startup where the team already has a bunch of experience with Rails, which IMO, has the best ecosystem for webapps available (and I&#x27;m not a huge Rails fan.) And the main reason you are looking at Golang is because of performance improvements, even though it doesn&#x27;t have a great ecosystem yet, never mind a solid webapp framework, and the team doesn&#x27;t have much experience with it? Is that right?<p>Having written and maintained a large Rails app from the ground up, and done some small projects in Golang, I think you&#x27;ll be extremely dissatisfied with all of the extra work you&#x27;ll find yourself doing, which really takes away from the time of actually getting your product in your users hands.<p>When coming from Rails, most other options will have speed that is tempting. If it were me and I were in your position and wanted to avoid Rails I&#x27;d pick Java&#x2F;JVM for its speed, ecosystem and its fit in to fintech. But that&#x27;s me. Or just use Rails and rewrite it in the new shiny if and when performance becomes a problem.
评论 #11553381 未加载
sheepmulletabout 9 years ago
Why not Java? It&#x27;s more powerful, mostly faster, has superb tooling, high quality libraries for just about everything, tons of very experienced developers, etc.
评论 #11553433 未加载
评论 #11553603 未加载
iamd3vilabout 9 years ago
I work in a FinTech startup and most of our components are written in Elixir and are in production. We are very happy with it. So I would say atleast consider Elixir and Phoenix. It&#x27;s as performant as Golang, it&#x27;s even better in some cases and it&#x27;s a better language than Golang imo.
kasey_junkabout 9 years ago
A caveat to start with, I am <i></i>not<i></i> a front-end guy (though i program golang backend infrastructure all day&#x2F;every day)...but I think the question of whether golang is mature enough for fintech and if golang is a good choice as an early language for you are orthogonal.<p>In the domains that golang excels in, it is much more mature than its age. Things like security, memory use, serving network daemons etc. it is great. I would be happy to advocate for it in environments that require a &quot;mature&quot; stack.<p>But if what you want to do, is rapidly take data from a user and put it into a database, over the internet, I&#x27;d say it is a pretty bad choice. Especially if you already have rails experience. Rails is purpose built for that use case and it is (from what i hear) good at it.
fiedziaabout 9 years ago
Rust&#x2F;django user here, but ... its 2016, micoservices has been invented long time ago, so use best tool for the job. As for other things: SSL can be terminated by AWS&#x2F;nginx&#x2F;whatever, so no need to worry about that. Every ORM I&#x27;ve worked with, regardless of the language, makes injections thing of the past, for non-db things few type definitions solve the problem too (rust has advantage here due to sane type system). CSRF can be solved by middleware + few hooks in right places, not a big deal. Yes, you will need occasionally dig into golang libs and frameworks to add a feature that existed in rails, so really this comes to balance between long-term performance gains and short-term convenience. With really large space between those two.
shadelessabout 9 years ago
I&#x27;d strongly recommend that you at least consider using Elixir [0] instead. Especially since you&#x27;re coming from Ruby&#x2F;Rails and you&#x27;re looking at the frameworks, Phoenix [1] will get you 80% there.<p>Instead of me listing all the nice things about Elixir which you can read about online, feel free to send me an email with any questions regarding usage in production. I&#x27;ve been using it for some time and I&#x27;m very happy with it.<p>[0] <a href="http:&#x2F;&#x2F;elixir-lang.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;elixir-lang.org&#x2F;</a><p>[1] <a href="http:&#x2F;&#x2F;www.phoenixframework.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.phoenixframework.org&#x2F;</a>
评论 #11547356 未加载
spotmanabout 9 years ago
If you are relying only on a framework for things like CRSF protection and do not understand how to avoid these pitfalls on a fundamental level then you have bigger problems.<p>Having said that I think I would choose your solution based on your teams skills. If they are comfortable with golang there is no reason it could not be made to work.<p>But as long as you understand how the table is set and the trade offs I don&#x27;t think it matters. Golang is going to have less batteries included but it has other advantages too. If it&#x27;s worth it is really a question of speed of code execution vs speed of writing code.
评论 #11546201 未加载