From 0ce42b89215dc04fe3887c3f93ca0f6fa51454a2 Mon Sep 17 00:00:00 2001 From: Chakravarthy7102 Date: Wed, 20 Sep 2023 12:47:25 +0530 Subject: [PATCH] init supertokens vs express-session --- .../index.md | 17 +++++++++++++++++ src/blog-details.js | 12 ------------ 2 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 content/express-session-vs-supertokens-for-handling-user-sessions/index.md diff --git a/content/express-session-vs-supertokens-for-handling-user-sessions/index.md b/content/express-session-vs-supertokens-for-handling-user-sessions/index.md new file mode 100644 index 00000000..f3dade4a --- /dev/null +++ b/content/express-session-vs-supertokens-for-handling-user-sessions/index.md @@ -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. \ No newline at end of file diff --git a/src/blog-details.js b/src/blog-details.js index f860384f..1521ecce 100644 --- a/src/blog-details.js +++ b/src/blog-details.js @@ -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",