Giter VIP home page Giter VIP logo

Comments (6)

rybakit avatar rybakit commented on August 30, 2024

Could you elaborate on how you got to this conclusion? I need more info, like in what environment you run the client, what operations it performs, what results do you get and what results would you consider as "not slow"?

from client.

jobs-git avatar jobs-git commented on August 30, 2024

I have updated the post, I hope I was able to clarify it.

from client.

rybakit avatar rybakit commented on August 30, 2024

Looks like you are using the official php connector to which this repository has nothing to do. So better to file an issue there.

For the record, recently I was playing with swoole and ext-async and was able to achieve ~52k rps (i only tested inserts) without any modifications of this client. Here is my benchmark script: https://gist.github.com/rybakit/f03c2515a203518126c5479954c5fefb.

from client.

jobs-git avatar jobs-git commented on August 30, 2024

That is an interesting result! At least the performance is close to c/c++. I am closing this now and filing the issue to the connector

from client.

jobs-git avatar jobs-git commented on August 30, 2024

Question though, the benchmark you did was testing the rps of the database.

In actual web applications, one database request is traced to one http request. The issue with this is the http request waits for the reply from the tarantool database and it will take longer since tarantool batches the requests, thus I get only 900 req/s for http requests from clients.

Do you have a php code that overcomes this to get at most 52k rps http?

from client.

rybakit avatar rybakit commented on August 30, 2024

Take a look at this link: https://hackernoon.com/tarantool-stress-testing-1195f33254f9

from client.

Related Issues (20)

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.