Tag: Json
-
API design: Why you should use links, not keys, to represent relationships in APIs
Posted on May 17, 2019, Level intermediate Resource Length long
An article by Martin Nally from Google about how expressing relationships is very important in APIs. The most common way that API developers express relationships is to expose database keys, or proxies for them, in the fields of the entities they expose.
Tags apis web-development google code-refactoring json restful
-
Parsing logs 230x faster with Rust
Posted on November 10, 2018, Level intermediate Resource Length medium
Andre Arko blog post about dealing with logs for very busy web application behind RubyGems.org. A single day of request logs was usually around 500 gigabytes on disk. They tried few hosted logging products, but at their volume they can typically only offer a retention measured in hours. The only thing they could think of to do with the full log firehose was to run it through gzip -9 and then drop it in AWS S3.
Tags json software programming serverless streaming
-
REST API design -- resource modeling
Posted on August 26, 2018, Level intermediate Resource Length medium
In this older article by Prakash Subramaniam from ThoughtWorks looks at the REST API design best practices. The key abstraction of information in REST is a resource. A resource is a conceptual mapping to a set of entities, not the entity that corresponds to the mapping at any particular point in time.
Tags restful apis web-development json
-
7 Best Practices for JSON Web Tokens
Posted on May 28, 2017, Level intermediate Resource Length medium
Neil Madden has written about best practices for JSON Web Tokens (JWTs, pronounced "jots").
Tags json infosec web-development