Navigation überspringen
Web Analytics in the browser with DuckDB WASM: Filtering in milliseconds, instead of waiting for API…
0:00 / 0:35

Web Analytics in the browser with DuckDB WASM: Filtering in milliseconds, instead of waiting for API…

Tobias Müller

@TobiM1526 Follower

Auf X besuchen

56.910 Aufrufe

Web Analytics in the browser with DuckDB WASM: Filtering in milliseconds, instead of waiting for API responses

11 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Tobias Müller

    @TobiM

    This demo attaches a remote DuckDB database from S3 with credentials via Cognito.

    19 Likes

  • Profilbild von Tobias Müller

    @TobiM

    The project will be open sourced soon. In the meantime, you can explore the power of DuckDB in a browser with @usesqlworkbench as well:

    47 Likes

  • Profilbild von Alvar Lagerlöf

    @alvarlagerlof

    @duckdb Does it hold up with 10 million events?

    3 Likes

  • Profilbild von Matt Holden

    @holdenmatt

    @duckdb Wow, looking nice! Is this still using duckdb-wasm-kit?

    3 Likes

  • Profilbild von Tobias Müller

    @TobiM

    @duckdb Yes, it does! Thanks for all the your work you put in it!

    2 Likes

  • Profilbild von Alexander Hupfer

    @alexanderhupfer

    @duckdb That’s what @fusionmetrics implemented a year ago. Works pretty well in production but we need to take care of not hitting the browser memory limit (about 2GB or so)

    2 Likes

  • Profilbild von TArch

    @TArch64

    @duckdb So you are saying that dowloading a whole database is better than api call? Yeah, if you dont have users you have to issues

    2 Likes

  • Profilbild von Tobias Müller

    @TobiM

    @duckdb Have you tried other tools in this space? Each API calls run database queries in the backend. I tried a lot of them, and you see latencies of hundreds of ms to even seconds. If you filter/drill-down a lot, it will definitely be better to download a few MBs once, and query locally

  • Profilbild von ryan boyd

    @ryguyrg

    @duckdb love it!

    1 Like

  • Profilbild von 🇯🇲 Marquin 🇵🇸

    @quincysmiith

    @duckdb Looks like Umami analytics

    1 Like

  • Profilbild von Tobias Müller

    @TobiM

    @duckdb I think most of the tools look pretty similar because they all show the more or less same stats, but Umami is among the ones I like the most...