It's quite efficient to have a lot of goroutines. That's how I update the 
feeds in my aggregator. Though your network interface might not like it if 
you try to initiate thousands of connections at the same time.

On Friday, November 4, 2016 at 11:14:24 PM UTC+2, Marwan abdel moneim wrote:
>
> i am building a web site that includes a rss aggregator  
> now, the idea i have is making a goroutine for every rss feed that should 
> learn by time when to update the feed  
> these goroutines sleeps for a while then send job to some channel then go 
> to sleep again
>
> so there could be a thousands of goroutines sleeps at the same time, is 
> this efficient? or it would have a huge impact on performance?
>
> is this a bad way for implementing rss aggregator?
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to