Re: [go-nuts] Re: Why not tuples?

2022-12-07 Thread Diogo Baeder
Thanks Brian, that's actually similar to what I'm already doing. Cheers! On Wednesday, December 7, 2022 at 8:16:53 AM UTC-3 Brian Candler wrote: > On Tuesday, 6 December 2022 at 22:27:38 UTC dple...@google.com wrote: > >> It'd be great if, for example, you could tag an entire type like: >> >> ty

Re: [go-nuts] Re: Why not tuples?

2022-12-06 Thread Diogo Baeder
22 at 7:27:38 PM UTC-3 dple...@google.com wrote: > On Sat, Dec 3, 2022 at 11:34 PM burak serdar wrote: > >> >> >> On Sat, Dec 3, 2022 at 8:47 PM Diogo Baeder wrote: >> >>> Now, imagine this scenario: I have a web application which has to access >>&g

Re: [go-nuts] Re: Why not tuples?

2022-12-05 Thread Diogo Baeder
Hi folks, Thanks for all the inputs, I really appreciate the effort and help :-) Regardless of the whole discussion of whether or not tuples are a good or bad data structure, they exist out there in the wild, and we have to deal with them in many situations - of course, in our own code we can o

Re: [go-nuts] Re: Why not tuples?

2022-12-03 Thread Diogo Baeder
Hi there, sorry for weighting in so late in the game, but I just started again to learn Go and was thinking why the language still doesn't have a tuple type. Now, imagine this scenario: I have a web application which has to access a webservice that responds with JSON payloads; These payloads ar

Re: [go-nuts] Performance for concurrent requests

2022-12-03 Thread Diogo Baeder
n Saturday, December 3, 2022 at 9:21:10 AM UTC-3 Diogo Baeder wrote: > Hi all! > > Thanks for the inputs, I'll do some profiling here and update about my > findings. > > I don't want to change anything on Nginx because the comparison I'm doing > between diff

Re: [go-nuts] Performance for concurrent requests

2022-12-03 Thread Diogo Baeder
or more computation with decoded values? >> >> On Friday, December 2, 2022 at 7:31:50 PM UTC-8 bse...@computer.org >> wrote: >> >>> On Fri, Dec 2, 2022 at 8:13 PM Diogo Baeder wrote: >>> >>>> Hi guys, >>>> >>>> I've

[go-nuts] Performance for concurrent requests

2022-12-02 Thread Diogo Baeder
Hi guys, I've been working on some experiments with different web application stacks to check their performances under a specific scenario: one in which I have to make several concurrent requests and then gather the results together (in order) and throw them out as JSON in the response body. (T