TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: A SaaS that pulls from various sources with multiple concurrent tenants.

1 pointsby tajddinover 12 years ago
For a personal project, I’m designing a system that pulls information from various sources, including IMAP, twitter and facebook (and others). Ideally, I’d like the user to be notified when the system receives data from any of these sources (thus timeliness is important), but I’d like some input into how best to accomplish this when there are potentially hundreds of concurrent users.<p>To solve part of the problem, I will be creating a separate service on a different AWS instance that connects to each data source and interacts with the DB independently from IIS.<p>Should this be done on an interval (say, every five minutes), looping through each of the users’ accounts and pulling data, or alternatively, should I use a multithreading approach, where each account has an associated polling thread?<p>Keep in mind, the technologies used are: ASP.NET MVC 4, SQL Server.<p>Your insight is much appreciated.

1 comment

shyn3over 12 years ago
I would start out with a high interval then slowly decrease for each individual user based on the number of times they post on each service.<p>You wouldn't want to go to my twitter page 20 times an hour when I only post once in a month. It might make more sense to check every 30mins to 1hr.
评论 #4667266 未加载