

Which brings us to… Why Serverless?ĭuring another round of analysis, we realized our use case was perfect for a serverless approach. In fact, we didn’t want to go serverless without Go. By definition, Go is fast and simple, which is also how you would define a lambda. The next technology we wanted to explore was serverless. One of the more satisfying surprises was that mixing in business logic with a simple language like Go meant it was very easy to jump into this role and not be a bottleneck for releases. So I had to get deeper into Go to not only understand the code, but the business logic as well.
#Davmail with mailspring code
In my role as Tech Lead I am the last one to approve when a piece of code will be merged and ready for release. The whole process of rewriting the Credit Offers API in Go was much simpler than expected. It was the flexibility, how easy it was to use, and the really cool concept behind Go (how Go handles native concurrency, garbage collection, and of course safety+speed.) that helped engage us during the build. These results were clear so we decided to use it for this new endpoint.Īt the time, no single team member knew Go, but within a month, everyone was writing in Go and we were building out the endpoints. Go was starting to gain really huge, impressive momentum at Capital One and based on a POC that my team put together, we saw a huge performance improvement vs Java.

In mid 2016 we added an additional endpoint to the API that would acknowledge that an offer had been displayed to a customer. These are two really cool technologies and combined they’re a fast and powerful way to expose and showcase our credit card products.
#Davmail with mailspring full
The current version of the API, version 3.0, has been rebuilt so it is full serverless and written in Go. When version 1.0 was built in 2015, Credit Offers was built in Java. It also has a nice pre-fill feature that gives a complete, pre-filled application to make applying for a Capital One credit card a smooth experience. It has a pre-qualification feature where card offerings can be personalized, matching a customer to the right cards for them (Without affecting their credit score!). How does it work? The Credit Offers API exposes a full list of Capital One credit card offers that our affiliate partners can display to their customers, along with details such as rewards information and product reviews. We also like to think it shows off our cutting edge use of technology. We like to think that it helps people make smarter credit card choices. For our affiliate partners, this is done through the Credit Offers API. Affiliate partners like Credit Sesame,, and Bankrate have a special partnership with Capital One where they display available credit card options and guide potential customers to the credit cards that are right for them. One important way a potential Capital One customer can engage with us is through our affiliate channel.

As a tech-driven financial company, one of our biggest goals at Capital One is to use technology to easily, quickly, and directly engage with our customers.
