Click here to Skip to main content
15,883,896 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Adventures in Async Pin
Kornfeld Eliyahu Peter29-Jun-20 0:13
professionalKornfeld Eliyahu Peter29-Jun-20 0:13 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 0:15
professionalJörgen Andersson29-Jun-20 0:15 
GeneralRe: Adventures in Async Pin
Kornfeld Eliyahu Peter29-Jun-20 0:35
professionalKornfeld Eliyahu Peter29-Jun-20 0:35 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 0:52
professionalJörgen Andersson29-Jun-20 0:52 
GeneralRe: Adventures in Async Pin
Richard Deeming29-Jun-20 0:30
mveRichard Deeming29-Jun-20 0:30 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 0:38
professionalJörgen Andersson29-Jun-20 0:38 
GeneralRe: Adventures in Async Pin
#realJSOP29-Jun-20 2:18
mve#realJSOP29-Jun-20 2:18 
GeneralRe: Adventures in Async Pin
Greg Utas29-Jun-20 0:42
professionalGreg Utas29-Jun-20 0:42 
If the parsing can be partitioned into n subproblems, where n is the number of cores, then I would consider creating n daemons and locking each one into its own core. If any of them block, offloading the blocking operations to thread pools might help.

Partitioning the problem will help to reduce semaphore contention and cache collisions.

But I haven't had to populate a large database this way, so I could be full of shite. Big Grin | :-D

GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 0:46
professionalJörgen Andersson29-Jun-20 0:46 
GeneralRe: Adventures in Async Pin
Garth J Lancaster29-Jun-20 1:04
professionalGarth J Lancaster29-Jun-20 1:04 
GeneralRe: Adventures in Async Pin
Ron Anders29-Jun-20 3:16
Ron Anders29-Jun-20 3:16 
GeneralRe: Adventures in Async Pin
Jeremy Falcon29-Jun-20 4:52
professionalJeremy Falcon29-Jun-20 4:52 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 4:57
professionalJörgen Andersson29-Jun-20 4:57 
GeneralRe: Adventures in Async Pin
dandy7229-Jun-20 5:33
dandy7229-Jun-20 5:33 
GeneralRe: Adventures in Async Pin
Stuart Dootson29-Jun-20 3:45
professionalStuart Dootson29-Jun-20 3:45 
GeneralRe: Adventures in Async Pin
abmv29-Jun-20 4:31
professionalabmv29-Jun-20 4:31 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 4:54
professionalJörgen Andersson29-Jun-20 4:54 
GeneralRe: Adventures in Async Pin
abmv29-Jun-20 5:06
professionalabmv29-Jun-20 5:06 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 5:13
professionalJörgen Andersson29-Jun-20 5:13 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 5:23
professionalJörgen Andersson29-Jun-20 5:23 
GeneralRe: Adventures in Async Pin
abmv29-Jun-20 5:40
professionalabmv29-Jun-20 5:40 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 5:24
professionalJörgen Andersson29-Jun-20 5:24 
GeneralRe: Adventures in Async Pin
Jeremy Falcon29-Jun-20 4:51
professionalJeremy Falcon29-Jun-20 4:51 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 4:55
professionalJörgen Andersson29-Jun-20 4:55 
GeneralRe: Adventures in Async Pin
Jeremy Falcon29-Jun-20 4:57
professionalJeremy Falcon29-Jun-20 4:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.