Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

increase background worker speed vb.net?

hello,

i am working on email spammer software and it currently sends 1-3 emails per second with background worker.
i was wondering if any of you know how to increase threads/speed?
(Jun 14, 2024 03:07 PM)THOR TECH Wrote:  hello,

i am working on email spammer software and it currently sends 1-3 emails per second with background worker.
i was wondering if any of you know how to increase threads/speed?

You need to use multi-threading to increase your checker. Since you did not provide any codes, it's hard to help you.
[Image: purerat.gif]
(Jun 15, 2024 07:47 AM)PureCoder Wrote:  You need to use multi-threading to increase your checker. Since you did not provide any codes, it's hard to help you.

you mean "code" right? btw, using multi-threading in c++ is pretty straightforward, but since OP did not even mention the PL he's using, we can't help him i guess...

edited: i just found out the PL in the title, yeah, it should be easy to multi-thread it!
(Jun 14, 2024 03:07 PM)THOR TECH Wrote:  hello,

i am working on email spammer software and it currently sends 1-3 emails per second with background worker.
i was wondering if any of you know how to increase threads/speed?

In what language are you developing your email spamming tool. This depends on the language you are using and the best solution would be multi-threading. Since you are using the term "background worker" then I am assuming you are using C# am I correct?

Best you can do is have each background worker separate threads with separate proxies instead of having one bulky main thread.

If I am correct that this is C# then have a look at this page from Microsoft as it discusses how to work with background workers.

https://learn.microsoft.com/en-us/dotnet...ew=net-8.0
There is some tricky things

Is your multi thread is creating a new instance of the mailer too? Mailing is habitually a class and/or a plugin and is already implementing the behavior under the hood. So you're running in multi thread but the mail resource make those threads waiting in queues.

If you're using it as static, all instances remain the same it also can make threads waiting for the resource to be available.

i guess you're using smtp client, in this case manage your code to create a new instance on new thread.

you can work with parallelism and set DegreeOfParalelism

semaforeslim to avoid more than one thread to access a resource.

So basically to optimise rendering, there is no faster options, ull do it faster separating instances and thread and manipulating them perfectly


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by PabloEscarNarkJan 12, 2018 08:25 PM 3 178 Jan 12, 2018 08:25 PM
Last Post: 0xDEAD10CC
[.NET] by FhackJan 10, 2018 04:36 AM 4 158 Jan 10, 2018 04:36 AM
Last Post: Fhack
[Shell] by PhloxAug 26, 2017 02:55 PM 3 203 Aug 26, 2017 02:55 PM
Last Post: Hackoo