Page MenuHomePhabricator

[Ticket needs updating according to new decision] Golang service scaffolding : Fasthttp router changes
Open, Stalled, Needs TriagePublic

Description

Ticket needs updating and grooming

Goal
Change the current http router to fasthttp and make necessary changes in handler and other files

Motivation
The http router did not properly handle encoding: https://github.com/julienschmidt/httprouter/issues/208

Acceptance Criteria
The project should build properly after porting to fasthttp router.

Event Timeline

SGupta-WMF changed the task status from Open to In Progress.Jan 9 2023, 9:45 AM
JArguello-WMF changed the task status from In Progress to Stalled.Jan 31 2023, 2:32 PM

We decided to go with gorilla/mux instead of fasthttp, this ticket will be updated accordingly. Per @BPirkle 's suggestion, the team will do this work as closely to the work in the AQS 2.0 services as possible. Another option is to do this work when we start the Druid-based services (Edit Analytics and Editor Analytics). Push the changes up to the scaffolding/servicelib level, then use the updated scaffolding/servicelib to start those new services rather than starting with a copy of one of the Cassandara-based services. This might be a good way of dogfooding. Timeline to do this work: TBD.

JArguello-WMF renamed this task from Golang service scaffolding : Fasthttp router changes to [Ticket needs updating according to new decision] Golang service scaffolding : Fasthttp router changes.Apr 17 2023, 4:28 PM
JArguello-WMF updated the task description. (Show Details)
JArguello-WMF raised the priority of this task from High to Needs Triage.Apr 17 2023, 4:39 PM