Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #9238 > unrolled thread
| Started by | powerneet@gmail.com |
|---|---|
| First post | 2016-04-10 05:40 -0700 |
| Last post | 2016-04-12 00:30 -0700 |
| Articles | 7 — 6 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Multi Thread downloading..... powerneet@gmail.com - 2016-04-10 05:40 -0700
Re: Multi Thread downloading..... "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2016-04-11 09:54 +0200
Re: Multi Thread downloading..... Alwin Nederpelt <powerneet@gmail.com> - 2016-04-11 02:18 -0700
Re: Multi Thread downloading..... Willie Moore <williem@wmconsulting.com> - 2016-04-11 13:30 -0500
Re: Multi Thread downloading..... Alwin Nederpelt <powerneet@gmail.com> - 2016-04-12 00:24 -0700
Re: Multi Thread downloading..... Karl Wochele <kw@ecos-system.invalid> - 2016-04-19 10:36 +0200
Re: Multi Thread downloading..... Mathias <mathias.hakansson@consultec.se> - 2016-04-12 00:30 -0700
| From | powerneet@gmail.com |
|---|---|
| Date | 2016-04-10 05:40 -0700 |
| Subject | Multi Thread downloading..... |
| Message-ID | <b94de89d-2aaa-4597-9edb-01f24e13445c@googlegroups.com> |
Hi, I am looking for a way to download .xml (json) data multi threaded. Currently i am using an interface which doesn't allow 1 big download of data, but i need to download customer by customer. So, currently 3600 (!) xml's. Maybe when i start multi-threading it will not take 17 minutes to download.... Is there anybody who could help me build multi-threaded download ? The webserver example is not included anymore in my VO ? Thanks, Alwin
[toc] | [next] | [standalone]
| From | "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> |
|---|---|
| Date | 2016-04-11 09:54 +0200 |
| Message-ID | <nefl14$1ft$1@dont-email.me> |
| In reply to | #9238 |
Hi Alwin, try to make a small exe program, that receives all information via command line parameters and start this exe program multiple times and distribute the handling of the exe files by your main application. When a program finishes downloading (the program finishes) and the file has been downloaded correctly then you can start another exe. Arne <powerneet@gmail.com> schrieb im Newsbeitrag news:b94de89d-2aaa-4597-9edb-01f24e13445c@googlegroups.com... > Hi, > > I am looking for a way to download .xml (json) data multi threaded. > Currently i am using an interface which doesn't allow 1 big download of > data, but i need to download customer by customer. So, currently 3600 (!) > xml's. > > Maybe when i start multi-threading it will not take 17 minutes to > download.... > > Is there anybody who could help me build multi-threaded download ? > The webserver example is not included anymore in my VO ? > > Thanks, > Alwin
[toc] | [prev] | [next] | [standalone]
| From | Alwin Nederpelt <powerneet@gmail.com> |
|---|---|
| Date | 2016-04-11 02:18 -0700 |
| Message-ID | <684af0f1-4145-401c-b0b6-fc06c62ea7ef@googlegroups.com> |
| In reply to | #9240 |
Op maandag 11 april 2016 09:54:20 UTC+2 schreef Arne Ortlinghaus: > Hi Alwin, > try to make a small exe program, that receives all information via command > line parameters and start this exe program multiple times and distribute the > handling of the exe files by your main application. When a program finishes > downloading (the program finishes) and the file has been downloaded > correctly then you can start another exe. > > Arne > > > <> schrieb im Newsbeitrag > news:b94de89d-2aaa-4597-9edb-01f24e13445c@googlegroups.com... > > Hi, > > > > I am looking for a way to download .xml (json) data multi threaded. > > Currently i am using an interface which doesn't allow 1 big download of > > data, but i need to download customer by customer. So, currently 3600 (!) > > xml's. > > > > Maybe when i start multi-threading it will not take 17 minutes to > > download.... > > > > Is there anybody who could help me build multi-threaded download ? > > The webserver example is not included anymore in my VO ? > > > > Thanks, > > Alwin Hi Arne, I adjusted it already that way. But i was hoping on multi-threading. But after reading the help file and the instability of VO..... It works fine that exe file. But downloading by 10 exe files takes as long as step by step. The UNIT4 Api seems to be load balancing or using a queue. :( Thanks.
[toc] | [prev] | [next] | [standalone]
| From | Willie Moore <williem@wmconsulting.com> |
|---|---|
| Date | 2016-04-11 13:30 -0500 |
| Message-ID | <1326029938.482091573.222917.williem-wmconsulting.com@news.aioe.org> |
| In reply to | #9242 |
Alwyn, What version of VO? I can send you the web server sample. The multi threading in VO works fine. You just have to be careful. You cannot mix GUI across threads. Regards, Willie Grafx Development Team
[toc] | [prev] | [next] | [standalone]
| From | Alwin Nederpelt <powerneet@gmail.com> |
|---|---|
| Date | 2016-04-12 00:24 -0700 |
| Message-ID | <c1f21371-7b93-44cf-b929-bcf12770e853@googlegroups.com> |
| In reply to | #9245 |
Hi Willie, 2.8 SP4 / 2838 Alwin Op maandag 11 april 2016 20:30:08 UTC+2 schreef Willie Moore: > Alwyn, > > What version of VO? I can send you the web server sample. The multi > threading in VO works fine. You just have to be careful. You cannot mix GUI > across threads. > > Regards, > Willie > Grafx Development Team
[toc] | [prev] | [next] | [standalone]
| From | Karl Wochele <kw@ecos-system.invalid> |
|---|---|
| Date | 2016-04-19 10:36 +0200 |
| Message-ID | <nf4qm7$bai$1@solani.org> |
| In reply to | #9245 |
Hi Willie, is this the www Server example of VO or did you make any improvements ? In this case I would be very interested... (eMail: kw<removethis>@ecos-system.de) TIA Karl Am 11.04.2016 um 20:30 schrieb Willie Moore: > Alwyn, > > What version of VO? I can send you the web server sample. The multi > threading in VO works fine. You just have to be careful. You cannot mix GUI > across threads. > > Regards, > Willie > Grafx Development Team >
[toc] | [prev] | [next] | [standalone]
| From | Mathias <mathias.hakansson@consultec.se> |
|---|---|
| Date | 2016-04-12 00:30 -0700 |
| Message-ID | <543fa500-16c9-4990-8edb-7eb0e391d1d3@googlegroups.com> |
| In reply to | #9242 |
Yes, you need to have several instances of that exe running different download simultaniously. You can experiment with what number of simultanious instances gives you the best perfomance. You could let each instance update a record in a "download table" once every second and your main program could show that table and refresh it with the same interval. /MathiasH Den måndag 11 april 2016 kl. 11:18:39 UTC+2 skrev Alwin Nederpelt: > Op maandag 11 april 2016 09:54:20 UTC+2 schreef Arne Ortlinghaus: > > Hi Alwin, > > try to make a small exe program, that receives all information via command > > line parameters and start this exe program multiple times and distribute the > > handling of the exe files by your main application. When a program finishes > > downloading (the program finishes) and the file has been downloaded > > correctly then you can start another exe. > > > > Arne > > > > > > <> schrieb im Newsbeitrag > > news:b94de89d-2aaa-4597-9edb-01f24e13445c@googlegroups.com... > > > Hi, > > > > > > I am looking for a way to download .xml (json) data multi threaded. > > > Currently i am using an interface which doesn't allow 1 big download of > > > data, but i need to download customer by customer. So, currently 3600 (!) > > > xml's. > > > > > > Maybe when i start multi-threading it will not take 17 minutes to > > > download.... > > > > > > Is there anybody who could help me build multi-threaded download ? > > > The webserver example is not included anymore in my VO ? > > > > > > Thanks, > > > Alwin > > Hi Arne, > > I adjusted it already that way. But i was hoping on multi-threading. But after reading the help file and the instability of VO..... It works fine that exe file. > > But downloading by 10 exe files takes as long as step by step. The UNIT4 Api seems to be load balancing or using a queue. :( > > Thanks.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web