title: Client and Cache configuration for Oracle coherence
body: <p>I have the specific scenario for which we want to use Coherence as sitributed cache. Which I am gonna describe here. </p>
  
  <ol>
  <li>I have 20+ standalone processes which are going to put the data in cache continuously. the frequency of all of them differs, though thats not a concern.</li>
  <li>And 2 procesess which will be reading data from those cache.</li>
  <li>I dont need any underlying db except for the way which coherence provide. Data will be written to the cache and read from the cache. </li>
  <li>I have 4 node cluster at my disposal (cost constraint whatever) and the coherence cluster will be on different boxes (infra constraint whatever) and both the populating portion of the cache and the reading part will be on differnt nmachines.</li>
  <li>The peak memory size of the cache daily will hover around 6 GB max, min being 2 GB.
  Cache will have daily data only and I will have separate archiving processes to simulatneosuly keep archiving it also. the point is that cache size for now will have this size only. Lets say I am gonna keep the date out of key equation. </li>
  <li>Though Would like to explore if I can store more into those 4 nodes. Right now its simple serialization, can explore other nbinary formats. Or should I definietly at this size of the cache?</li>
  <li>My read and write operations are fairly spread out in the day. Meaning the read and write will keep on happening by those 2 reading clients and 20+ writing clients. Its not like one of them is more. Though there is a startup batch process in all of the background process which push more to the cache than the continuous pushing afterwards. But continuous pushing pushes fair amount of data too. </li>
  </ol>
  
  <p>Now my questions regarding those above points (and because of some confusion also)</p>
  
  <ol>
  <li>The biggest one is somebody told me that I an have limited number of connection depending on the nodes we have bought. so he said if its 4, you  ideally should have 4 connections only at the max. So, develop a gatekeeper kind of application and what not. Even if we use TCP Extend. Now from my reading so far, I dont think so. Is it? The point is dont wanna go that way if its really is not a constraint.</li>
  </ol>
  
  <p>In other words is there limit on connection through Proxy Service dependeing on the nodes in the cluster?</p>
  
  <ol start="2">
  <li><p>Soemwhat related to above only. at the very max, I am going to get some penalty on the performance while pushing to cache only if I go the Extend way, right?</p></li>
  <li><p>Partioned cache/near cache. As the reading time as well as the most update cache  both are extremely critical. (the most imp question i have).</p></li>
  <li><p>Really want to see the benefit which can be obtained from going to POF instead of lets say serialization/externalizatble/protobuf. Can coherence support protobuf out of the box? (may be for later on)</p></li>
  </ol>