Giter Club home page Giter Club logo

Comments (7)

manugupt1 avatar manugupt1 commented on June 19, 2024 2

Please use canary tag which has more fixes and built from master's latest. I will see if I can do a release in coming weeks

from athens.

r-ashish avatar r-ashish commented on June 19, 2024 1

We do have tags for every commit but under a separate registry: https://hub.docker.com/r/gomods/athens-dev/tags. Feel free to use it if you wanna pin to a specific commit until the next stable version is released.

from athens.

santiagoPinzonD avatar santiagoPinzonD commented on June 19, 2024

Hello, @uhthomas wanted to know how did you solve this problem ?
I know that the fix is already in the code but not yet released.
this is my singleflight config, I have a lot of traffic and I have to restart constantly because it consumes the machine's memory.
image

from athens.

uhthomas avatar uhthomas commented on June 19, 2024

@santiagoPinzonD You will have to build Athens from source.

FROM golang:1.21.3-alpine AS build

RUN apk update && apk add git

RUN go install github.com/gomods/athens/cmd/proxy@main

FROM gomods/athens:v0.12.1

COPY --from=build /go/bin/proxy /bin/athens-proxy

from athens.

uhthomas avatar uhthomas commented on June 19, 2024

Thanks @manugupt1, wasn't aware of this image - though it is a shame that there aren't tags for each commit.

Current latest digest for canary: gomods/athens:canary@sha256:372c9cb22c767f86e8c15a4534b3dcdc837f6bc7a667647a0458814cc0cdc59e

from athens.

santiagoPinzonD avatar santiagoPinzonD commented on June 19, 2024

Done, thanks guys
yesterday I put in production the canary, let's see if it manages to solve the memory problem, I take this opportunity to ask you, we currently have two organizations in github, so we are running two athens container on the same server, this apparently has not been a problem, until we doubled the traffic an average of 20 million request, I opened another issue regarding this issue and commented that you can outsource the database.
is there any guide about this? and how can I improve the performance?

from athens.

uhthomas avatar uhthomas commented on June 19, 2024

What specifically are you asking, sorry? There is no database required for Athens. Just use an S3-compatible storage system and the existing etcd cluster. You shouldn't need a separate instance of Athens per GitHub organisation either.

from athens.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.