Checking for event overlap
-
I’ve got a use scenario that I’m sure can’t be unique, but I can’t find any info on it. Essentially, I’ve got a bunch of providers and a bunch of consumers, each with their own availability times (e.g. M-F 8am to 6pm), and I need to check one against the other without causing my database to explode and catch on fire.
Some factors to reduce the complexity: consumers need to search providers, providers never need to search consumers. Availability only needs to be calculated 3-6 months into the future.
My thought was to have provider availability be a custom event type, but with 200 providers and 3 months availability, that’s over 18 thousand events in the database. Which sounds to me like enough to seriously impact performance, but I’m not sure.
Has anyone encountered a use case like this? Is there a better solution or approach? Any ideas?
- The topic ‘Checking for event overlap’ is closed to new replies.