Code Monkey home page Code Monkey logo

proxy_postgres_x's Introduction

Info: 
	Proxy-server listens client on TCP-port 8888.
Make:
	bash make

Usage: 
	sudo ./proxy_postgres_x [Debug flag] [SERVER_PORT]
		Parameters are optional.
		Debug flag = 0 (Off, by default) or 1 (On),
		SERVER_PORT - default 5432

SQL Queries will be logged in file queries.txt.

Folder test_run:
	Example scripts for parallel workload testing using sysbench.

Example of sysbench parallel test on 30 clients.

SQL statistics:
    queries performed:
        read:                            104048
        write:                           29649
        other:                           14894
        total:                           148591
    transactions:                        7411   (24.64 per sec.)
    queries:                             148591 (494.07 per sec.)
    ignored errors:                      21     (0.07 per sec.)
    reconnects:                          0      (0.00 per sec.)

General statistics:
    total time:                          300.7452s
    total number of events:              7411

Latency (ms):
         min:                                  765.81
         avg:                                 1216.12
         max:                                 4400.42
         95th percentile:                     1506.29
         sum:                              9012683.15

Threads fairness:
    events (avg/stddev):           247.0333/10.61
    execution time (avg/stddev):   300.4228/0.28

proxy_postgres_x's People

Contributors

krviolent avatar

Watchers

 avatar

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.