troubleshooting Question

Spawning a new class instance in a new Process

Avatar of docstar
docstar asked on
.NET ProgrammingC#
3 Comments1 Solution510 ViewsLast Modified:
I have a spidering program that indexes data from a database server.
This spider is made up of the following components:
Colony - Windows Service
Spider - Individual Indexer limited to a specific company.

The Colony is aware of all of its Spiders, the spiders are only aware of the company they are indexing.

I would like the Colony to spawn Spiders in separate processes for the following reasons:
- Crash safety: if one spider crashes it should not take down the whole colony of spiders.
- Threading: Each spider should have access to its own thread pool (and not have to share with others), the main reason behind this is that I do not want one company to be able block other spiders from spawning threads to do there indexing.

I did consider AppDomain however I am unclear if running each spider instance in its own AppDomain would satisfy threading point above.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros