Skip to content

Commit

Permalink
Merge pull request #8 from jean553/add_conclusion
Browse files Browse the repository at this point in the history
add tests conclusion
  • Loading branch information
jean553 authored Jun 2, 2017
2 parents e752950 + 20cd312 commit 9d20162
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ The tests have been performed with 100 simulated clients.
The clients are supposed to send requests every 5 milliseconds,
every request posts 100 messages (100 items to insert).

For every test, I report the amount of RPS (requests per second),
the service is able to handle. I also report the PostgreSQL CPU.

#### Individual inserts

Every item is inserted by an individual INSERT statement.
Expand Down Expand Up @@ -92,6 +95,10 @@ with self.db:
275 RPS
PostgreSQL CPU 30%

### Conclusion

For massive inserts, use the `psycopg2.copy_from()` method is optimized.

## Start the service

Start the container:
Expand Down

0 comments on commit 9d20162

Please sign in to comment.