Skip to content

Commit

Permalink
init supertokens vs express-session
Browse files Browse the repository at this point in the history
  • Loading branch information
Chakravarthy7102 committed Sep 20, 2023
1 parent d1ee72d commit 0ce42b8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Express-session vs SuperTokens for handling user sessions
date: "2020-06-11"
description: "This article will be comparing SuperTokens to Node’s most popular session management library– express-session. Learn more about the comparison based on different security and performance metrics."
cover: "express-session-vs-supertokens-for-handling-user-sessions.png"
category: "sessions"
author: "Advait Ruia"
---

This article will be comparing SuperTokens to Node’s most popular [session management](https://www.packetlabs.net/posts/session-management/) library – express-session. The comparison will be done using a point system, where a point will be awarded to a library’s score if it performs well in a given metric. Here are the metrics we will be using:

- Security: This is especially relevant because we’re talking about user session management.
- Scalability: Time and space costs. This is relevant because most API calls require session authentication.
- Reliability and Correctness: It is imperative that the library takes care of technical issues like keeping its state consistent despite network or server failures and taking care of synchronising its logic in a clustered environment.
- App User experience: We want to use a library that can provide the right experience for your app users – for example, does the library enable a user to be logged in for weeks or months whilst also providing good security?
- Time to production: We will look at factors such as time to integrate the library into an app, available support, and ease of understanding of the library code.
- Maintenance cost: We will assess costs for runtime (RAM and processing power) and internal and external monetary costs.
12 changes: 0 additions & 12 deletions src/blog-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,6 @@ module.exports = [
cover: "conference-detecting-session-hijacking.png"
}
},
{
fields: {
slug: "/express-session-vs-supertokens-for-handling-user-sessions",
},
frontmatter: {
title: "Express-session vs SuperTokens for handling user sessions",
description: "This article will be comparing SuperTokens to Node’s most popular session management library– express-session. Learn more about the comparison based on different security and performance metrics.",
category: "sessions",
date: "June 11, 2020",
cover: "express-session-vs-supertokens-for-handling-user-sessions.png"
}
},
{
fields: {
slug: "/should-you-use-express-session-for-your-production-app",
Expand Down

0 comments on commit 0ce42b8

Please sign in to comment.