Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: Remote vs. Local Velox function benchmark #11539

Closed

Conversation

emilysun201309
Copy link
Contributor

Summary: Benchmark Velox udfs with Remote function execution vs. local execution.

Differential Revision: D65694860

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 14, 2024
Copy link

netlify bot commented Nov 14, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 1a15cf8
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/6760bdb13d05cd0008cda2fb

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65694860

emilysun201309 added a commit to emilysun201309/velox that referenced this pull request Dec 11, 2024
Summary:

Benchmark Velox udfs with Remote function execution vs. local execution.

Differential Revision: D65694860
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65694860

emilysun201309 added a commit to emilysun201309/velox that referenced this pull request Dec 11, 2024
)

Summary:

Benchmark Velox udfs with Remote function execution vs. local execution.

Differential Revision: D65694860
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65694860

@emilysun201309 emilysun201309 changed the title Remote vs. Local Velox function benchmark misc: Remote vs. Local Velox function benchmark Dec 11, 2024
emilysun201309 added a commit to emilysun201309/velox that referenced this pull request Dec 12, 2024
)

Summary:

Benchmark Velox udfs with Remote function execution vs. local execution.

Differential Revision: D65694860
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65694860

Copy link
Contributor

@pedroerp pedroerp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add cmake build support?

emilysun201309 added a commit to emilysun201309/velox that referenced this pull request Dec 13, 2024
)

Summary:

Benchmark Velox udfs with Remote function execution vs. local execution.

Differential Revision: D65694860
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65694860

@emilysun201309 emilysun201309 marked this pull request as draft December 13, 2024 21:39
emilysun201309 added a commit to emilysun201309/velox that referenced this pull request Dec 13, 2024
)

Summary:

Benchmark Velox udfs with Remote function execution vs. local execution.

Differential Revision: D65694860
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65694860

emilysun201309 added a commit to emilysun201309/velox that referenced this pull request Dec 13, 2024
)

Summary:

Benchmark Velox udfs with Remote function execution vs. local execution.

Differential Revision: D65694860
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65694860

…bookincubator#11538)

Summary:

This diff is to extract the common logic related to starting RemoteFunctionService to a single place, so that we can later reuse it. 
- Create a Class RemoteFunctionServiceProvider and extract the logic related to starting a local thrift server for RemoteFunctionService there. 
- Create a Singleton remoteFunctionServiceProviderSingleton so that the server is only started once per process.
- Expose helper methods `getRemoteFunctionServiceParamsForLocalThrift()`
- Use this in RemoteFunctionTest.cpp

Differential Revision: D65927269
)

Summary:

Benchmark Velox udfs with Remote function execution vs. local execution.

Differential Revision: D65694860
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65694860

Copy link
Contributor

@pedroerp pedroerp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @emilysun201309

@emilysun201309 emilysun201309 marked this pull request as ready for review December 17, 2024 17:58
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 9b64b94.

@@ -15,3 +15,5 @@
add_subdirectory(if)
add_subdirectory(client)
add_subdirectory(server)
add_subdirectory(utils)
add_subdirectory(benchmarks)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmarks must be enclosed under the VELOX_ENABLE_BENCHMARKS CMake option.
CC: @amitkdutta
@czentgr is opening a fix.

czentgr added a commit to czentgr/velox that referenced this pull request Dec 18, 2024
The remote function benchmarks are built without checking if the benchmark
utilities are being built. These are only built if certain flags are set.

This causes upstream issues in Prestissimo because there remote functions
are being built but the benchmarks are not.

PR introducing the breaking change:
facebookincubator#11539
czentgr added a commit to czentgr/velox that referenced this pull request Dec 18, 2024
The remote function benchmarks are built without checking if the benchmark
utilities are being built. These are only built if certain flags are set.

This causes upstream issues in Prestissimo because there remote functions
are being built but the benchmarks are not.

PR introducing the breaking change:
facebookincubator#11539
czentgr added a commit to czentgr/velox that referenced this pull request Dec 18, 2024
The remote function benchmarks are built without checking if the benchmark
utilities are being built. These are only built if certain flags are set.

This causes upstream issues in Prestissimo because there remote functions
are being built but the benchmarks are not.

PR introducing the breaking change:
facebookincubator#11539
facebook-github-bot pushed a commit that referenced this pull request Dec 18, 2024
Summary:
The remote function benchmarks are built without checking if the benchmark utilities are being built. These are only built if certain flags are set.

This causes upstream issues in Prestissimo because there remote functions are being built but the benchmarks are not.

PR introducing the breaking change:
#11539

Pull Request resolved: #11905

Reviewed By: kagamiori

Differential Revision: D67403110

Pulled By: kgpai

fbshipit-source-id: 62955ddbc540d4397dce094816496c4d87d035a3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants