GithubHelp home page GithubHelp logo

superskyyy / arrow-ipc-bench Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wjones127/arrow-ipc-bench

0.0 0.0 0.0 140 KB

Testing various methods of moving Arrow data between processes

License: MIT License

Python 100.00%

arrow-ipc-bench's Introduction

Sharing Arrow data between processes

These are some tests to compare different methods of sharing an Arrow table between different processes.

# A tibble: 4 × 5
  name                avg_time_sec min_time_sec avg_gbps max_gbps
  <chr>                      <dbl>        <dbl>    <dbl>    <dbl>
1 flight_tcp_export          0.394       0.300     4.31     4.97 
2 flight_unix_export         2.69        2.56      0.556    0.582
3 plasma_export              0.120       0.0827   14.5     18.0  
4 sharedmemory_export        0.254       0.127     8.74    11.7  

# A tibble: 4 × 3
  name                avg_time_sec min_time_sec
  <chr>                      <dbl>        <dbl>
1 flight_tcp_import          0.427       0.383 
2 flight_unix_import         2.54        2.42  
3 plasma_import              0.432       0.0447
4 sharedmemory_import        0.212       0.193 

How to run

First start the plasma server

plasma_store -m 1000000000 -s /tmp/plasma

Then, start the flight servers

python flight_server.py
python flight_server.py --use-tcp

Then run the share benchmarks:

python share_arrow.py

Finally, run the retrieve benchmarks:

arrow-ipc-bench's People

Contributors

wjones127 avatar westonpace 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.