Tech at N26 — The Bank in the cloud
If you are in Europe, chances are that you have heard of N26. It’s a #NoBullshit bank that gives you complete control over your finances from your smartphone.
5 min read
If you are in Europe, chances are that you have heard of N26. It’s a #NoBullshit bank that gives you complete control over your finances from your smartphone. It’s one of the most successful startups of Europe and it is what a bank of 2018 should be.Also, it is a bank that is completely hosted in the cloud!I joined N26 sometime back as a developer in the core backend team. I had done microservices, cloud, CI/CD, containerisation etc before, but I imagined that a bank would be more “traditional” — I am glad my assumptions were wrong. Since then I have been amazed by the sheer brilliance of the tech architecture and technologies that work together to make it all possible. Here are a few technologies that are extensively used in N26.Bonus points if you recognise most of theseI think it is worth sharing our experiences, learning and how we do things. So this post is a mix between what I have learnt here in short time.In the beginning, there was a Monolith (and rumours are, there still is!). As we started growing, we quickly realised that we need to have services that can scale independently. Taking from Conway’s law, it became essential to have cross-functional teams that are centred around features. As the understanding of the domain matured, we started slicing up the monolith into smaller logical services.Currently, there are about 15 cross-functional teams that are responsible for 60+ micro-services. These teams are structured around business sub-domains and functionality and are responsible for managing corresponding services. This gives us more freedom to choose the right tools and helps us focus on how we want to build a particular service. This also lets teams experiment with new ideas quickly and iteratively.Coming to tech — for a bank, we do things differently. Here are the things we are proud of:CI/CD pipeline: As soon as the code is pushed to a branch of the repository, the CI server gets kicked in and runs automated tests and reports the build status. Every merge to master triggers the CD pipeline. Here, is how a typical pipeline looks like with different stages.Once all the tests pass and there are no security flaws (and we have the necessary business approvals), then the application is deployed to different environments in blue/green deployment manner.There are about 900 builds and 100+ live deployments every week.Infrastructure as code: The N26 Core Teams (Security, SRE and TechOps) live by the discipline that the infrastructure provisioning should be automated. We are big fans of Hashicorp and use:Containerisation and Autoscaling services: The services are build as Docker containers. This ensures consistency across environments. The configuration is injected dynamically and the load balancers are configured to autoscale service instances up and down based on the load.All services are designed in a way that they can be brought up or killed anytime. Our servers are Cattle and not pets . Containerisation also eases development and local testing. Setting up a dev machine identical to other environments is usually a matter of minutes.Monitoring and logging: When you have a distributed system, you need to have an eye on everything happening in the system.
- Having dashboards that capture metrics of user actions, inbound and outbound http traffic, requests, users, response status, times and everything else becomes essential. Our monitoring and analytics system gives us an eye into the running system and helps us pin point anomalies, threshold latencies and determine SLAs.
- Centralised logging through —The services send their logs to Logstash, which then pumps them into a massive cluster of Elastic which is then read from Kibana.
Want to join N26?
Apply here!Find similar stories
BY RAJ SAXENALove your bank
Related Post
These might also interest youInsideN26
Reflecting on 9 years at N26
N26 Chief Growth Officer reflects on his 9-year journey at Europe’s leading digital bank
10 min read
InsideN26
Employer Branding Associate Bel Merens on uni, travel, and living your dreams
Team spotlight: Bel shares how she made her dream—moving to Europe to work for a popular FinTech—a reality.
9 min read
InsideN26
Team spotlight: Daria Milashenko, Executive Assistant to the CBO
When Daria Milashenko, Executive Assistant to the CBO at N26, visited Berlin at 15, it was love at first sight.
9 min read