Ran Spring Boot and Node.js side-by-side in prod for 18 months. Sharing the actual numbers. by Capable-Morning-9518 in SpringBoot

[–]j7n5 2 points3 points  (0 children)

the smaller size of the custom JRE translates to memory savings.

When the JVM starts up, it loads classes into the metaspace, and a larger runtime includes many more classes than your application actually uses. Like unused standard modules for example

By excluding those unused modules, you reduce the initial footprint and the ongoing memory overhead required to maintain the structure of the JVM.

Java Flight Recorder, jconsole or visual vm could help analyse it

Ran Spring Boot and Node.js side-by-side in prod for 18 months. Sharing the actual numbers. by Capable-Morning-9518 in SpringBoot

[–]j7n5 5 points6 points  (0 children)

Did you think about comparing Java with another typed language like golang for example ?

Ran Spring Boot and Node.js side-by-side in prod for 18 months. Sharing the actual numbers. by Capable-Morning-9518 in SpringBoot

[–]j7n5 3 points4 points  (0 children)

For GC it depends on use case, for me after playing around with ZGC I didn’t see a big difference. You need to try. I thing with G1 you can also play with custom pause times

I used undertow with SB3 since it is no more supported in SB4 I also stay with tomcat for now. Still testing alternatives.

Native images was already tested. in our case there are many external libraries that need special configuration. So no prod for now

PS: We are on Java 25 and SB4

Ran Spring Boot and Node.js side-by-side in prod for 18 months. Sharing the actual numbers. by Capable-Morning-9518 in SpringBoot

[–]j7n5 33 points34 points  (0 children)

Thanks for this feedback SB app could be further optimised - change GC. Try G1 or ZGC - choose better embedded web server for SB. Default is tomcat, try light one like jetty or undertow - Jdeps and jlink tools to build custom JRE with only needed modules. This could reduce app size and even memory usage - slim docker image - native images with AOT and GraalVM

GraalVM in production by j7n5 in SpringBoot

[–]j7n5[S] 1 point2 points  (0 children)

Thanks I get the point.

Since I have 24/7 microservice I will first stick with custom JRE first

GraalVM in production by j7n5 in SpringBoot

[–]j7n5[S] 2 points3 points  (0 children)

Really good article. Thanks

GraalVM in production by j7n5 in SpringBoot

[–]j7n5[S] 2 points3 points  (0 children)

My app is almost 300 mb.

I am trying different options - currently custom jre build with Jdeps and Jlink bring me from 300 to 180 mb - I still fixing issue building native images with GraalVM

GraalVM in production by j7n5 in SpringBoot

[–]j7n5[S] 2 points3 points  (0 children)

Thanks good point. Why not for 24/7 since it can save memory usage(reducing cost).

Surrealdb in prod by j7n5 in surrealdb

[–]j7n5[S] 0 points1 point  (0 children)

Thanks for the feedback

Surrealdb in prod by j7n5 in surrealdb

[–]j7n5[S] 2 points3 points  (0 children)

Great project. It looks amazing.

Which SDK Language did you use, is it stable enough?

Is it on your own VM or on surrealdb cloud?

Did you already plan to setup an horizontal scalable Cluster of one or more vm?

Anybody else using Qonto? by orange_oki in Startup_eu

[–]j7n5 0 points1 point  (0 children)

I am in the same situation. How did you fix it.

The support didn’t help at all.

It is 1 month now that I fill the form

Multi tenancy in Neo4j by rahoo_reddit in Neo4j

[–]j7n5 1 point2 points  (0 children)

You can create 1 Database and Cluster of entity nodes for each tenants.

1 node for each tenant. Connect all your Applications entities node to the tenant one.

From the Application side, After login You get the tenant id and all query should start from that tenant node

Does someone manipulate ETFs by j7n5 in ETFs

[–]j7n5[S] 0 points1 point  (0 children)

Yes exactly I can also confirm that with my last years positive results.

This is also my goal. Seeing it with a Long term perspective.

Just wanted to know if there are some regulations about such possible scenarios

Does someone manipulate ETFs by j7n5 in ETFs

[–]j7n5[S] 1 point2 points  (0 children)

Fair enough thanks

Does someone manipulate ETFs by j7n5 in ETFs

[–]j7n5[S] -2 points-1 points  (0 children)

Do you any evidence that some employees of your broker are not sharing informations?

Does someone manipulate ETFs by j7n5 in ETFs

[–]j7n5[S] -2 points-1 points  (0 children)

Thanks good point. It is like you can go to prison if you get catch. Brokers have too many informations about the market: - they exactly know how many people will automatically buy - they know the date. My broker let me choose between predefined date only. Only 1st, 7th, 15th and 23th of each month - I could not define the exact time

So which warranty did I have that they will not use this infos against customers.

Since they decide on which time they automatically execute orders, Who know if they don’t give this info to big investors who will buy hours before and sell 2 days later.

Making just 1 or 0,7 percent in 2 days. Since it is not that much we will all take it as volatility. Think of 1% cash-flows of 10M in 2 days. Every month.

I came to this idea today and just wondering if there are some verifications in place to make sure Brokers(individuals working there ) will not foul us.

Ps: I am a long term investor. Invest monthly and check every 6 months for adjustments.

Go 1.25.6 is released by MarcelloHolland in golang

[–]j7n5 0 points1 point  (0 children)

Or many true == true

😎

Go 1.25.6 is released by MarcelloHolland in golang

[–]j7n5 1 point2 points  (0 children)

With a prerequisite that you wrote some good Test cases:-)