DARinElemental ElixirSupercharge Your Ecto Queries over Postgres JSONB with Flop: Filtering, Sorting, and PaginationElixir’s Ecto library is fantastic for interacting with your database. But when it comes to building dynamic user interfaces with features…3 min read·Mar 28, 2024----
DARinElemental ElixirUsing Plug in Elixir Phoenix to transfer custom request header or params value to HTTP HeadersElixir’s web framework Phoenix makes use of Plugs which are composable module layers through which the HTTP request passes through allowing…2 min read·Jan 23, 2024----
DARinDevOps.devMulti node KRaft based Kafka cluster with monitoring.As of Kafka 7.5 Zookeeper is deprecated as an option to start new kafka cluster and default strategy is to use the KRaft to have a…4 min read·Oct 30, 2023----
DARinDevOps.devBackup Grafana SQLite with Litestream using s6-overlay in a container app5 min read·Oct 7, 2023----
DARinDevOps.devLoad balancing Vector using HAProxy to collect logs and metrics for High availability in a…Vector on their website has 3 topologies to deploy vector. Distributed, Centralized and Stream based.4 min read·Sep 3, 2023----
DARinDevOps.devDistributed Prometheus metrics collection; using TLS to secure Prometheus remote write via VectorPrometheus is a great tool to collect metrics. Allowing to collect metrics published by applications or published by applications on behalf…6 min read·Jun 4, 2023----
DARRuby is dead; Long live Yet Another Ruby JITRuby is dead ? Just not yet, earlier this year Shopify released their Ruby 3.2 YJIT improvement as production ready. Ruby has been taking…3 min read·May 2, 2023----
DARMigrating to Phoenix Liveview StreamsPhoenix released 1.7.0 with Liveview 0.18.16 and introduced Streams for liveview. At first it was not clear to me how to replace my current…4 min read·Apr 19, 2023----
DARHow I found an S3 vulnerability in a $85 million funded startup and reported it ethicallyLast year I spent a complete year back home in Pakistan. With Intermittent lock-downs and COVID-19 clusters popping around majority of…4 min read·Sep 20, 2022----