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 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....

    K Offline
    K Offline
    KateAshman
    wrote on last edited by
    #23

    Here's an idea: don't do that. If you want a minimalistic system to fetch real-time data streams, don't use a developer and consumer oriented OS. In my professional opinion, it's not worth the effort, specifically due to security constraints. If you want to go down that path regardless, perhaps because you already have an extensive security infrastructure in place that relies on provisioning updates to Windows-based machines, use Windows IoT and don't strip anything update, internet or security related. If the previous iterations of Windows Embedded are anything to go by, it will still be a large amount of work for no tangible gains. Just use Linux instead.

    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'

      K Offline
      K Offline
      KateAshman
      wrote on last edited by
      #24

      Real-time in manager-speak translates to roughly 10 seconds actual. ;P

      S 1 Reply 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

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

        That's true, but one thing is they should and other thing is they do...

        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.

        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....

          K Offline
          K Offline
          Keefer S
          wrote on last edited by
          #26

          Excel has a function that does this. Maybe you can tap into that somehow? My brother and I use it for stock predictions and charting recent price history.

          1 Reply Last reply
          0
          • K KateAshman

            Real-time in manager-speak translates to roughly 10 seconds actual. ;P

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

            for me, 5ms is good enough to cycle through my list to refresh data...

            diligent hands rule....

            1 Reply 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++

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

              your link is great:)

              diligent hands rule....

              1 Reply Last reply
              0
              • M Member 9167057

                For starters, you could go with Windows Core Server. As no stuff running as possible. Well, there's still the Nano Server, but it's so minimalistic, it can't even run on real hardware being a container-only OS.

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

                I will check out Windows CORE server. thanks for the input!

                diligent hands rule....

                1 Reply 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++

                  J Offline
                  J Offline
                  jlongo
                  wrote on last edited by
                  #30

                  Excellent analysis

                  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
                    Carlos Perez Chavez
                    wrote on last edited by
                    #31

                    Windows in Kiosk Mode. By all means run some tests to see if the response time is adequate for your use case.

                    S 1 Reply Last reply
                    0
                    • C Carlos Perez Chavez

                      Windows in Kiosk Mode. By all means run some tests to see if the response time is adequate for your use case.

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

                      it is great idea to run some testing: I plan to use a machine with i7 8th CPU with 4-core to see how fast it is...

                      diligent hands rule....

                      1 Reply Last reply
                      0
                      • M Member 9167057

                        For starters, you could go with Windows Core Server. As no stuff running as possible. Well, there's still the Nano Server, but it's so minimalistic, it can't even run on real hardware being a container-only OS.

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

                        do you mean "Windows CORE server" is Windows 2019 server in CORE mode? if so, I will obtain a Windows 2019 server software to install it on a i7 8th generation CPU machine.

                        diligent hands rule....

                        M 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....

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

                          Premature optimization.

                          It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                          1 Reply Last reply
                          0
                          • S Southmountain

                            do you mean "Windows CORE server" is Windows 2019 server in CORE mode? if so, I will obtain a Windows 2019 server software to install it on a i7 8th generation CPU machine.

                            diligent hands rule....

                            M Offline
                            M Offline
                            Member 9167057
                            wrote on last edited by
                            #35

                            I don't remember from the top of my head. https://en.wikipedia.org/wiki/Server\_Core or https://docs.microsoft.com/en-us/windows-server/administration/server-core/what-is-server-core should provide this information

                            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