473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

The use of threads in a ASP.NET app.

I am trying to write a basic load balancer (in our web service) solution. The
purpose of this load balancer is to keep an array updated with server status.
We have several servers that can be accessed in order to retrieve information.

From within the “Application_Start” (Global.asax), I create as many threads
as servers we have available. The idea is that each thread will query each
server and update a flag in the public array. When a “true” request comes in,
the system checks for two things:

* Server availability (on-line vs. off-line)
* Server load (based on a value returned by the server every time a thread
sends a new query)

I noticed that the threads may stop working. Sometimes they run for a long
time and sometimes they run for a short period of time. I started reading
some posts related to threading and I found this one “Threading in asp.net
issue - Thread stops” created on 11/12/2004 where “John Saunders” (who is
responding) says that the use of threads in a ASP.NET application is a bad
idea. He said “don't use threads with ASP.NET.”

If this is true, how can I approach this load balancer project? Any ideas
will be greatly appreciated.

Thanks in advance.

Nov 19 '05 #1
11 1430
there is nothing wrong with using threads in asp.net. asp.net will actualy
know nothing of threads you create, they are just standard .net threads.
they will run under the security context of the asp.net worker process. if
they are exiting earky, they are probably erroring out. if you have no error
logging featue in your thread, you need to add it.

note: to allow asp.net to unload its appdomains on recycle events, you
should check for the thread abort request.

-- bruce (sqlwork.com)
"mareal" <m@m.com> wrote in message
news:70**********************************@microsof t.com...
| I am trying to write a basic load balancer (in our web service) solution.
The
| purpose of this load balancer is to keep an array updated with server
status.
| We have several servers that can be accessed in order to retrieve
information.
|
| From within the "Application_Start" (Global.asax), I create as many
threads
| as servers we have available. The idea is that each thread will query each
| server and update a flag in the public array. When a "true" request comes
in,
| the system checks for two things:
|
| * Server availability (on-line vs. off-line)
| * Server load (based on a value returned by the server every time a thread
| sends a new query)
|
| I noticed that the threads may stop working. Sometimes they run for a long
| time and sometimes they run for a short period of time. I started reading
| some posts related to threading and I found this one "Threading in asp.net
| issue - Thread stops" created on 11/12/2004 where "John Saunders" (who is
| responding) says that the use of threads in a ASP.NET application is a bad
| idea. He said "don't use threads with ASP.NET."
|
| If this is true, how can I approach this load balancer project? Any ideas
| will be greatly appreciated.
|
| Thanks in advance.
|
Nov 19 '05 #2
> I noticed that the threads may stop working. Sometimes they run for a long
time and sometimes they run for a short period of time.
Would these threads stopping by any chance coincide with your app stopping?
The app will stop after a period of time with no requests. That would stop
any child threads.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"mareal" <m@m.com> wrote in message
news:70**********************************@microsof t.com...I am trying to write a basic load balancer (in our web service) solution.
The
purpose of this load balancer is to keep an array updated with server
status.
We have several servers that can be accessed in order to retrieve
information.

From within the "Application_Start" (Global.asax), I create as many
threads
as servers we have available. The idea is that each thread will query each
server and update a flag in the public array. When a "true" request comes
in,
the system checks for two things:

* Server availability (on-line vs. off-line)
* Server load (based on a value returned by the server every time a thread
sends a new query)

I noticed that the threads may stop working. Sometimes they run for a long
time and sometimes they run for a short period of time. I started reading
some posts related to threading and I found this one "Threading in asp.net
issue - Thread stops" created on 11/12/2004 where "John Saunders" (who is
responding) says that the use of threads in a ASP.NET application is a bad
idea. He said "don't use threads with ASP.NET."

If this is true, how can I approach this load balancer project? Any ideas
will be greatly appreciated.

Thanks in advance.

Nov 19 '05 #3
Thank you Bruce. Unswering your question, no, I don’t have any logging yet. I
was planning on doing this. You just mentioned something I wanted to ask. You
say that the threads I create are standard .NET threads and that they run
under the security context of the aspnet_wp process. I would like to be able
to monitor the threads I create. Is it enough to just check IsAlive property?

Could you please explain a bit more what you mean by unloading its
appdomains?

"bruce barker" wrote:
there is nothing wrong with using threads in asp.net. asp.net will actualy
know nothing of threads you create, they are just standard .net threads.
they will run under the security context of the asp.net worker process. if
they are exiting earky, they are probably erroring out. if you have no error
logging featue in your thread, you need to add it.

note: to allow asp.net to unload its appdomains on recycle events, you
should check for the thread abort request.

-- bruce (sqlwork.com)
"mareal" <m@m.com> wrote in message
news:70**********************************@microsof t.com...
| I am trying to write a basic load balancer (in our web service) solution.
The
| purpose of this load balancer is to keep an array updated with server
status.
| We have several servers that can be accessed in order to retrieve
information.
|
| From within the "Application_Start" (Global.asax), I create as many
threads
| as servers we have available. The idea is that each thread will query each
| server and update a flag in the public array. When a "true" request comes
in,
| the system checks for two things:
|
| * Server availability (on-line vs. off-line)
| * Server load (based on a value returned by the server every time a thread
| sends a new query)
|
| I noticed that the threads may stop working. Sometimes they run for a long
| time and sometimes they run for a short period of time. I started reading
| some posts related to threading and I found this one "Threading in asp.net
| issue - Thread stops" created on 11/12/2004 where "John Saunders" (who is
| responding) says that the use of threads in a ASP.NET application is a bad
| idea. He said "don't use threads with ASP.NET."
|
| If this is true, how can I approach this load balancer project? Any ideas
| will be greatly appreciated.
|
| Thanks in advance.
|

Nov 19 '05 #4
Thank you Kevin. I was not stopping/closing the app. You say that the app.
will stop after a period of time with no requests (this may be the case,
since I let sit there refreshing itself). Can this be changed or prevented?

"Kevin Spencer" wrote:
I noticed that the threads may stop working. Sometimes they run for a long
time and sometimes they run for a short period of time.


Would these threads stopping by any chance coincide with your app stopping?
The app will stop after a period of time with no requests. That would stop
any child threads.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"mareal" <m@m.com> wrote in message
news:70**********************************@microsof t.com...
I am trying to write a basic load balancer (in our web service) solution.
The
purpose of this load balancer is to keep an array updated with server
status.
We have several servers that can be accessed in order to retrieve
information.

From within the "Application_Start" (Global.asax), I create as many
threads
as servers we have available. The idea is that each thread will query each
server and update a flag in the public array. When a "true" request comes
in,
the system checks for two things:

* Server availability (on-line vs. off-line)
* Server load (based on a value returned by the server every time a thread
sends a new query)

I noticed that the threads may stop working. Sometimes they run for a long
time and sometimes they run for a short period of time. I started reading
some posts related to threading and I found this one "Threading in asp.net
issue - Thread stops" created on 11/12/2004 where "John Saunders" (who is
responding) says that the use of threads in a ASP.NET application is a bad
idea. He said "don't use threads with ASP.NET."

If this is true, how can I approach this load balancer project? Any ideas
will be greatly appreciated.

Thanks in advance.


Nov 19 '05 #5
> Can this be changed or prevented?

Yes, it can. No, it SHOULD not. Instead, you should build your app in such a
way that it recovers when the app restarts.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"mareal" <m@m.com> wrote in message
news:BB**********************************@microsof t.com...
Thank you Kevin. I was not stopping/closing the app. You say that the app.
will stop after a period of time with no requests (this may be the case,
since I let sit there refreshing itself). Can this be changed or
prevented?

"Kevin Spencer" wrote:
> I noticed that the threads may stop working. Sometimes they run for a
> long
> time and sometimes they run for a short period of time.


Would these threads stopping by any chance coincide with your app
stopping?
The app will stop after a period of time with no requests. That would
stop
any child threads.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"mareal" <m@m.com> wrote in message
news:70**********************************@microsof t.com...
>I am trying to write a basic load balancer (in our web service)
>solution.
>The
> purpose of this load balancer is to keep an array updated with server
> status.
> We have several servers that can be accessed in order to retrieve
> information.
>
> From within the "Application_Start" (Global.asax), I create as many
> threads
> as servers we have available. The idea is that each thread will query
> each
> server and update a flag in the public array. When a "true" request
> comes
> in,
> the system checks for two things:
>
> * Server availability (on-line vs. off-line)
> * Server load (based on a value returned by the server every time a
> thread
> sends a new query)
>
> I noticed that the threads may stop working. Sometimes they run for a
> long
> time and sometimes they run for a short period of time. I started
> reading
> some posts related to threading and I found this one "Threading in
> asp.net
> issue - Thread stops" created on 11/12/2004 where "John Saunders" (who
> is
> responding) says that the use of threads in a ASP.NET application is a
> bad
> idea. He said "don't use threads with ASP.NET."
>
> If this is true, how can I approach this load balancer project? Any
> ideas
> will be greatly appreciated.
>
> Thanks in advance.
>


Nov 19 '05 #6
Kevin, since the threads are being created in "Application_Start"
(Global.asax), shouldn't this take care of the re-creation of the threads
when the app. re-starts?

"Kevin Spencer" wrote:
Can this be changed or prevented?


Yes, it can. No, it SHOULD not. Instead, you should build your app in such a
way that it recovers when the app restarts.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"mareal" <m@m.com> wrote in message
news:BB**********************************@microsof t.com...
Thank you Kevin. I was not stopping/closing the app. You say that the app.
will stop after a period of time with no requests (this may be the case,
since I let sit there refreshing itself). Can this be changed or
prevented?

"Kevin Spencer" wrote:
> I noticed that the threads may stop working. Sometimes they run for a
> long
> time and sometimes they run for a short period of time.

Would these threads stopping by any chance coincide with your app
stopping?
The app will stop after a period of time with no requests. That would
stop
any child threads.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"mareal" <m@m.com> wrote in message
news:70**********************************@microsof t.com...
>I am trying to write a basic load balancer (in our web service)
>solution.
>The
> purpose of this load balancer is to keep an array updated with server
> status.
> We have several servers that can be accessed in order to retrieve
> information.
>
> From within the "Application_Start" (Global.asax), I create as many
> threads
> as servers we have available. The idea is that each thread will query
> each
> server and update a flag in the public array. When a "true" request
> comes
> in,
> the system checks for two things:
>
> * Server availability (on-line vs. off-line)
> * Server load (based on a value returned by the server every time a
> thread
> sends a new query)
>
> I noticed that the threads may stop working. Sometimes they run for a
> long
> time and sometimes they run for a short period of time. I started
> reading
> some posts related to threading and I found this one "Threading in
> asp.net
> issue - Thread stops" created on 11/12/2004 where "John Saunders" (who
> is
> responding) says that the use of threads in a ASP.NET application is a
> bad
> idea. He said "don't use threads with ASP.NET."
>
> If this is true, how can I approach this load balancer project? Any
> ideas
> will be greatly appreciated.
>
> Thanks in advance.
>


Nov 19 '05 #7
Yes. If they stop working, they should start back up again when the app
restarts.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"mareal" <m@m.com> wrote in message
news:4A**********************************@microsof t.com...
Kevin, since the threads are being created in "Application_Start"
(Global.asax), shouldn't this take care of the re-creation of the threads
when the app. re-starts?

"Kevin Spencer" wrote:
> Can this be changed or prevented?


Yes, it can. No, it SHOULD not. Instead, you should build your app in
such a
way that it recovers when the app restarts.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"mareal" <m@m.com> wrote in message
news:BB**********************************@microsof t.com...
> Thank you Kevin. I was not stopping/closing the app. You say that the
> app.
> will stop after a period of time with no requests (this may be the
> case,
> since I let sit there refreshing itself). Can this be changed or
> prevented?
>
> "Kevin Spencer" wrote:
>
>> > I noticed that the threads may stop working. Sometimes they run for
>> > a
>> > long
>> > time and sometimes they run for a short period of time.
>>
>> Would these threads stopping by any chance coincide with your app
>> stopping?
>> The app will stop after a period of time with no requests. That would
>> stop
>> any child threads.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> ..Net Developer
>> Neither a follower nor a lender be.
>>
>> "mareal" <m@m.com> wrote in message
>> news:70**********************************@microsof t.com...
>> >I am trying to write a basic load balancer (in our web service)
>> >solution.
>> >The
>> > purpose of this load balancer is to keep an array updated with
>> > server
>> > status.
>> > We have several servers that can be accessed in order to retrieve
>> > information.
>> >
>> > From within the "Application_Start" (Global.asax), I create as many
>> > threads
>> > as servers we have available. The idea is that each thread will
>> > query
>> > each
>> > server and update a flag in the public array. When a "true" request
>> > comes
>> > in,
>> > the system checks for two things:
>> >
>> > * Server availability (on-line vs. off-line)
>> > * Server load (based on a value returned by the server every time a
>> > thread
>> > sends a new query)
>> >
>> > I noticed that the threads may stop working. Sometimes they run for
>> > a
>> > long
>> > time and sometimes they run for a short period of time. I started
>> > reading
>> > some posts related to threading and I found this one "Threading in
>> > asp.net
>> > issue - Thread stops" created on 11/12/2004 where "John Saunders"
>> > (who
>> > is
>> > responding) says that the use of threads in a ASP.NET application is
>> > a
>> > bad
>> > idea. He said "don't use threads with ASP.NET."
>> >
>> > If this is true, how can I approach this load balancer project? Any
>> > ideas
>> > will be greatly appreciated.
>> >
>> > Thanks in advance.
>> >
>>
>>
>>


Nov 19 '05 #8
>the use of threads in a ASP.NET application is a bad
idea. He said "don't use threads with ASP.NET." It is not.

Though I cannot speak for John, I believe he may have been frustrated with
the large number of bad thread tutorials on the web and incorrect usage of
threading with regards to .NET.

Sometimes, I too, question the idea behind making threads so widely
accessible. Threading is inherently difficult to get right the first,
second, third or forth time around and requires deep understanding of
complicated stuff. .NET exposes the threadpool, to help manage some of these
issues and lighten the burden to the developer.

Thread on - even if it kills the server :-)
--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------
"mareal" <m@m.com> wrote in message
news:70**********************************@microsof t.com...I am trying to write a basic load balancer (in our web service) solution.
The
purpose of this load balancer is to keep an array updated with server
status.
We have several servers that can be accessed in order to retrieve
information.

From within the "Application_Start" (Global.asax), I create as many
threads
as servers we have available. The idea is that each thread will query each
server and update a flag in the public array. When a "true" request comes
in,
the system checks for two things:

* Server availability (on-line vs. off-line)
* Server load (based on a value returned by the server every time a thread
sends a new query)

I noticed that the threads may stop working. Sometimes they run for a long
time and sometimes they run for a short period of time. I started reading
some posts related to threading and I found this one "Threading in asp.net
issue - Thread stops" created on 11/12/2004 where "John Saunders" (who is
responding) says that the use of threads in a ASP.NET application is a bad
idea. He said "don't use threads with ASP.NET."

If this is true, how can I approach this load balancer project? Any ideas
will be greatly appreciated.

Thanks in advance.

Nov 19 '05 #9
Thanks Alvin. I started looking into "threadpool" but when I read that there
was a 25 thread limitation I realized it was not going to be enough for what
I am trying to do.

"Alvin Bruney [Microsoft MVP]" wrote:
the use of threads in a ASP.NET application is a bad
idea. He said "don't use threads with ASP.NET."

It is not.

Though I cannot speak for John, I believe he may have been frustrated with
the large number of bad thread tutorials on the web and incorrect usage of
threading with regards to .NET.

Sometimes, I too, question the idea behind making threads so widely
accessible. Threading is inherently difficult to get right the first,
second, third or forth time around and requires deep understanding of
complicated stuff. .NET exposes the threadpool, to help manage some of these
issues and lighten the burden to the developer.

Thread on - even if it kills the server :-)
--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------
"mareal" <m@m.com> wrote in message
news:70**********************************@microsof t.com...
I am trying to write a basic load balancer (in our web service) solution.
The
purpose of this load balancer is to keep an array updated with server
status.
We have several servers that can be accessed in order to retrieve
information.

From within the "Application_Start" (Global.asax), I create as many
threads
as servers we have available. The idea is that each thread will query each
server and update a flag in the public array. When a "true" request comes
in,
the system checks for two things:

* Server availability (on-line vs. off-line)
* Server load (based on a value returned by the server every time a thread
sends a new query)

I noticed that the threads may stop working. Sometimes they run for a long
time and sometimes they run for a short period of time. I started reading
some posts related to threading and I found this one "Threading in asp.net
issue - Thread stops" created on 11/12/2004 where "John Saunders" (who is
responding) says that the use of threads in a ASP.NET application is a bad
idea. He said "don't use threads with ASP.NET."

If this is true, how can I approach this load balancer project? Any ideas
will be greatly appreciated.

Thanks in advance.


Nov 19 '05 #10
when I read that there
was a 25 thread limitation I realized it was not going to be enough for
what
Now that's problem a design flaw. I've written a similar app a couple weeks
ago actually and the approach i took was to spin 3 threads and give them a
stack of urls to go hunt down. Each stack consisted of about 40,000 url's.
But the point is the cap on the thread use made the application behave
properly because there were at most 3 threads running on top. A couple more
underneath because of the way the webrequest mechanism works. but you get
the idea.

my rule of thumb for threading is to spin no more than 5 threads at any
point in time. even in low concurrency situations, such liberty can infact
cripple a beefy server.

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------
"mareal" <m@m.com> wrote in message
news:EB**********************************@microsof t.com... Thanks Alvin. I started looking into "threadpool" but when I read that
there
was a 25 thread limitation I realized it was not going to be enough for
what
I am trying to do.

"Alvin Bruney [Microsoft MVP]" wrote:
>the use of threads in a ASP.NET application is a bad
>idea. He said "don't use threads with ASP.NET."

It is not.

Though I cannot speak for John, I believe he may have been frustrated
with
the large number of bad thread tutorials on the web and incorrect usage
of
threading with regards to .NET.

Sometimes, I too, question the idea behind making threads so widely
accessible. Threading is inherently difficult to get right the first,
second, third or forth time around and requires deep understanding of
complicated stuff. .NET exposes the threadpool, to help manage some of
these
issues and lighten the burden to the developer.

Thread on - even if it kills the server :-)
--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------
"mareal" <m@m.com> wrote in message
news:70**********************************@microsof t.com...
>I am trying to write a basic load balancer (in our web service)
>solution.
>The
> purpose of this load balancer is to keep an array updated with server
> status.
> We have several servers that can be accessed in order to retrieve
> information.
>
> From within the "Application_Start" (Global.asax), I create as many
> threads
> as servers we have available. The idea is that each thread will query
> each
> server and update a flag in the public array. When a "true" request
> comes
> in,
> the system checks for two things:
>
> * Server availability (on-line vs. off-line)
> * Server load (based on a value returned by the server every time a
> thread
> sends a new query)
>
> I noticed that the threads may stop working. Sometimes they run for a
> long
> time and sometimes they run for a short period of time. I started
> reading
> some posts related to threading and I found this one "Threading in
> asp.net
> issue - Thread stops" created on 11/12/2004 where "John Saunders" (who
> is
> responding) says that the use of threads in a ASP.NET application is a
> bad
> idea. He said "don't use threads with ASP.NET."
>
> If this is true, how can I approach this load balancer project? Any
> ideas
> will be greatly appreciated.
>
> Thanks in advance.
>


Nov 19 '05 #11
Alvin, so how would you tackle what I am trying to do. I may have 15 servers
to keep track of their status (working or not working). If you would not have
more than 5 threads are you saying that instead of creating 15 threads (in my
example) I should create 5 and have those 5 check the 15 servers?

"Alvin Bruney [Microsoft MVP]" wrote:
when I read that there
was a 25 thread limitation I realized it was not going to be enough for
what


Now that's problem a design flaw. I've written a similar app a couple weeks
ago actually and the approach i took was to spin 3 threads and give them a
stack of urls to go hunt down. Each stack consisted of about 40,000 url's.
But the point is the cap on the thread use made the application behave
properly because there were at most 3 threads running on top. A couple more
underneath because of the way the webrequest mechanism works. but you get
the idea.

my rule of thumb for threading is to spin no more than 5 threads at any
point in time. even in low concurrency situations, such liberty can infact
cripple a beefy server.

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------
"mareal" <m@m.com> wrote in message
news:EB**********************************@microsof t.com...
Thanks Alvin. I started looking into "threadpool" but when I read that
there
was a 25 thread limitation I realized it was not going to be enough for
what
I am trying to do.

"Alvin Bruney [Microsoft MVP]" wrote:
>the use of threads in a ASP.NET application is a bad
>idea. He said "don't use threads with ASP.NET."
It is not.

Though I cannot speak for John, I believe he may have been frustrated
with
the large number of bad thread tutorials on the web and incorrect usage
of
threading with regards to .NET.

Sometimes, I too, question the idea behind making threads so widely
accessible. Threading is inherently difficult to get right the first,
second, third or forth time around and requires deep understanding of
complicated stuff. .NET exposes the threadpool, to help manage some of
these
issues and lighten the burden to the developer.

Thread on - even if it kills the server :-)
--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------
"mareal" <m@m.com> wrote in message
news:70**********************************@microsof t.com...
>I am trying to write a basic load balancer (in our web service)
>solution.
>The
> purpose of this load balancer is to keep an array updated with server
> status.
> We have several servers that can be accessed in order to retrieve
> information.
>
> From within the "Application_Start" (Global.asax), I create as many
> threads
> as servers we have available. The idea is that each thread will query
> each
> server and update a flag in the public array. When a "true" request
> comes
> in,
> the system checks for two things:
>
> * Server availability (on-line vs. off-line)
> * Server load (based on a value returned by the server every time a
> thread
> sends a new query)
>
> I noticed that the threads may stop working. Sometimes they run for a
> long
> time and sometimes they run for a short period of time. I started
> reading
> some posts related to threading and I found this one "Threading in
> asp.net
> issue - Thread stops" created on 11/12/2004 where "John Saunders" (who
> is
> responding) says that the use of threads in a ASP.NET application is a
> bad
> idea. He said "don't use threads with ASP.NET."
>
> If this is true, how can I approach this load balancer project? Any
> ideas
> will be greatly appreciated.
>
> Thanks in advance.
>


Nov 19 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ronan Viernes | last post by:
Hi, I have created a python script (see below) to count the maximum number of threads per process (by starting new threads continuously until it breaks). ###### #testThread.py import...
0
by: Al Tobey | last post by:
I was building perl 5.8.2 on RedHat Enterprise Linux 3.0 (AS) today and noticed that it included in it's ccflags "-DTHREADS_HAVE_PIDS." I am building with -Dusethreads. With newer Linux...
10
by: [Yosi] | last post by:
I would like to know how threads behavior in .NET . When an application create 4 threads for example start all of them, the OS task manager will execute all 4 thread in deterministic order manes,...
3
by: mjheitland | last post by:
Hi, I like to know how many threads are used by a Threading.Timer object. When I create a Threading.Timer object calling a short running method every 5 seconds I expected to have one additional...
10
by: Darian | last post by:
Is there a way to find all the thread names that are running in a project? For example, if I have 5 threads T1, T2, T3, T4, T5...and T2, T4, and T5 are running...I want to be able to know that...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.