cloudflare-hiring / cloudflare-2020-systems-engineering-assignment

MIT License
36 stars 62 forks source link

For Go, are we allowed to use `net/http`? #4

Open pranavs99 opened 3 years ago

pranavs99 commented 3 years ago

The instructions are a little vague. For Go, are we allowed to use the net/http package? Or are we expected to make the HTTP request without it?

It seems to be the most basic way to make an HTTP request, but I'm not sure if this violates the guideline of not using libraries to "handle" HTTP requests.

cloudflare-hiring commented 3 years ago

You are expected to make the HTTP request without it.

Joaquin

On Mon, Oct 19, 2020 at 12:48 PM 'Pranav Singh' via cloudflare-assignment-application < cloudflare-assignment-application@cloudflare.com> wrote:

The instructions are a little vague. For Go, are we allowed to use the net/http package? Or are we expected to make the HTTP request without it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cloudflare-hiring/cloudflare-2020-systems-engineering-assignment/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARBVIAOGETX5YG3DQAS75ZTSLR3XRANCNFSM4SWO2WMQ .

-- You received this message because you are subscribed to the Google Groups "cloudflare-assignment-application" group. To unsubscribe from this group and stop receiving emails from it, send an email to cloudflare-assignment-application+unsubscribe@cloudflare.com. To view this discussion on the web visit https://groups.google.com/a/cloudflare.com/d/msgid/cloudflare-assignment-application/cloudflare-hiring/cloudflare-2020-systems-engineering-assignment/issues/4%40github.com https://groups.google.com/a/cloudflare.com/d/msgid/cloudflare-assignment-application/cloudflare-hiring/cloudflare-2020-systems-engineering-assignment/issues/4%40github.com?utm_medium=email&utm_source=footer . For more options, visit https://groups.google.com/a/cloudflare.com/d/optout.

-- Joaquin Madruga | Engineering Director joaquin@cloudflare.com

1 888 99 FLARE | www.cloudflare.com

LunaticProgrammer commented 3 years ago

@cloudflare-hiring We Could use "net" but not http? or we can't use both?

qinyudiao commented 3 years ago

@cloudflare-hiring Can we use std::net::TcpStream in Rust?

Talorzzz commented 3 years ago

So in our profile program, do we need to support http2, http3? And could we use the tls (golang) package for https traffic?

jihchi commented 3 years ago

@cloudflare-hiring Can we use std::net::TcpStream in Rust?

See https://github.com/cloudflare-hiring/cloudflare-2020-systems-engineering-assignment/issues/8#issuecomment-713549195

pranavs99 commented 3 years ago

You are expected to make the HTTP request without it. Joaquin

are we allowed to use the bare net package in Go? (echoing @LunaticProgrammer from earlier)

LunaticProgrammer commented 3 years ago

@cloudflare-hiring clarifications are must needed as we are approaching to the end of the 1st week which is suggested submission timing simple question can we use https://golang.org/pkg/net/ package? I believe it's same as 'net' package in RUST which you gave a green signal to

cloudflare-hiring commented 3 years ago

The net package is fine.

Thanks! Joaquin

On Wed, Oct 21, 2020 at 4:11 PM 'Varnit Sharma' via cloudflare-assignment-application < cloudflare-assignment-application@cloudflare.com> wrote:

@cloudflare-hiring https://github.com/cloudflare-hiring clarifications are must needed as we are approaching to the end of the 1st week which is suggested submission timing simple question can we use https://golang.org/pkg/net/ http://url package? I believe it's same as 'net' package in RUST which you gave a green signal to

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cloudflare-hiring/cloudflare-2020-systems-engineering-assignment/issues/4#issuecomment-713879810, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARBVIAJHR3FK62EODGO3GQLSL5E7VANCNFSM4SWO2WMQ .

-- You received this message because you are subscribed to the Google Groups "cloudflare-assignment-application" group. To unsubscribe from this group and stop receiving emails from it, send an email to cloudflare-assignment-application+unsubscribe@cloudflare.com. To view this discussion on the web visit https://groups.google.com/a/cloudflare.com/d/msgid/cloudflare-assignment-application/cloudflare-hiring/cloudflare-2020-systems-engineering-assignment/issues/4/713879810%40github.com https://groups.google.com/a/cloudflare.com/d/msgid/cloudflare-assignment-application/cloudflare-hiring/cloudflare-2020-systems-engineering-assignment/issues/4/713879810%40github.com?utm_medium=email&utm_source=footer . For more options, visit https://groups.google.com/a/cloudflare.com/d/optout.

-- Joaquin Madruga | Engineering Director joaquin@cloudflare.com

1 888 99 FLARE | www.cloudflare.com