Skip to content

Commit 9772767

Browse files
byrnedjmeta-codesync[bot]
authored andcommitted
Example CacheLib with Proxygen
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
1 parent 55a14cb commit 9772767

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/fbcode_builder/manifests/libiberty

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ name = libiberty
55
binutils-devel
66
binutils
77

8-
[debs]
8+
[debs.not(all(distro=ubuntu,distro_vers="24.04"))]
99
binutils-dev
1010

11+
[debs.all(distro=ubuntu,distro_vers="24.04")]
12+
binutils-x86-64-linux-gnu
13+
1114
[download]
1215
url = https://ftp.gnu.org/gnu/binutils/binutils-2.43.tar.xz
1316
sha256 = b53606f443ac8f01d1d5fc9c39497f2af322d99e14cea5c0b4b124d630379365

0 commit comments

Comments
 (0)