我有一个市场网站,包括学生住房清单。 我想请我的用户做一个特别的查询,然后能够“登记”,也就是说,如果新房的列名与具体询问相匹配,他们就会收到电子邮件。
怎样才能做这样的事情? 到目前为止,我知道两种选择:
Checking for matched subscriptions when the listing is posted - wouldn t this significantly increase processing time for the user posting the listing if there are thousands of matched subscriptions and it has send thousands of emails?
Using a CRON job to check all subscriptions against matched listings - I m guessing this is slightly more tricky
你会提出什么办法? 我赞赏一些指导/投入。