Skip to content

Fundamentals

FullstackCodingGuy edited this page Jan 9, 2024 · 21 revisions

API - Application Programming Interface

  • Securing API

Types of databases

There are various types of databases available. SQL, NoSQL, Timeseries, Engineering database, Key-Vaue, In-Memory, GeoSpatial etc. To be updated.

Ways of persisting data in sql and non-sql based databases

Indexing matters

Cloud Databases

image


Secure Coding

Authentication

Password, Session, Cookie, Token, JWT, SSO, OAuth

Authorization


Asynchronous Programming

Message Queue


Performance

Caching


Deployment

image

  • Canary Deployments In software engineering, canary deployment is the practice of making staged releases. We roll out a software update to a small part of the users first, so they may test it and provide feedback. Once the change is accepted, the update is rolled out to the rest of the users.

Benefits of Canary Deployments Why go to the trouble of implementing a canary strategy? The benefits are many:

A/B testing: we can use the canary to do A/B testing. In other words, we present two alternatives to the users and see which gets better reception.

Capacity test: it’s impossible to test the capacity of a large production environment. With canary deployments, capacity tests are built-in. Any performance issues we have in our system will begin to crop up as we slowly migrate the users to the canary.

Feedback: we get invaluable input from real users.

No cold-starts: new systems can take a while to start up. Canary deployments slowly build up momentum to prevent cold-start slowness.

No downtime: like blue-green deployments, a canary deployment doesn’t generate downtime.

Easy rollback: if something goes wrong, we can easily roll back to the previous version.

Docker

Kubernetes / k8s

References

https://semaphoreci.com/blog/what-is-canary-deployment

Clone this wiki locally