Node.js Express Cluster vs Spring Boot: Hello World performance “Node.js Express Cluster vs Spring Boot: Hello World performance. Spring Boot using virtual threads consumes twice as much time as the Express cluster….
Recommended reading – 2023-11-02
Evaluation Driven Development, the Swiss Army Knife for RAG Pipelines “Evaluation Driven Development (EDD) is the Swiss army knife for your RAG pipelines. LlamaIndex offers a comprehensive list of options in its…
Postfix config
Few links helpful to configure postfix on vps server: https://www.hostinger.com/tutorials/how-to-install-and-setup-mail-server-on-ubuntu/ – starting point https://www.dmarcanalyzer.com/spf/how-to-create-an-spf-txt-record/ – missing part to not land in SPAM https://bobcares.com/blog/postfix-encrypt-email/ – missing default encryption (security level) missing DKIM still…
Keycloak on M1 / Tutorials
On M1 the solution for Docker image is to build own one – here is description: https://github.com/docker/for-mac/issues/5310#issuecomment-877653653 Some tutorials:https://www.youtube.com/watch?v=RhvuS1NO76o (in Polish)
Spring Native + GrallVM + …
Yesterday I tried to test a bit Spring Native with GrallVM and JPA, after half a day of trying I had to give up, but it’s not the end of the story….
Amazon SES troubleshooting?
Even if we did everything as in Amazon docs, we may get this problem: An error occurred (SignatureDoesNotMatch) when calling the SendRawEmail operation: The request signature we calculated does not match the…
Jasypt problem
If you have problems with jasypt on M1 it could be that it’s not related to M1 arch itself but java version on it: https://stackoverflow.com/questions/63114412/java-jasypt-suddenly-crashes – first comment solves it without downgrading…
Microservices design
I feel pretty confortable with microservices, Docker, k8s and AWS, as the developer, but first time I have to design whole system, so I decided to improve my skills around above topics….
Amazon SQS resources
Spring Boot: https://cloud.spring.io/spring-cloud-static/spring-cloud-aws/2.0.0.RELEASE/multi/multi__messaging.htmlhttps://medium.com/@tiraarthur/amazon-sqs-with-spring-boot-example-c15f90938908 NodeJS: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/sqs-examples-send-receive-messages.html For NodeJS to send message to SQS permissions, Lambda must have AmazonSQSFullAccess or narrower policy. The code can look like:
Moved to WordPress
I had no time to update Elixir/Phoenix version for such tiny “project”, so I moved to WordPress, and give myself also some opportunities to configure this site (yeah it’s not only deployment…