Skip to content

Instantly share code, notes, and snippets.

View nomad1072's full-sized avatar
🎯
Focusing

Siddharth Lanka nomad1072

🎯
Focusing
View GitHub Profile
@soulmachine
soulmachine / jwt-expiration.md
Last active June 21, 2024 14:09
How to deal with JWT expiration?

First of all, please note that token expiration and revoking are two different things.

  1. Expiration only happens for web apps, not for native mobile apps, because native apps never expire.
  2. Revoking only happens when (1) uses click the logout button on the website or native Apps;(2) users reset their passwords; (3) users revoke their tokens explicitly in the administration panel.

1. How to hadle JWT expiration

A JWT token that never expires is dangerous if the token is stolen then someone can always access the user's data.

Quoted from JWT RFC:

@aviflax
aviflax / Evaluating Druid for our Data Warehouse.md
Last active April 9, 2019 11:33
Evaluating Druid for our Data Warehouse

Evaluating Druid for our Data Warehouse

Druid

Imply

Prominent People

  • Fangjin Yang is one of the creators of Druid and CEO of Imply
@parmentf
parmentf / GitCommitEmoji.md
Last active July 26, 2024 15:56
Git Commit message Emoji
@aviflax
aviflax / 1 - Resources for Learning Stream Data Processing.md
Last active July 3, 2024 18:00
Resources for Learning Stream Data Processing

Introduction

This gist started with a collection of resources I was maintaining on stream data processing — also known as distributed logs, data pipelines, event sourcing, CQRS, and other names.

Over time the set of resources grew quite large and I received some interest in a more guided, opinionated path for learning about stream data processing. So I added the reading list.

Please send me feedback!