Better HN
topnewbestaskshowjobs
Log inSign up

danias

7 karma · joined Mar 4, 2014 (12y ago) · 13 submissions

Submissions

comment 1y ago · link · parent

You are already logged in. If you try to access your account settings, for example, you will be disappointed...

2.

Over-Engineered Todo App to Learn and Use DDD, Hexagonal Architecture, CQRS(blog.bitloops.com ↗)

3 points · by danias · 3y ago · discuss

comment 3y ago · link · parent

Great question! While GraphQL is pretty cool we really like protobufs because its a lot easier to generate nice client code. Using grpc-web allows us to use the proto file to generate types and code for the frontend making the experience much much better than GraphQL, in addition we have implemented a caching mechanism that avoids sending back unnecessary query results back to the client. Finally grpc-web uses HTTP2 and is much more performant than GraphQL. Having said that it is not too hard to add GraphQL support through a Nest.js plugin and we will probably add it in the future if there is enough interest.

comment 3y ago · link · parent

We would love to use Kafka because of its extensive support (e.g. Debezium) and by creating a new Nest.js plugin it would be pretty easy to switch as the message bus is just an implementation detail, nonetheless, we decided to start with NATS because of its much smaller size and RAM requirements making it much better to use for smaller projects (e.g. when firing up a Docker image or running in a small Kubernetes cluster). As an added bonus, NATS is also faster.

comment 3y ago · link · parent

Thanks for your feedback and looking forward to any questions you might have!

comment 3y ago · link · parent

Hi HN!

Our team at Bitloops has just published a Todo app that we think you'll find very interesting as a reference implementation. It's designed to showcase some advanced software architecture concepts like Hexagonal Architecture, DDD, BDD, CQRS, and Event Driven Architecture.

We've used a variety of open source technologies, such as TypeScript, NestJS, gRPC, Jaeger, Prometheus, NATS JetSteam, Grafana, Mongo, Postgres, and more to build a clean and modular codebase that's as close to production-ready as possible.

We know that learning these concepts and technologies can be challenging, which is why we wanted to share with you this comprehensive example we wish we had available when we started learning these concepts.

Check it out https://github.com/bitloops/ddd-hexagonal-cqrs-es-eda and we would love to hear your feedback. Let us know what you think and if you like it please star!

comment 3y ago · link · parent

Probably someone could create a device that has a microphone to get input and uses haptic feedback to help people "listen" to the sound through feel.

comment 3y ago · link · parent

A benefit of microservices is that you can use specialised languages for different parts of the system. The core of your system might be written in Java but you might one to use Python for an ML heavy module. Nonetheless, I tend to agree that in an organisation with 100 microservices probably the ideal way would be to have 4 or 5 based on exceptions where you have modules that need a specific hardware profile (e.g. a lot of RAM) or a different programming language than your core system. Everything else could go into modules in a megaservice.

9.

SpaceX launches 114 small satellites on first mission of 2023(spaceflightnow.com ↗)

8 points · by danias · 3y ago · discuss

comment 4y ago · link · parent

We are building a new language that is not for fun and we have thought of this important issue. We solve it with a Package Ports and Package Adapters. The Bitloops Language (BL) is a transpiled language with support for only TypeScript at the moment. Nonetheless, if it picks up we will be adding support for Java, C#, and C++ so that people can leverage their investments in their existing packages.

https://github.com/bitloops/bitloops-language

11.

Show HN: bitloops-gherkin Automatically generate tests from Google Sheets(npmjs.com ↗)

6 points · by danias · 4y ago · discuss