Skip to content

Conversation

@byrnedj
Copy link
Contributor

@byrnedj byrnedj commented Sep 30, 2025

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

./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

@meta-cla meta-cla 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 Sep 30, 2025
@meta-codesync
Copy link

meta-codesync bot commented Oct 8, 2025

@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 meta-codesync bot closed this in 72f27b5 Oct 11, 2025
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
@meta-codesync
Copy link

meta-codesync bot commented Oct 11, 2025

@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants