|
 |
Forum Integrum Consulting - Decyzje środowiskowe, pozwolenia zintegrowane |
Zobacz poprzedni temat :: Zobacz następny temat |
Autor |
Wiadomość |
JoeClark
Dołączył: 31 Lip 2017 Posty: 158
|
Wysłany: Pon Paź 09, 2017 09:33 Temat postu: Multiple Threads |
|
|
Hi,
I am building a CLI multithreaded application. Basically, I created two threads for exporting data from the table to the client. Each thread has its own connection to the database but when I run my program, all calls seems to be serialized to the server.
Even I allocated the context for each thread and attach it but no improvement.
I am attaching my program for your reference.
Is it normal? I thought that the packets might be compressed during network transfer so that minimum data transfer happens. If I compressed the same CSV file on the server and it compresses to 870 KB. And it took about 20 secs to transfer it to the server.
Please help.
Thanks!
Case study examples |
|
Powrót do góry |
|
|
|
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach
|
|
 |
 |
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional
|
 |
|
|