News for hackers. Stuff that matters.

krsoninikhil

Re:Small Kafka: Tansu and SQLite on a free t3.micro on Sunday January 25, 2026 @07:59AM (#46753735)
I love sqlite backed system, one less component to worry about. But when using Tansu with sqlite storage, what are my options for horizonal scaling and keeping Tansu HA?

Also, are there any benchmark on how Tansu with S3 storage would perform in comparison to Kafka or something like WarpStream?

This seems helpful. If you're writing new applications frequently, have something like this really helps.

I created a simple start kit set of packages for my projects, not as exhaustive as yours though -- https://github.com/krsoninikhil/go-rest-kit

Re: on Sunday September 15, 2024 @12:54AM (#41545312)
Spring Boot allows you write application configuration in `application.properties` file and pull any variables used from environment. This replicates the same in Go, except it uses a yaml format and you can leave the value empty which you expect to be present in env.

Show HN: FastAPI like controllers for Gin based Go apps

https://github.com/krsoninikhil/go-rest-kit

Motivation: I should be able to write following handler / controller similar to FastAPI by just defining SpecificRequest and SpecificResponse i.e. get request body type as argument and return response type along with error:func myHandler(ctx context.Context, request SpecificRequest) (*SpecificResponse, error) {}Exposing simple CRUD APIs is as simple as following- Ensure your model implements...

( Read More... | no comments | on HN )
Re:Ask HN: Could you share your personal blog here? on Wednesday July 05, 2023 @03:28AM (#36596874)
https://nikhilsoni.me/

Learnt most while writing:

- https://nikhilsoni.me/2023/02/25/getting-started-with-music-... - Intro to music theory

- https://nikhilsoni.me/2019/04/05/confusing-terms-in-containe... - Confusing terms while trying to understand container

- https://nikhilsoni.me/2023/06/06/providing-aws-msk-kafka-acc... - Problems faced while setting up public MSK

Re:Confusing Terms in Container Ecosystem on Friday April 12, 2019 @08:04AM (#19644013)
Thanks for feedback. I'll update it to make it more clear. When I was reading on these terms, a single line description did not help much. A simple dictionary would've been kind of similar. Any specific suggestion, you would like to make?
Re:Show HN: Rwtxt – a space for reading and writing text on Friday September 14, 2018 @11:37AM (#17988005)
This is great, I wanted to able to edit hastebin/pastebin without login and it solves this exact problem. Since the link is not that easily guessable, content integrity should not be a problem.