Comments (7)
The default build includes debug symbols and is statically linked. If you strip symbols that's what takes you down to 8MB or so. If you want to go down further than that you should dynamically link against system libraries.
FWIW, we haven't really focused very much on the build/package/install side of things. I'm hoping the community can help out there. Different deployments are going to need different kinds of compiles.
from envoy.
cc @enricoschiattarella @louiscryan I think you are already probably thinking about ^^^ not sure if you have any thoughts.
from envoy.
Hi Matt,
thank you for your feedback !
Agree, different deployment scenarios has different requirements. I also like the static linking approach, to keep things consistent and independent.
At least for my usecase the "strip" approach fine, but evtl. a kind of "included" solution will be better.
Cheers,
jj
from envoy.
I think statically linked is important as if you wanted to run in a Docker container you could in theory create a minimal image using from scratch
. I haven't tested this yet.
from envoy.
yes, this is exactly what I;m doing and therefore the dynamic approach will not work. Also such a critical component should be self-contained.
from envoy.
At the very least we can put in a cmake option to strip debug symbols. That is easy to do.
from envoy.
fixed
from envoy.
Related Issues (20)
- OpenTelemetry metrics sink and access logger - Ability to configure OpenTelemetry Resource via Resource Detectors HOT 2
- Support typed dynamic filter metadata in access loggers HOT 1
- 503 UC does not get reported as a span. HOT 2
- Newer release available `io_bazel_rules_go`: v0.47.1 (current: v0.46.0)
- JWT authn: Logging for cache refresh for JWKS HOT 1
- Issues accessing the SNI (server name) from the TLS inspector within External Authorization CheckRequest HOT 5
- Support for sending response body, headers, and status code to client on Extauthz filter CheckStatus::Error HOT 1
- Basic Auth Filter should include `WWW-Authenticate` header in its 401 response HOT 2
- per cluster HTTP filter config HOT 5
- ratelimit HOT 2
- Loadbalancing not working as expected in cross cluster scenario HOT 2
- Stream Idle Timer Fires Even When Stream Was Active HOT 4
- Newer release available `aspect_bazel_lib`: v2.7.3 (current: v2.7.1)
- Newer release available `opentelemetry_proto`: v1.3.1 (current: v1.3.0)
- CredentialInjectorIntegrationTest.InjectCredential flake HOT 3
- `RateLimitQuotaIntegrationTest.TwoRequestWithTokenBucketThrottling` is flakey (TIMEOUT) HOT 2
- `ExtProcIntegrationTest.GetAndSetTrailersIncorrectlyOnResponse` is flakey HOT 2
- Is it possible to select endpoint by metadata whose namespace is not `envoy.lb` HOT 2
- ASAN heap-use-after-free error in Envoy::Tcp::ConnPoolImpl::onPoolReady HOT 3
- Envoy doesn't set span name, aka operation name, when using the OpenTelemetry tracing provider HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from envoy.