api

22 posts
api

Design patterns in API gateways and microservices

Some of the most common cross-cutting concerns in applications include authentication, authorization, sessions, cookies, cache, logging and dependencies on other services.…

api

The two most important challenges with an API gateway when adopting Kubernetes

Encourage a diversity of implementations for consolidated tooling that supports architectural flexibility. However, take advantage of a consolidated underlying platform and offer a ‘buffet’ of implementation options rather than allowing developers to build bespoke ones for better security.…

api

How to safely throttle high traffic APIs

Adopting a scalable language and framework can help spread the traffic across multiple endpoints and systems, spreading the load across a wider structure.…

api

Ways to hack an API and how to defend

Use base-level encryption to allow functionality to operate as expected but obscure relationships between data to defend against reverse engineering. To defend against spoofing you can encrypt all traffic in transit.…

api

API practices if you hate your customers

Practices that make API experience bad for developers.…

api

Common API mistakes and how to avoid them

Be stingy with data you are sending through your APIs. Try to name attributes of objects in your API responses in such a way that they can be forward compatible with any future updates.…

api

Continuous testing of APIs

3 steps for having your APIs tested continuously: Write good test collection. Run tests on schedule and on-demand. Look at analytics & set up smart alerts.…

Issue65

Best design practices to get the most out of your API

Make your API easy to understand and fast to start up. Aim for intuitive consistency with repeating patterns and conventions…

Issue65

4 ways your API specification can fall short and what to do about it

Your spec should clearly state the size constraint for each response developers should keep in mind while coding.…

Issue65

What’s the difference between versioning and revisioning APIs?

Versioning implies that each group of related changes in an API is presented under a specific number, often denoting the type of release. Revisioning implies incremental changes have been made and it prevents version-to-version code breaks,…