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

Document "fast" insert #170

Open
ruslandoga opened this issue Jun 13, 2024 · 2 comments
Open

Document "fast" insert #170

ruslandoga opened this issue Jun 13, 2024 · 2 comments
Assignees

Comments

@ruslandoga
Copy link
Contributor

ruslandoga commented Jun 13, 2024

@ruslandoga ruslandoga self-assigned this Jun 13, 2024
@ruslandoga ruslandoga changed the title document "fast" insert Document "fast" insert Oct 15, 2024
@andyleclair
Copy link
Contributor

We use an ETS-based double buffer for our inserts to Kafka (not open source so I can't directly show you) but it is based on the buffer that OpenTelemetry uses for spans. Performance is really good. Maybe if I have some free time I could put together a PR for plausible implementing something like that?

https://github.com/open-telemetry/opentelemetry-erlang/blob/main/apps/opentelemetry/src/otel_batch_processor.erl

@ruslandoga
Copy link
Contributor Author

ruslandoga commented Nov 19, 2024

👋 @andyleclair

Oh, nice. I want to try it out!

We can document both!

Maybe if I have some free time I could put together a PR for plausible implementing something like that?

I think it might be easier to PR it as a guide here to avoid anything specific to Plausible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants