Comments (5)
You should be able to get more QPS. Typical bottlenecks will be
- connection yields -> Increase the pool size and see if QPS increases
- Bandwidth -> See if you are hitting bandwidth limits
- Blocking -> If you are blocking on sets to ensure they are completed before you perform next operation. If so try to check the status of writes in a separate thread.
from evcache.
I'm increasing the pool size. It seems it's the simplest way :).
Is there recommended size besides of the default 1? We have about 6 tomcat servers connect one cache server.
from evcache.
One works well for most of the use cases. If you keep increasing the pool size, beyond some point your throughput decreases and latency increases as the jvm needs to keep polling the selector. Best is to experiment and see at what point the throughput and latencies increase. From this stage onwards your only option will be to add more servers.
from evcache.
I increase the poolSize to 2. But, after several days investigation, it seems it doesn't reduce the low set/delete operations.
I'm planning to add more nodes. I'm confused by the "EVCACHE_CUSTOMER-NODES" setting in the "Simple EVCache" doc. What is the "servergroup"? What difference are below settings:
- one servergroup with two hosts. For example: servergroup1=memcachedIp:11211,memcachedIp:11212
- two servergroup with one host. For example:
servergroup0=memcachedIp:11211;servergroup1=memcachedIp:11212
Below is the sample setting in the doc:
System.setProperty("EVCACHE_CUSTOMER-NODES", "servergroup0=host01:port,host02:port;servergroup1=host11:port,host12:port;servergroup2=host21:port,host22:port,host23:port");
from evcache.
A ServerGroup (a.k.a replica) holds one copy of data. If you have 2 instances the data is spread out among them. if you have 2 server groups with one instance each, then each server group will hold entire data.
from evcache.
Related Issues (20)
- Netflix
- Asynchronous Gets
- Consistent Hashing Wikipedia link is broken
- Difference in hashing algorithm for evache-client v1.0.5 vs v4.38.0 HOT 9
- NPE in EVCacheKetamaNodeLocatorConfiguration when using simple node list provider HOT 3
- SimpleNodeListProvider obtains node list from System properties instead of ConfigurationManager... again HOT 3
- EVCacheNodeImpl memory leak HOT 3
- How does EVCache handle race condition caused by ReplicationAgent HOT 1
- Large amount of PoolRefresher threads HOT 4
- how does evcache facilitate eventual consistency? HOT 2
- EvCache - Eureka HOT 11
- tomcat 7/8 crashes when using the evcache with much data HOT 6
- Using Memcached with Prana HOT 5
- EVCache Touch method throw NoSuchMethodError exception HOT 5
- Does evcache plan to support the memcached namespace? HOT 2
- The performance of the cache operations become more and more slow after several days HOT 2
- Any particular reason compare-and-set is not supported?
- Two issues on the evcache HOT 1
- .travis.yml: The 'sudo' tag is now deprecated in Travis CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evcache.