Implement Recurring Meetings
I am working on a (slightly more than) meeting management app. I want to implement recurring meetings (as in every week, every day, etc). I am not quite sure how to go about it though.
Should I just store a start time, duration, and the interval and simply derive it when I need to? Or should I store a start time, end time, and duration and have some form of scheduled event that actually updates the DB? Maybe something else entirely?
I do also need some other actions to be done after a meeting finishes.
I'd love some suggestions on how to tackle this.
(Am on t3 stack)
29 Replies
create multiple records on the database
Nov 07 | 09:00 - 10:00
Nov 09 | 09:00 - 10:00
Nov 11 | 09:00 - 10:00
as an example
Yeah so essentially the second thing I said, right?
yes
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Mergent
Schedule background jobs & crons with Mergent's powerful APIs. Your first 1,000 tasks/mo are free.
not necessarily sold on this particular service, but it seems to be capable of doing everything I need it to do
Sounds like the use case for a custom cron job + job queue, take a look at quirrelJS: https://quirrel.dev/
Job Queueing for Serverless
Quirrel makes job queues simple as cake. Set up in 5 minutes - even works locally!
Quirell needs to be self hosted, if this is not desired use a service like aws sqs or mergent
On Aws a docker image on ec2 is all you need to get started, the local dx is also great. You have a custom panel where you can easily inspect pending jobs and cron events and manually fire them to test in development
Thanks for the suggestion I'll look into it
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I've come to the essential problem of programming where I don't entirely know what to call each instance of a meeting
Naming shit is so hard
For production usage i would recommend to add a job queue as a middle man, to ensure alls jobs are completed (error fallback, retries)
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
No like what is it
Thats why i like QuirellJS. Combines these 2 things neatly.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Like what I do call the concept of the instance of a meeting
And reliablity. In case you send emails to upcoming events you want to make sure these are actually sent out, even when your server has crashed or is updating or whatever else could happen in prod
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
are you trying to make something 100% proprietary like is it a requirement? why not use something like zoom that has recurring meetings built in and get info from zoom's api?
i was playing around with a similar concept earlier this year and got pretty far doing that
was just testing it out cuz my boss wants to build something like that with recurring meetings later
It's more for managing the participants at an event/meeting
ah ok maybe i misunderstood meetings with actual calls with people and not just plain meetings as like a scheduling thing only
And keeping your sanity when debugging issues
Wait sorry, I'm a bit confused here, are they saying it can be deployed to vercel?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
The project is open source. The team was hired by vercel to build a similar service for them. Hope to see it soon
It does need to be deployed on a server though, yeah?
Yes. They created a hosted service to monetize it in a fair way. But since they apparently are no longer interested in the business aspect of it that they are shutting it off. The project can still easily be used via docker and is a breeze to work with. I can highly recommend it.
Gotcha