Comments (6)
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.
I have updated the post, I hope I was able to clarify it.
from client.
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.
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.
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.
Take a look at this link: https://hackernoon.com/tarantool-stress-testing-1195f33254f9
from client.
Related Issues (20)
- Is syn checked[help wanted] HOT 3
- Use Php-client with queue? HOT 3
- possibility to bind params through LUA procedures? HOT 3
- get Space names HOT 4
- executeQuery generates an unknown Request type 11 fatal error HOT 2
- get primary key field names HOT 2
- fetch and return an associative array of datas HOT 2
- Tarantool-php client performances vs pdo/mysql HOT 6
- Unexpected response received: expected sync #974229717, got #429377306. HOT 2
- Multiple insertion of rows in a single transaction HOT 1
- How to connect on remote server HOT 1
- typofix in README.md HOT 1
- "Space 'X' does not exist" exception occurs under load HOT 1
- Return an associative array of data HOT 1
- Bug with select from space with uuid type field by SQL protocol HOT 4
- Require rybakit/msgpack dependency
- Some tests started to fail since Tarantool 2.11.0-entrypoint tag HOT 3
- Non informative trace log of Exceptions HOT 2
- memory leaks with SQL - prepared statements HOT 2
- CI fails due to missing library `libmpdec-dev` for Debian Bookworm
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 client.