General OpenMP discussion
- Posts: 3
- Joined: Fri Feb 17, 2017 12:06 pm
I'll make a trading app that trades up to 5 assets concurrently. The trading server is accessed through websockets. So each concurrent work/task should open/close a websocket connection every minute (1min trading).
So, which construct should I use? Tasking is the way to go?
- Posts: 808
- Joined: Thu Jan 08, 2009 10:12 am
- Location: EPCC, University of Edinburgh
I'm not sure tasks will necessarily be helpful in this case. You might just want to use a parallel region to create 5 threads and let each one operate on a different asset. Using tasks may just make the timing and ordering of events harder to control.