Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Can multiple instances of a client share cache?
 Post subject: Can multiple instances of a client share cache? Post rating: 0   New post Posted: Mon 07 Jun, 2010, 04:32 

User rating: 0
Joined: Fri 07 May, 2010, 02:59
Posts: 61
Suppose I build a client for testing one or more variations on a strategy. If I've already cached all of the data, the API will check to make sure the cache is up to date, then continue running the strategy.

The problem is, suppose each instance has a 5gb cache, and I run 200 instances. That's almost 1Tb of redundant/wasted space.

So the question is, can I expect to have any problems if the cache is in a central location; that is, all 200 instances share the same set of cache (this obviously assumes the cache is already populated).

-Brian


 
 Post subject: Re: Can multiple instances of a client share cache? Post rating: 0   New post Posted: Wed 09 Jun, 2010, 10:38 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Yes, it's Ok to have a one cache for all instances.


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com