NexusFi: Find Your Edge


Home Menu

 





Disaster planning & redundancy


Discussion in Brokers

Updated
      Top Posters
    1. looks_one Big Mike with 4 posts (5 thanks)
    2. looks_two steve2222 with 4 posts (1 thanks)
    3. looks_3 josh with 3 posts (0 thanks)
    4. looks_4 fallout with 3 posts (3 thanks)
      Best Posters
    1. looks_one Big Mike with 1.3 thanks per post
    2. looks_two fallout with 1 thanks per post
    3. looks_3 lolu with 1 thanks per post
    4. looks_4 steve2222 with 0.3 thanks per post
    1. trending_up 5,947 views
    2. thumb_up 10 thanks given
    3. group 3 followers
    1. forum 14 posts
    2. attach_file 0 attachments




 
Search this Thread

Disaster planning & redundancy

  #11 (permalink)
 
josh's Avatar
 josh 
Georgia, US
Legendary Market Wizard
 
Experience: None
Platform: SC
Broker: Denali+Rithmic
Trading: ES, NQ, YM
Posts: 6,216 since Jan 2011
Thanks Given: 6,752
Thanks Received: 18,136


Big Mike View Post
I use a TP-Link dual router to load-balance and provide automatic failover/failback.

https://www.tp-link.com/products/product_des.asp?id=14

It was under $100 when I bought it. I have DSL+Cable, so if one fails the other is up.

Mike

@Big Mike, after having numerous issues with my internet the last 2 weeks, even when I get things repaired I'm planning on getting a second internet connection (DSL) to go with my primary (cable), and am going to get a dual WAN router like you mention. I don't know how many real outages you have, but can you verify that with the product you have, the transfer is seamless and one won't even notice that one connection went out? In looking at a couple of brands of routers, reviewers have said that it doesn't work well as advertised, and am looking for one that will obviously achieve its purpose for me, namely to provide a backup in case of failure.

Also, TP-Link doesn't seem to make a dual-WAN wireless router--is yours wireless? I'm thinking that I could just plug my standard router into the dual WAN one, and use it for WiFi connections, if the one I get doesn't have a wireless radio.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Build trailing stop for micro index(s)
Psychology and Money Management
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Exit Strategy
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
22 thanks
The Program
20 thanks
GFIs1 1 DAX trade per day journal
19 thanks
  #12 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,399 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,538

My wireless router sets between the PC and the dual wan failover router, and then behind that is the dsl + cable.

As for seamless, in the case of say trading - you will see a disconnect followed immediately by a reconnect, as it switches from one wan port/provider/uplink to the other for your failover during a problem.

For example, if you are connected to your broker via cable modem, and you unplug the cable modem, your platform will show the disconnect and then when it tries to reconnect the dual wan router will automatically send everything via the uplink port that is still working.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #13 (permalink)
 
josh's Avatar
 josh 
Georgia, US
Legendary Market Wizard
 
Experience: None
Platform: SC
Broker: Denali+Rithmic
Trading: ES, NQ, YM
Posts: 6,216 since Jan 2011
Thanks Given: 6,752
Thanks Received: 18,136



Big Mike View Post
My wireless router sets between the PC and the dual wan failover router, and then behind that is the dsl + cable.

As for seamless, in the case of say trading - you will see a disconnect followed immediately by a reconnect, as it switches from one wan port/provider/uplink to the other for your failover during a problem.

For example, if you are connected to your broker via cable modem, and you unplug the cable modem, your platform will show the disconnect and then when it tries to reconnect the dual wan router will automatically send everything via the uplink port that is still working.

Mike

Thanks very much Mike--I am having a connection problem with Kinetick such that when I get disconnected, it still shows as connected even though data is not flowing. My TT connection, on the other hand, shows a disconnect and reconnect. I have to manually disconnect and reconnect Kinetick to get data flow. I just realized based on your description of what happens that this indeed may present a problem for me in my situation. Either way, I suppose for safety I do need a second connection for the actual trading side of things--when the connection dies and I don't have an immediate flow of data for the chart, it's one thing, but when I can't modify an order at the broker, it's a much worse problem, and having the second line should provide some security for that.

If the router were to function in such a way that the program never saw the connection as being lost, that would be ideal. But according to how you're describing it, it doesn't work that way.

Thanks again for your information.

Reply With Quote
  #14 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,399 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,538


josh View Post
If the router were to function in such a way that the program never saw the connection as being lost, that would be ideal. But according to how you're describing it, it doesn't work that way.

Yup, not possible due to the laws of the TCP/IP world we live in, sorry

I've noticed some platforms, like Sierra Chart, track by IP address. So if you log in with IP address #1 (cable modem) and then exit and re-load the app using ip address #2 (dsl), it will prevent you from loading for 5 minutes. This is an anti-piracy measure. The solution is to set your dual wan failover router to have a preferred path for certain applications or destination IP's. You could find the IP address that this anti-piracy check is occurring on for instance, and make sure it always goes over the cable modem. A preferred path is one it will always take, unless it cannot (cable down) in which case it will fail to dsl.

Whereas in a true load balanced setup, it will take the path of least resistance (lowest latency, lowest utilization) when first establishing a new TCP connection.

An example:
- You go to bighugefilesdownloadsite.com (fake)
- They use a content distribution network to host their files, so when you try to download a file, it is coming from any number of servers world wide (different IP's)
- You click on hugefile #1 to download -> router chooses DSL
- Your DSL connection is now not so fast anymore
- You click immediately on big huge file #2 to download while #1 is still going -> router chooses cable this time
- It chose cable because it measures the utilization and latency, and cable was better

In above, each new download is a new TCP connection. But in the world of say trading, IQFeed will have a single TCP connection to the uplink server, just as say TradingTechnologies or Rithmic or whatever execution you are using will. It won't switch back and forth like it would for a website download, because each connection is opened and then kept open.

Last, the router is smart enough that if it opens a TCP connection to an IP address over port #1 (cable), and another new TCP connection request to the same destination IP is initiated, it will re-use port #1 (cable) again. This works well in the "real world" so as to not confuse to many server-side things on the other end. In other words, packets to/from the same destination (IP) will go over the same port.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #15 (permalink)
 
josh's Avatar
 josh 
Georgia, US
Legendary Market Wizard
 
Experience: None
Platform: SC
Broker: Denali+Rithmic
Trading: ES, NQ, YM
Posts: 6,216 since Jan 2011
Thanks Given: 6,752
Thanks Received: 18,136

Thanks Mike, good info!

Reply With Quote




Last Updated on August 22, 2011


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts