GithubHelp home page GithubHelp logo

Benchmark Suite about phantom HOT 7 OPEN

flipkart-incubator avatar flipkart-incubator commented on June 17, 2024
Benchmark Suite

from phantom.

Comments (7)

pmohankumar avatar pmohankumar commented on June 17, 2024

I don't think we've benchmarks or suite yet for phantom. @regunathb please correct me if am wrong

from phantom.

regunathb avatar regunathb commented on June 17, 2024

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.

ChakshuGautam avatar ChakshuGautam commented on June 17, 2024

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.

ChakshuGautam avatar ChakshuGautam commented on June 17, 2024

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.

regunathb avatar regunathb commented on June 17, 2024

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.

ChakshuGautam avatar ChakshuGautam commented on June 17, 2024

@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.

regunathb avatar regunathb commented on June 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.