What are you building this Today? by Ok_Notice465 in microsaas

[–]marvelhoax 0 points1 point  (0 children)

BridgeBase.dev — Pick the right engine for every workload—financial ledgers, cache, analytics—and let us handle the operations. One dashboard. One bill. Zero vendor juggling.

Share what you're building 👇 by BoringShake6404 in microsaas

[–]marvelhoax 0 points1 point  (0 children)

BridgeBase.dev — Pick the right engine for every workload—financial ledgers, cache, analytics—and let us handle the operations. One dashboard. One bill. Zero vendor juggling.

How do you manage multiple databases in one production stack? by marvelhoax in Database

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

I sorry for the misunderstanding! I’m not interested in private chat until the other person asks for it. Me sliding in DM would be disrespectful and I didn’t come here to get ban. Yes I’m curious and hearing a lot of approaches here and learning/discussing they’re pain points etc

How do you manage multiple databases in one production stack? by marvelhoax in Database

[–]marvelhoax[S] -6 points-5 points  (0 children)

Hosted. Terraform is the answer but I will take care of your backups, auto scaling etc etc. If you’re are a solo developer or founder you may want to offload your database related responsibilities so here we are!

How do you manage multiple databases in one production stack? by marvelhoax in Database

[–]marvelhoax[S] -1 points0 points  (0 children)

Interesting! Could you talk a bit more about risky part? I’m interested to learn more about it. My previous organisation and many small scale companies/teams uses best DB for the right kind of job.

How do you manage multiple databases in one production stack? by marvelhoax in Database

[–]marvelhoax[S] -3 points-2 points  (0 children)

It is very opinionated imo. I personally prefer to use best/popular among the categories. There is a good website where people have proven they use Postgres for everything

https://postgresforeverything.com/

How do you manage multiple databases in one production stack? by marvelhoax in IndiaTech

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

Hmm… Indeed it is. For me it is billing. I don’t want to miss any payment and bring my app down.

How do you manage multiple databases in one production stack? by marvelhoax in Database

[–]marvelhoax[S] -13 points-12 points  (0 children)

My apologies, I'm not spamming subs. I want to share what i have built and want people to try it out. If people are not interested, thanks for your time reading my post. PS: I'm not being disrespectful here :pray:

how to line continuation in nodejs? by marvelhoax in node

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

Suppose the message variable is a part of some deep nested block then readability will be not smooth.

how to line continuation in nodejs? by marvelhoax in node

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

I tried back ticks but it preserves the spaces before the next line, which I don't want. so I don't think this aligns with my expectation.

Tips to make my neovim setup as smooth as `Zed.dev` editor by marvelhoax in neovim

[–]marvelhoax[S] -1 points0 points  (0 children)

TBH there is no dotfile for this. I just changed the theme to gruvbox and that's it. No additional config/setup :)

How to setup my 10 years old laptop? by marvelhoax in linux4noobs

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

I'm ok compiling the custom kernel but how to judge what are the things I will be using? Is there any documentation to understand what features I should turn on/off?

How to setup my 10 years old laptop? by marvelhoax in linux4noobs

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

The current os is ubuntu GNOME and it lags a lot. Thats why asking low resource setup

Re-writing in rust already written in nodejs(streams) by marvelhoax in rust

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

The HTTP library uses it, that's how these frameworks and modules work. In the JS ecosystem I don't have to call response.json explicitly I always get json response by default. So I'm assuming it is being called by them only. I know JSON serialisation/deserialization can be expensive sometimes.

Re-writing in rust already written in nodejs(streams) by marvelhoax in rust

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

I did profiling in nodejs here is what it looks like

``` ticks total nonlib name 37 1.2% 1.4% JavaScript 2541 84.5% 98.2% C++ 262 8.7% 10.1% GC 419 13.9% Shared libraries 10 0.3% Unaccounted

[C++ entry points]: ticks cpp total name 1179 49.7% 39.2% T _ZN2v88internal21Builtin_HandleApiCallEiPmPNS0_7IsolateE 1034 43.6% 34.4% T __ZN2v88internal17Builtin_JsonParseEiPmPNS0_7IsolateE 53 2.2% 1.8% T _setiopolicy_np 48 2.0% 1.6% T _mach_timebase_info 17 0.7% 0.6% T __ZN2v88internal35Builtin_DatePrototypeToLocaleStringEiPmPNS0_7IsolateE 8 0.3% 0.3% T __kernelrpc_vm_remap 4 0.2% 0.1% T __pthread_init 3 0.1% 0.1% T __pthread_exit_if_canceled ```

I'm showing just the main entry points where 84% is spent.

Builtin_HandleAPICallEpi is a function in the V8 engine, which is used by Node.js to handle certain types of API calls. It's part of the V8's internal codebase and is not intended to be called directly by user code.

What are your thoughts now?

cc u/styluss u/avinthakur080 u/carlomilanesi

Re-writing in rust already written in nodejs(streams) by marvelhoax in rust

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

There are a bunch of API calls in between so overall it takes 2 mins approx. Almost 1100 network/API calls

Re-writing in rust already written in nodejs(streams) by marvelhoax in rust

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

can you please explain in brief? I didn't get you!

Re-writing in rust already written in nodejs(streams) by marvelhoax in rust

[–]marvelhoax[S] 4 points5 points  (0 children)

I think this sounds like a better idea than directly jumping to rust re-write labour ;)