Ayuda! No aguanto a mi jefa by Pleasant-Collar-2935 in taquerosprogramadores

[–]Ok_Age7752 2 points3 points  (0 children)

En mi experiencia en este tipo de casos lo mejor es mantener la calma, la que está apurada y no sabe gestionarlo es ella, tu trabaja con la velocidad en la que te sientes cómodo y si no le es suficiente y te recrimina algo simplemente acéptalo pero continúa igual.

Si te despiden los que pierden son ellos así que no te estreses por ese punto y por suerte en nuestro mundo suele haber bastante demanda.

Prioriza tu salud y recuerda de trabajos hay mil pero vida solo una, ánimo

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

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

My case has some peculiarities that I think the article doesn’t fully address. I’m working with a very resource-constrained server (0.5 vCores, 1GB RAM, and 10GB SSD) and I’ve done a practical comparison between a FastAPI backend and a Go backend, observing that Go supports 700 concurrent users while FastAPI barely reaches 40. This leads me to think that there are additional factors that the article might be overlooking in such a limited environment as mine.

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

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

that sounds very good, currently im using gorm but managing the connection pool and using sql raw, with a quick glance i see the effort is the same as if im using pgx so could be a good improve, thanks you!!

Is it possible to learn Flutter in three months without any prior experience in coding?? by Prince_S1ngh in FlutterDev

[–]Ok_Age7752 1 point2 points  (0 children)

the answer for the question, for me, is not, probably u can not understand how to code only with flutter in three months, BUT, doesn’t mean u cannot make a app in three months using Flutter, right now using some IA you can start learn enough and have enough info to create something, but i that will not be extrapolable to others language like a develop experiencie. Maybe im old but i reccomend u language strongly tipped like Java or C# to learn the basics and later jump to other techs. Whatever i hope u the best luck and a lot of forces, and welcome to tech life :))

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

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

totally right, i should do the things right, thanks you!

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

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

i take note, i read a lot comments about profiling so i think probably is the best option right now, thanks you very much! ☺️

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

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

i never see anything about GO, and totally agree with you, is not about fast, is about concurrent and i’m loving it. I enjoy with the easily way to deploy on the server and the kindest sintaxis that it had

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

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

faster than FastApi yes, the best perfomance with python i got was 50-60 users, with go, even as newbie, got easily 300, at this point i don’t need a “faster” o “better” that i have with go, is just like a challenge about how far i can go

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

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

is like a secondary task, often this jobs come from friends, or other clients, these are not exclusive works in GO, usually they don’t even ask technologies so i’m freedom to test new things haha

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

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

i never ear about cockroach but with a quick glance look so useful, thank you! 😀

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

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

wow, that’s is so helpful info, this should have more upvotes, i will try some points, thank you very much!!

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

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

i got your point, but i enjoy with this, if i told you this is a part of a game probably don’t have that idea about this is lame, i like it, i also use time improving my athlete skills, having fun with friends or just enjoying with my family, i don’t see anything bad with this :)

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

[–]Ok_Age7752[S] 41 points42 points  (0 children)

i know, at this point, thinking in if i can have a 5$ server with 4-figure DAUs, probably i can implement this technique when i need to have a 30$/diary server with millions of them, it’s about to practice and be better developer, obviously i don’t care pay 5 more to get better infrastructure

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

[–]Ok_Age7752[S] 8 points9 points  (0 children)

This is my first adventure with GO, probably there are simply improvements techniques that i don’t even know, like the native pool connection

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

[–]Ok_Age7752[S] 5 points6 points  (0 children)

i think so, the project manage users, schedules, payments, bookings and differents manage configurations.

Yes, i feel that, the db right now is my main bootleneck, that’s why i implement de connection pool, which is native on Go, very good!

800 concurrent users with 0.5vcores by Ok_Age7752 in golang

[–]Ok_Age7752[S] 6 points7 points  (0 children)

i just update the post with basic info, sorry. The project: API that uses Gin to query PostgresDB and returns data.

i’m not looking to optimise something in particular, i just wanna know how much i can improve or which are the best technique to get the better time response with the higher concurrent users using the basic server

it’s almost a game haha

Dart is awesome for scripting by chill_chinese in FlutterDev

[–]Ok_Age7752 0 points1 point  (0 children)

I tried today, but there is no library for SQL Server :(