Skip to content

Multi-user notification with HouseNotification model #102

@Yukaii

Description

@Yukaii

About the new house crawling mechanism

The house store stores the most recent data. There are two types of cron jobs to perform crawling:

  • Main Job: Crawl the default raw query (including all new houses) every 3 minutes.
  • Subscription Jobs: Extract and create unique subscription queries for each channel, execute them independently, and then send out notifications. The frequency of execution may vary according to the user's plan.

New notification system

Notification is sent per channel. So we need new models for sending notification.

  • Subscription <-- hasMany --> ChannelNotification <-- hasMany --> House
erDiagram
  Subscription ||--o{ ChannelNotification : hasMany
  House ||--o{ ChannelNotification : hasMany
Loading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions