-
Notifications
You must be signed in to change notification settings - Fork 309
Example CacheLib with Proxygen #416
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
Closed
Closed
+863
−2
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
@juwinviray has imported this pull request. If you are a Meta employee, you can view this in D84167914. |
meta-codesync bot
pushed a commit
to facebook/fboss
that referenced
this pull request
Oct 10, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebookincubator/fizz
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebook/openr
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebookexperimental/rust-shed
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebookincubator/hsthrift
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebookexperimental/edencommon
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
|
@juwinviray merged this pull request in 72f27b5. |
meta-codesync bot
pushed a commit
to facebook/wangle
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebook/mvfst
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebook/watchman
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebookexperimental/moxygen
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebookincubator/cinderx
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebook/folly
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebook/fbthrift
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebook/proxygen
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebook/sapling
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebook/fb303
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebook/hhvm
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
meta-codesync bot
pushed a commit
to facebookincubator/katran
that referenced
this pull request
Oct 11, 2025
Summary: For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request. ## Quick Setup (assumes dependencies live at CacheLib/opt) ### Build and run ``` getdeps.py install-system-deps cachelib getdeps.py build --allow-system-packages cachelib getdeps.py build --allow-system-packages proxygen ./build.sh ./build/proxygen_cache ``` ### PUT a value `curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -i` ### GET it back `curl http://localhost:8111/cache/greeting -i` ### DELETE it `curl -X DELETE http://localhost:8111/cache/greeting -i` X-link: facebook/CacheLib#416 Reviewed By: SamirFarhat17 Differential Revision: D84167914 Pulled By: juwinviray fbshipit-source-id: 068a7d0d1d3dcb1ca7446a736c79f59a5c0e7fa0
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.
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For some benchmarking we like to have the network stack included - here is a simple example of adding CacheLib on top of proxygen for receiving data via HTTP request.
Quick Setup (assumes dependencies live at CacheLib/opt)
Build and run
PUT a value
curl -X PUT --data-binary 'hello world' http://localhost:8111/cache/greeting -iGET it back
curl http://localhost:8111/cache/greeting -iDELETE it
curl -X DELETE http://localhost:8111/cache/greeting -i