Click here to Skip to main content
14,773,089 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 1:13
professionalKornfeld Eliyahu Peter29-Jun-20 1:13 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 1:15
professionalJörgen Andersson29-Jun-20 1:15 
GeneralRe: Adventures in Async Pin
Kornfeld Eliyahu Peter29-Jun-20 1:35
professionalKornfeld Eliyahu Peter29-Jun-20 1:35 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 1:52
professionalJörgen Andersson29-Jun-20 1:52 
GeneralRe: Adventures in Async Pin
Richard Deeming29-Jun-20 1:30
mveRichard Deeming29-Jun-20 1:30 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 1:38
professionalJörgen Andersson29-Jun-20 1:38 
GeneralRe: Adventures in Async Pin
#realJSOP29-Jun-20 3:18
mva#realJSOP29-Jun-20 3:18 
GeneralRe: Adventures in Async Pin
Greg Utas29-Jun-20 1:42
mvaGreg Utas29-Jun-20 1: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 1:46
professionalJörgen Andersson29-Jun-20 1:46 
GeneralRe: Adventures in Async Pin
Garth J Lancaster29-Jun-20 2:04
mveGarth J Lancaster29-Jun-20 2:04 
GeneralRe: Adventures in Async Pin
Ron Anders29-Jun-20 4:16
MemberRon Anders29-Jun-20 4:16 
GeneralRe: Adventures in Async Pin
Jeremy Falcon29-Jun-20 5:52
professionalJeremy Falcon29-Jun-20 5:52 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 5:57
professionalJörgen Andersson29-Jun-20 5:57 
GeneralRe: Adventures in Async Pin
dandy7229-Jun-20 6:33
Memberdandy7229-Jun-20 6:33 
GeneralRe: Adventures in Async Pin
Stuart Dootson29-Jun-20 4:45
professionalStuart Dootson29-Jun-20 4:45 
GeneralRe: Adventures in Async Pin
abmv29-Jun-20 5:31
professionalabmv29-Jun-20 5:31 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 5:54
professionalJörgen Andersson29-Jun-20 5:54 
GeneralRe: Adventures in Async Pin
abmv29-Jun-20 6:06
professionalabmv29-Jun-20 6:06 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 6:13
professionalJörgen Andersson29-Jun-20 6:13 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 6:23
professionalJörgen Andersson29-Jun-20 6:23 
GeneralRe: Adventures in Async Pin
abmv29-Jun-20 6:40
professionalabmv29-Jun-20 6:40 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 6:24
professionalJörgen Andersson29-Jun-20 6:24 
GeneralRe: Adventures in Async Pin
Jeremy Falcon29-Jun-20 5:51
professionalJeremy Falcon29-Jun-20 5:51 
GeneralRe: Adventures in Async Pin
Jörgen Andersson29-Jun-20 5:55
professionalJörgen Andersson29-Jun-20 5:55 
GeneralRe: Adventures in Async Pin
Jeremy Falcon29-Jun-20 5:57
professionalJeremy Falcon29-Jun-20 5: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.