Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. is it possible to configure Windows 10 to do this?

is it possible to configure Windows 10 to do this?

Scheduled Pinned Locked Moved The Lounge
c++question
35 Posts 14 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Southmountain
    wrote on last edited by
    #1

    I need to run a C++ application to fetch data from Internet for real time financial data stream. I want to configure a Windows 10 machine with minimum system service running, this machine is dedicated to run this application. any ideas to share?

    diligent hands rule....

    L R P C F 11 Replies Last reply
    0
    • S Southmountain

      I need to run a C++ application to fetch data from Internet for real time financial data stream. I want to configure a Windows 10 machine with minimum system service running, this machine is dedicated to run this application. any ideas to share?

      diligent hands rule....

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Well whatever you do you are still running Windows, which is not a real-time operating system.

      S L 2 Replies Last reply
      0
      • S Southmountain

        I need to run a C++ application to fetch data from Internet for real time financial data stream. I want to configure a Windows 10 machine with minimum system service running, this machine is dedicated to run this application. any ideas to share?

        diligent hands rule....

        R Offline
        R Offline
        RedDk
        wrote on last edited by
        #3

        Fetching data from the internet? That's gonna be a lot like milking an axe I'm afraid.

        S 1 Reply Last reply
        0
        • R RedDk

          Fetching data from the internet? That's gonna be a lot like milking an axe I'm afraid.

          S Offline
          S Offline
          Southmountain
          wrote on last edited by
          #4

          to be specific: I have bought real-time data service from a data vendor already.

          diligent hands rule....

          R 1 Reply Last reply
          0
          • L Lost User

            Well whatever you do you are still running Windows, which is not a real-time operating system.

            S Offline
            S Offline
            Southmountain
            wrote on last edited by
            #5

            the intention is: to tear down unimportant windows service to save more CPU power to serve my application

            diligent hands rule....

            L 1 Reply Last reply
            0
            • S Southmountain

              I need to run a C++ application to fetch data from Internet for real time financial data stream. I want to configure a Windows 10 machine with minimum system service running, this machine is dedicated to run this application. any ideas to share?

              diligent hands rule....

              P Offline
              P Offline
              PIEBALDconsult
              wrote on last edited by
              #6

              Linux instead maybe?

              L 1 Reply Last reply
              0
              • P PIEBALDconsult

                Linux instead maybe?

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                Agreed. Install a headless distro, compile the code, configure the service, reboot. Any SBC would be able to run it. No need for an expensive machine.

                "When you are dead, you won't even know that you are dead. It's a pain only felt by others; same thing when you are stupid." Ignorant - An individual without knowledge, but is willing to learn. Stupid - An individual without knowledge and is incapable of learning. Idiot - An individual without knowledge and allows social media to do the thinking for them.

                N 1 Reply Last reply
                0
                • S Southmountain

                  I need to run a C++ application to fetch data from Internet for real time financial data stream. I want to configure a Windows 10 machine with minimum system service running, this machine is dedicated to run this application. any ideas to share?

                  diligent hands rule....

                  C Offline
                  C Offline
                  CodeWomble
                  wrote on last edited by
                  #8

                  It sounds like you want to run in kiosk mode. I have not done it myself in windows 10, but you could try this from Microsoft: Set up a single-app kiosk on Windows 10/11 - Configure Windows | Microsoft Docs[^]

                  1 Reply Last reply
                  0
                  • L Lost User

                    Agreed. Install a headless distro, compile the code, configure the service, reboot. Any SBC would be able to run it. No need for an expensive machine.

                    "When you are dead, you won't even know that you are dead. It's a pain only felt by others; same thing when you are stupid." Ignorant - An individual without knowledge, but is willing to learn. Stupid - An individual without knowledge and is incapable of learning. Idiot - An individual without knowledge and allows social media to do the thinking for them.

                    N Offline
                    N Offline
                    Nelek
                    wrote on last edited by
                    #9

                    DonathanH wrote:

                    No need for an expensive machine.

                    Depending on how big is the amount of data to process a better machine could help.

                    M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                    L 1 Reply Last reply
                    0
                    • N Nelek

                      DonathanH wrote:

                      No need for an expensive machine.

                      Depending on how big is the amount of data to process a better machine could help.

                      M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      That's true. I stand corrected. I was a little premature (that's what she said :-\ ) on that statement. It would depend on the work load.

                      "When you are dead, you won't even know that you are dead. It's a pain only felt by others; same thing when you are stupid." Ignorant - An individual without knowledge, but is willing to learn. Stupid - An individual without knowledge and is incapable of learning. Idiot - An individual without knowledge and allows social media to do the thinking for them.

                      1 Reply Last reply
                      0
                      • S Southmountain

                        I need to run a C++ application to fetch data from Internet for real time financial data stream. I want to configure a Windows 10 machine with minimum system service running, this machine is dedicated to run this application. any ideas to share?

                        diligent hands rule....

                        F Offline
                        F Offline
                        fgs1963
                        wrote on last edited by
                        #11

                        You might want to clarify your definition of "real time". For some of us that means within a few microseconds. For others it means within a few milliseconds. IMHO when you include the terms "fetch data" and "internet" then "real time" is not even approachable. Just sayin'

                        P S K 3 Replies Last reply
                        0
                        • F fgs1963

                          You might want to clarify your definition of "real time". For some of us that means within a few microseconds. For others it means within a few milliseconds. IMHO when you include the terms "fetch data" and "internet" then "real time" is not even approachable. Just sayin'

                          P Offline
                          P Offline
                          PIEBALDconsult
                          wrote on last edited by
                          #12

                          Additionally, can you query past data for any you missed or is it a matter of having only one chance to get it then it's gone?

                          1 Reply Last reply
                          0
                          • S Southmountain

                            to be specific: I have bought real-time data service from a data vendor already.

                            diligent hands rule....

                            R Offline
                            R Offline
                            RedDk
                            wrote on last edited by
                            #13

                            Oh. Ok. So there's a handle stuck in the head? Can't you just swing the thing?

                            1 Reply Last reply
                            0
                            • L Lost User

                              Well whatever you do you are still running Windows, which is not a real-time operating system.

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #14

                              "Real time" is also used by salesmen when they mean "really fast" or "really, really fast". Warcraft simulates being realtime quite nice, but even there we have unexpected disconnects and lag. I prefer terms as fps, throughput, latency and uptime. Doesn't sound like he needs visualization, so it's probably being stored in a realtime-database ;P

                              Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                              S 1 Reply Last reply
                              0
                              • F fgs1963

                                You might want to clarify your definition of "real time". For some of us that means within a few microseconds. For others it means within a few milliseconds. IMHO when you include the terms "fetch data" and "internet" then "real time" is not even approachable. Just sayin'

                                S Offline
                                S Offline
                                Southmountain
                                wrote on last edited by
                                #15

                                I find a intersesting thread on this .

                                diligent hands rule....

                                1 Reply Last reply
                                0
                                • L Lost User

                                  "Real time" is also used by salesmen when they mean "really fast" or "really, really fast". Warcraft simulates being realtime quite nice, but even there we have unexpected disconnects and lag. I prefer terms as fps, throughput, latency and uptime. Doesn't sound like he needs visualization, so it's probably being stored in a realtime-database ;P

                                  Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                                  S Offline
                                  S Offline
                                  Southmountain
                                  wrote on last edited by
                                  #16

                                  here is a similar discussion to my question: Trying to get the most barebone Windows 10...

                                  diligent hands rule....

                                  L 1 Reply Last reply
                                  0
                                  • S Southmountain

                                    here is a similar discussion to my question: Trying to get the most barebone Windows 10...

                                    diligent hands rule....

                                    L Offline
                                    L Offline
                                    Lost User
                                    wrote on last edited by
                                    #17

                                    Should I point to a similar post to my answer? :laugh: If you want a Windows-environment to simply run software, then kiosk mode should work as already pointed out. Dunno if still applies, but might wanna check if you can RDP into those. If you're asking if there's a bare-bone version of Win10, then the answer is, well, kind of[^]? If you need the raw power, you'd use Linux. If you need to be technically realtime, you use a realtime OS like QNX.

                                    Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                                    1 Reply Last reply
                                    0
                                    • S Southmountain

                                      I need to run a C++ application to fetch data from Internet for real time financial data stream. I want to configure a Windows 10 machine with minimum system service running, this machine is dedicated to run this application. any ideas to share?

                                      diligent hands rule....

                                      D Offline
                                      D Offline
                                      David ONeil
                                      wrote on last edited by
                                      #18

                                      As others have indicated, you are probably on the wrong approach, although it will be an interesting experience for you. 1) Windows is not a real-time operating system, no matter how you try to finagle it, whether that is through the long-term servicing branch or the kiosk system. You will never get rid of all the other preemptive multitasking timeslices taken up by other processes. You may be able to reduce them, but never eliminate them. 2) Ping the website of the data broker you are dealing with for your 'real-time' results. You have already lost that amount of time compared to traders at the broker's end. Here's an old article on high-speed trading: [Stock Traders Find Speed Pays, in Milliseconds](https://www.nytimes.com/2009/07/24/business/24trading.html). I cannot find it now, but I once read an article that said serious players put their data centers as close as possible to the shore (or incoming position) where the (trunk lines?) that pull the stock market information from overseas, because the microseconds compared to those further in made a difference. 3) As long as you are dealing with an internet connection from an Internet Provider, that routes your traffic from another IP, you will never compete with those traders who have dedicated themselves to the incoming, and main feeds of the various markets. 4) If your computer's clock speed is orders of magnitude faster than your internet speed, making your system a real-time operating system to capture packets as they come in is a waste of time. In spite of these issues, have fun with your endeavor!

                                      The Science of King David's Court | Object Oriented Programming with C++

                                      G S J 3 Replies Last reply
                                      0
                                      • D David ONeil

                                        As others have indicated, you are probably on the wrong approach, although it will be an interesting experience for you. 1) Windows is not a real-time operating system, no matter how you try to finagle it, whether that is through the long-term servicing branch or the kiosk system. You will never get rid of all the other preemptive multitasking timeslices taken up by other processes. You may be able to reduce them, but never eliminate them. 2) Ping the website of the data broker you are dealing with for your 'real-time' results. You have already lost that amount of time compared to traders at the broker's end. Here's an old article on high-speed trading: [Stock Traders Find Speed Pays, in Milliseconds](https://www.nytimes.com/2009/07/24/business/24trading.html). I cannot find it now, but I once read an article that said serious players put their data centers as close as possible to the shore (or incoming position) where the (trunk lines?) that pull the stock market information from overseas, because the microseconds compared to those further in made a difference. 3) As long as you are dealing with an internet connection from an Internet Provider, that routes your traffic from another IP, you will never compete with those traders who have dedicated themselves to the incoming, and main feeds of the various markets. 4) If your computer's clock speed is orders of magnitude faster than your internet speed, making your system a real-time operating system to capture packets as they come in is a waste of time. In spite of these issues, have fun with your endeavor!

                                        The Science of King David's Court | Object Oriented Programming with C++

                                        G Offline
                                        G Offline
                                        GuyThiebaut
                                        wrote on last edited by
                                        #19

                                        Relating to 2) I am pretty sure I read somewhere that to prevent unfair competition some of those brokers have their connection speed deliberately slowed down.

                                        “That which can be asserted without evidence, can be dismissed without evidence.”

                                        ― Christopher Hitchens

                                        D N 2 Replies Last reply
                                        0
                                        • G GuyThiebaut

                                          Relating to 2) I am pretty sure I read somewhere that to prevent unfair competition some of those brokers have their connection speed deliberately slowed down.

                                          “That which can be asserted without evidence, can be dismissed without evidence.”

                                          ― Christopher Hitchens

                                          D Offline
                                          D Offline
                                          David ONeil
                                          wrote on last edited by
                                          #20

                                          Interesting. Thanks for sharing. Here's one google result: [A NYSE Speed Bump You Weren’t Aware Of | IEX](https://iextrading.com/about/press/op-ed/)

                                          The Science of King David's Court | Object Oriented Programming with C++

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups