When is it necessary to upgrade my notification system without Redis or Celery?

0
17
Asked By TechieTurtle404 On

I'm relatively new to web development and have recently completed a custom notification system. I've seen Redis and Celery suggested for managing notifications, but I'm not familiar with them and I'm concerned about the learning curve involved. My current setup includes a React frontend and a Django/Postgres backend. The notifications are meant to alert admins about specific user actions based on their configurations without needing real-time updates. I expect a very low volume of notifications—around 100 or so annually—so I'm curious about how far I can go with my current implementation before running into limitations that would necessitate switching to Redis and Celery.

5 Answers

Answered By FrontEndGuru99 On

You’re on the right track! A few hundred notifications a year doesn’t warrant a complex setup. Tools like Redis and Celery are useful when you're struggling with performance or excessive loads, not for what you have planned. Keep it simple until you really need to scale.

Answered By InnovativeDev88 On

Honestly, based on your expected volume, a regular database and simple polling should be more than sufficient. Redis is great for performance, but since you're only triggering a few notifications, keeping it straightforward is the way to go for you right now. You can always explore using Redis later if your needs change.

Answered By SimpleSolutions24 On

For your current volume, you're definitely fine without Redis or Celery. A basic database query will handle your needs easily. These tools come in handy when systems are facing scaling issues, not at the start when everything is manageable.

Answered By CodeCrafter21 On

From what you described, it sounds like your current setup is fine for your needs. Redis and Celery are primarily beneficial when you're dealing with a larger number of users wanting real-time notifications. Since you don’t require immediate updates for your admins, you can stick with what you've built for now. Just watch for any changes in your traffic or requirements, and you can adapt later if needed.

Answered By NotificationNinja22 On

Totally agree with the others! You really don’t need to complicate things yet. Focus on making your existing system smoother and simpler first, and consider refactoring if and when the need actually arises.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.