gRPC vs Apache Thrift: A Comparison

A comparison of gRPC and Apache Thrift, two popular RPC frameworks.

August 12, 2024 · 6 min · 1208 words · Bá Tới

Comparing authentication methods in API with Ruby on Rails - Part 2

Part 2: comparing Rails API authentication methods on security, scalability, and complexity, how JWT stacks up, and opaque vs reference tokens.

May 7, 2024 · 6 min · 1121 words · Bá Tới

Comparing authentication methods in API with Ruby on Rails - Part 1

Part 1: how the common API authentication methods work in Ruby on Rails — Basic, OAuth, token-based, JWT, session, and API key authentication.

May 6, 2024 · 16 min · 3262 words · Bá Tới

Designing a RESTful API: Key Factors, Best Practices, and Strategies

Designing a RESTful API requires careful consideration of key factors such as resource-oriented design, uniform interface, stateless communication, and client-server architecture. Learn about best practices for authentication, authorization, pagination, and data consistency in RESTful APIs.

May 2, 2024 · 6 min · 1103 words · Bá Tới

Gem OJ - Enhance API Performance in Ruby on Rails

Learn how to optimize your API responses in Ruby using the OJ gem. OJ provides fast JSON serialization and deserialization, making it an excellent choice for improving the performance of your Ruby applications.

May 1, 2024 · 4 min · 664 words · Bá Tới

API and JWT in Ruby on Rails

In this tutorial, we explore the implementation of an API with JWT authentication in Ruby on Rails. We cover the setup of the Rails application, the creation of API endpoints, and the integration of JWT for secure user authentication.

April 27, 2024 · 9 min · 1908 words · Bá Tới