Find Jobs
Hire Freelancers

Resolve Session Persistence Issue in Node.js App with Redis Implementation for PM2 Cluster Mode

$30-250 USD

Completed
Posted 4 months ago

$30-250 USD

Paid on delivery
I am looking for a skilled Node.js developer to resolve a session persistence issue in a Node.js app with Redis implementation for PM2 cluster mode. The current issue is that sessions are not being maintained between server restarts and not being shared across multiple instances in PM2 cluster mode. Additionally, sessions are not being stored in Redis properly. Requirements: - Strong experience with Node.js and Redis implementation - Familiarity with PM2 cluster mode - Expertise in troubleshooting and resolving session persistence issues The ideal candidate should have experience in resolving similar session persistence issues and be able to provide potential solutions. The project timeframe is flexible as long as the issue is resolved accurately. The logs indicate a few key things: * The user/signin endpoint is called, and the sign-in process completes successfully. The user is authenticated, an access token is received and updated in the database, and the session is established as the log shows "User session established". * However, immediately following the successful sign-in, when the /payments/approve endpoint is called, it logs "Authorization failed: No user in session". This points to a failure in persisting the user's session between the sign-in and payment approval requests. Since the application is run using PM2 in cluster mode, as evident by the logs that show multiple instances starting up (App [demoapp-backend:X] online), it's likely that each instance of my application runs in a separate process. In a multi-process environment like this, you cannot rely on the default in-memory session store because each process has its own memory, and sessions are not shared across them. This means that even if the user signs in on one process and has their session established, subsequent requests could be routed to a different process where their session does not exist, resulting in the "No user in session" error. To fix this issue, you need to implement a session store that is shared across all processes. Redis is a common choice for this purpose as illustrated in previous responses. Here is what you need to do: * Set up a Redis instance that your Node.js application can access. * Install connect-redis and redis packages in your Node.js application. * Configure express-session to use the Redis store.
Project ID: 37605780

About the project

31 proposals
Remote project
Active 4 mos ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
$0 USD in 7 days
5.0 (2 reviews)
3.6
3.6
31 freelancers are bidding on average $159 USD for this job
User Avatar
I understand that you are looking for a skilled Node.js developer to resolve a session persistence issue in a Node.js app with Redis implementation for PM2 cluster mode. My professional expertise enables me to provide the necessary solutions to resolve this issue accurately within the project timeframe. I have extensive experience in both frontend and backend development, which makes me ideally suited for this job. My deep knowledge ofExpress JS, MongoDB, Node.js makes me an ideal choice for this project because I understand how important it is to have sessions Persistent between server restarts and shared across multiple instances in PM2 cluster mode. Additionally, my support even after the complete project ensures good relation with every client. I would be delighted if you could consider me for this project. Please feel free to contact me if you have any questions or would like more information about my services.
$101 USD in 7 days
5.0 (17 reviews)
4.9
4.9
User Avatar
⭐ Hi, My availability is immediate. I read your project post on React / Node.js Developer to resolve a session persistence issue in a Node.js app with Redis implementation for PM2 cluster mode. We have extensive knowledge in MERN Stack (MongoDB/MySQL, Express JS, React, and NodeJS), as well as RESTful API integration. We are an experienced team of full-stack developers having skill sets in - React, JavaScript, jQuery, TypeScript, NextJS - NodeJS, ExpressJS - MongoDB, MySQL, PostgreSQL, SQLServer, SQLite - Redux, Thunk, GIT - JavaScript, HTML, CSS, Tailwind CSS - AWS, Server Hosting Please send a message So we can quickly discuss your project and proceed further. I am looking forward to hearing from you. Thanks
$192 USD in 2 days
5.0 (12 reviews)
4.7
4.7
User Avatar
Hello! I'm Vikas, a senior software engineer with four years of experience in the IT field. I specialize in back-end development, cross-platform app development, desktop application development, web scraping, app scraping, and cloud computing. I understand from your project description that you're looking for a skilled Node.js developer to resolve a session persistence issue in a Node.js app with Redis implementation for PM2 cluster mode. Based on your requirements, I believe I am the perfect fit for this project. My expertise in Node.js and Redis implementation make it easy for me to understand the problem and provide potential solutions. Additionally, my extensive experience with session persistence issues makes me an ideal candidate for this job. I am confident that my skillset and experience make me the best fit for this project. If you give me the chance to work on this project, I guarantee that it will be resolved accurately and quickly. Please feel free to contact me if you have any questions or would like more details about my qualifications or approach to this project
$300 USD in 7 days
4.8 (8 reviews)
4.6
4.6
User Avatar
Hello, my name is Pllavi and I'm a full-time web and mobile app developer working as a freelancer. I have experience in resolving session persistence issues in Node.js applications with Redis implementation for PM2 cluster mode. I understand that you are looking for a skilled Node.js developer to resolve a session persistence issue in a Node.js app with Redis implementation for PM2 cluster mode. The current issue is that sessions are not being maintained between server restarts and not being shared across multiple instances in PM2 cluster mode. Additionally, sessions are not being stored in Redis properly. I believe that I am the perfect fit for this project because of my strong experience in Node.js and Redis implementation as well as troubleshooting and resolving session persistence issues. This makes me an ideal candidate for this job as I can provide potential solutions to resolve the issue quickly without compromising accuracy. My services include e-Commerce websites responsive template landing page WordPress website real-estate websites corporate websites SEO Service Mobile Apps .Net PHP vue js .Net c# Ionic If you feel that this is an interesting project or have any other questions please don't hesitate to reach out to
$140 USD in 7 days
4.9 (6 reviews)
4.0
4.0
User Avatar
Hello there! My name is Pritesh and I'm a skilled full stack developer with 6+ years of experience in web and software development. When you reached out to me about resolving session persistence issues in a Node.js app with Redis implementation for PM2 cluster mode, I quickly understood the project requirements and felt confident that I could provide the best solution. I have extensive knowledge of Node.js and Redis implementation which makes me an ideal candidate for this project. Additionally, I have experience in troubleshooting and resolving session persistence issues which will be necessary to resolve the issue with your app. I would love to help you resolve this issue! Please let me know if you'd like me to provide more details or answer any other questions related to my skills or the project. Thank you again for your consideration!
$100 USD in 7 days
4.9 (13 reviews)
3.8
3.8
User Avatar
Hello there! My name is Akhmadjon and I am a skilled Node.js developer with over 7 years of experience in software development. I understand that you are looking for a skilled Node.js developer to resolve a session persistence issue in a Node.js app with Redis implementation for PM2 cluster mode. I believe I am the ideal candidate for this project due to my strong experience in Node.js and Redis implementation as well as troubleshooting and resolving session persistence issues. Specifically, I have expertise in resolving similar session persistence issues that could be an obstacle in your project timeframe. Additionally, I provide accurate solutions so that the issue can be resolved accurately within the timeframe agreed upon between us. I would love to discuss this project further with you if given the opportunity. Please feel free to reach out to me with any questions or queries you may have regarding my skillset and availability. Best regards, Akhmadjon
$140 USD in 7 days
5.0 (6 reviews)
3.5
3.5
User Avatar
Hello, Greetings of the Day! Yes, I will surely help you, and I am ready to work on this project. I worked on a similar project and will perform the following tasks perfectly. * Can we have a quick chat, so that we can discuss further details and I can show you my previous/recent work? * I have full-time and required skills to carry out your project with high quality on time. My expertise is well-matched with your requirements. I am working on UI/UX design/development, Frontend development, Backend development, Database development, API Integration/Development, CMS/CRM development, E-Commerce development, Server development, Flutter/React native app development, SEO/Digital Marketing Expert, AI/ChatGPT, All payment gateways integration/setup. Let's get in touch via chat, Waiting for your positive response. Rekha Thakur
$250 USD in 7 days
5.0 (2 reviews)
3.6
3.6
User Avatar
Hello, I'm here to solve your Node.js app's session persistence challenges with my expertise in Redis and PM2 cluster mode. What You'll Get: Reliable session maintenance across server restarts. Shared sessions in PM2 cluster mode. Correct Redis implementation for consistent session storage. My Approach: Clear communication, structured progress, and a dedicated contact ensure your project meets expectations. Your Investment Is Safe: Your payments are secure with Freelancer.com's milestone system until you're fully satisfied with our work. Looking forward to discussing your project! Best, Naren
$199 USD in 7 days
5.0 (2 reviews)
3.1
3.1
User Avatar
Hello I have thoroughly reviewed your project description and am confident in my ability to assist you in completing it successfully. I believe it would be highly beneficial to delve deeper into the specifics of the job to determine the most effective way forward. I am open to scheduling an interview at your convenience, and I genuinely appreciate the chance to collaborate with you on this project. Your response is eagerly anticipated, and I'm excited about the prospect of working together. Thank you for considering my proposal. Looking forward to your prompt reply! Best regards Apurva!!
$220 USD in 7 days
3.3 (5 reviews)
4.1
4.1
User Avatar
Hello, I am an expert in system administrator and full stack development and I currently am the SysAdmin for more than 15 AWS accounts of various business along with several other on-prem servers. I am also a backend developer for various business and I am very much familiar with Redis and NodeJS. I can help you integrate Redis as a session store for your backend and I can get this done in under 24 hours. Please contact me on chat to discuss further details. Thanking you, Navaneeth Krishna K.
$30 USD in 1 day
5.0 (2 reviews)
2.9
2.9
User Avatar
I'm Ramgopal from MP, India and I'm here to offer your help with your project. As a strong Node.js and Redis implementation expert with experience in session persistence issues, I am confident that I can provide the best solution for your project. Specifically, I would recommend setting up a Redis instance that your application can access so that sessions can be maintained between server restarts without issue. Additionally, I can ensure that sessions are being stored properly so that they can be shared across multiple instances in your PM2 cluster mode without issue. My skillset includes the ability to resolve session persistence issues like the one you're looking to resolve and provide potential solutions for them as necessary. This is especially important in this case since sessions are not being maintained between sign-in and payment approval requests on subsequent visits. With my expertise in troubleshooting and resolving issues like this, we are confident that we can deliver an accurate resolution within the timeframe required for the task to be completed correctly.
$140 USD in 7 days
5.0 (1 review)
2.5
2.5
User Avatar
Dear Jesse R., I prefer United States clients. This project seems a piece of cake for me. I finished exactly the same work a month ago. I have deep experience on Node.js, Express JS, Redis, MongoDB, Docker Compose Please come over chat and discuss your requirement in a detailed way. Regards
$100 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, my name is Muhammad Ayyaz and I am a professional web developer with 7+ years of experience. I understand your project title - Resolve Session Persistence Issue in Node.js App with Redis Implementation for PM2 Cluster Mode - and how important it is to have a skilled Node.js developer to resolve this issue. I have the necessary expertise and experience to tackle this task. I have strong experience in Node.js and Redis implementation which will be useful in resolving this session persistence issue. Also, I have knowledge of PM2 cluster mode which will be required to fix the issue properly.. Additionally, my services include responsive web pages/web site design/development as well as adding/removing features to existing web applications/web sites.. I would love to discuss this project further if given the chance. Please feel free to contact me if you have any questions or would like further information about my services or other related topics.. Thank you for considering me for this position!
$250 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hhi I am experienced in this and I can start right now but i have few doubts and questions lets have a quick chat and get it started waiting for your replyyy ! r!
$140 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello there! I'm a professional with over 10 years of dedicated experience in development and customization. I specialize in Node.js and Redis implementation, which makes me an ideal candidate for your project title. I have strong experience in Node.js and Redis implementation which would be crucial for resolving your session persistence issue in a Node.js app with Redis implementation for PM2 cluster mode. Additionally, I have expertise in troubleshooting and resolving session persistence issues which will be needed for accurate resolution of your issue. The project timeframe is flexible as long as the issue is resolved accurately. I would love to discuss how I can help bring your vision to life. Please feel free to contact me directly if you have any additional questions or would like to discuss further about this project!
$120 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi there, I'm an experienced Node.js developer with a proven track record in resolving session persistence issues. I've successfully tackled similar challenges, and I propose implementing a Redis session store for your app in PM2 cluster mode. This involves setting up a shared Redis instance and configuring express-session accordingly. I'm confident in delivering a seamless solution to ensure consistent user sessions. Regards, Abdul Basit Kreative Solutions
$140 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Dear Client, This is Aleksandrs from Latvia, senior software developer. Since I have worked on similar projects and I've good experience in Node.js and Redis. I believe that I'm the perfect person who can finish the project completely. Looking forward to chatting with you soon. Thanks and regards, Aleksandrs
$200 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello there! I'm Rao Muhammad, a skilled Node.js developer with extensive experience in the field. I understand from your description that you're looking for someone to resolve a session persistence issue in your Node.js app with Redis implementation for PM2 cluster mode. I believe I am the best fit for this project due to my expertise in Node.js and Redis implementation as well as troubleshooting and resolving session persistence issues. My track record speaks for itself - numerous past clients have been pleased with the quality of work I've delivered on their projects and have repeatedly chosen me for their needs. If you give me the chance to work on this project, you can rest assured that you will not be disappointed - I guarantee results within the timeframe prescribed by the project requirements without compromising on accuracy or quality. I look forward to hearing from you soon!
$30 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I am Muhammad, a experienced Node.js developer with strong experience in Redis implementation and troubleshooting session persistence issues. I understand from your description that you are looking for a skilled Node.js developer to resolve a session persistence issue in your Node.js app with Redis implementation for PM2 cluster mode. I believe I am the ideal candidate for this project because of my extensive experience in resolving similar session persistence issues as well as my expertise in troubleshooting and resolving session persistence issues. My portfolio showcases a diverse range of standout projects which demonstrate my commitment to excellence. I would be more than happy to discuss this project further if given the opportunity. Please feel free to contact me if there is anything else you would like to know or clarify regarding my skills or qualifications.
$140 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I specialize in Node.js and Redis implementations, particularly in PM2 cluster environments. Your session persistence issue is a common challenge in clustered applications, and I have successfully resolved similar problems. My approach includes: Setting up a shared Redis instance for session storage. Configuring express-session to utilize Redis in a PM2 clustered setup. Troubleshooting to ensure seamless session persistence across server restarts and multiple instances. I'm ready to deliver an accurate solution within a flexible timeframe. Best,
$50 USD in 7 days
0.0 (1 review)
0.0
0.0

About the client

Flag of UNITED STATES
Tacoma, United States
5.0
2
Payment method verified
Member since Dec 25, 2023

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.