Comments (7)
I don't think we've benchmarks or suite yet for phantom. @regunathb please correct me if am wrong
from phantom.
Yes, that's right. We don't have a benchmarking suite. All our benchmarking tests were run initially against an incumbent (internal source) sidecar we had at Flipkart called the W3Agent which worked over Unix Domain Sockets.
That said, all the protocol parsing stuff is stateless and memory allocation/gc-ing should happen within young gen. I expect Phantom to max out much after you saturate the network to the host.
from phantom.
Yes, that's right. We don't have a benchmarking suite. All our benchmarking tests were run initially against an incumbent (internal source) sidecar we had at Flipkart called the W3Agent which worked over Unix Domain Sockets. That said, all the protocol parsing stuff is stateless and memory allocation/gc-ing should happen within young gen. I expect Phantom to max out much after you saturate the network to the host.
This helps. Thanks @regunathb
from phantom.
Hey, @regunathb @pmohankumar don't you think the total number of active connections will exhaust the memory before the network throttles? How much young gen memory are we talking about in this case?
from phantom.
A typical deployment for a Phantom reverse proxy will be to support connections from a handful of clients and with each having tens of connections or to deploy Phantom as a side car on the same host as the client. In these cases, you will hardly see a couple of hundred active connections, which per se will not exhaust memory. What you do on these connections will saturate the network or cause Phantom to run out of memory (if you process large payloads). Btw, what is your use case/requirement on Phantom?
from phantom.
@regunathb We have a service that allows use to fetch data from third party services using an adapter pattern. I wanted to add Phantom in the middle to monitor (using the Hystrix dashboard) all calls to those third party services and notify them (as a Hystrix fallback) when they are slow or not following their SLAs. Do you think it would be a good fit for the same?
All third party providers onboard their service as a plugin, so we would need to dynamically onboard them to phantom as well.
from phantom.
Yes, Phantom should work. For API composition from upstream calls in a declarative manner, you may also want to look at : Poseidon, https://github.com/flipkart-incubator/Poseidon/tree/master/sample#poseidon-sample
from phantom.
Related Issues (19)
- Maven build is failing HOT 2
- Cluster dashboard shows false open circuit hosts HOT 1
- Maven dependency HOT 1
- Phantom 1.3.6 release depends on Trooper 1.3.2-SNAPSHOT HOT 4
- Async command execution does not log errors if the command fails.
- Feature request: Provide sample including packaging HOT 8
- Build error at master can't find the org.newsclub:junixsocket:jar
- Http Headers are not being forwarded in Http proxy HOT 1
- Proxy CONNECT Aborted HOT 3
- Phantom sample-http-proxy not running with error in bootstrap sequence HOT 3
- the JettyWebAppContextFactory replace the first and not the last occurrence HOT 4
- how to use phantom with thrift tframetransport HOT 1
- Build failing HOT 1
- Upgrading to netty 4 HOT 1
- how does phantom support cluster? HOT 2
- Tracing use cases HOT 1
- Link describing motivation for creating Phantom and design overview is down
- Test Issue. Do Not Delete.
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 phantom.