Coder Social home page Coder Social logo

server is slow af. about lgtmin HOT 2 CLOSED

MaerF0x0 avatar MaerF0x0 commented on July 19, 2024
server is slow af.

from lgtmin.

Comments (2)

rahulsom avatar rahulsom commented on July 19, 2024

Most URL types seem to be responding reasonably. Its the user scoped requests for random image that are taking too long.

If there are other URL patterns that you think are unusually slow, please add them to this issue. I'll poke around to see what's slowing them down.

$ httpstat http://lgtm.in/i/CfqdWAW9q -H "Accept: application/json"
Connected to 216.239.38.21:80 from 192.168.0.101:60615

HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: JSESSIONID=VSPsES1uqI9r1EpNaR7UHQ;Path=/
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET
Access-Control-Allow-Credentials: true
X-Cloud-Trace-Context: 3da145f85c2b054c288442e33a618683;o=1
Date: Fri, 18 Aug 2017 05:42:44 GMT
Server: Google Frontend
Content-Length: 690
Cache-Control: private

Body stored in: /var/folders/36/x8ynjcxx4533f_v44b6dxzmm0000gn/T/tmpVisjQ2

  DNS Lookup   TCP Connection   Server Processing   Content Transfer
[     8ms    |      47ms      |       198ms       |        1ms       ]
             |                |                   |                  |
    namelookup:8ms            |                   |                  |
                        connect:55ms              |                  |
                                      starttransfer:253ms            |
                                                                 total:254ms


$ httpstat http://lgtm.in/g -H "Accept: application/json"
Connected to 216.239.38.21:80 from 192.168.0.101:60617

HTTP/1.1 302 Found
Content-Type: text/html; charset=utf-8
Location: http://lgtm.in/i/cYtYqlh3q
X-Cloud-Trace-Context: 40512bce676ab1311a893c1a1f10c81e
Date: Fri, 18 Aug 2017 05:42:47 GMT
Server: Google Frontend
Content-Length: 0

Body stored in: /var/folders/36/x8ynjcxx4533f_v44b6dxzmm0000gn/T/tmpKXLfLR

  DNS Lookup   TCP Connection   Server Processing   Content Transfer
[     5ms    |      46ms      |       336ms       |        1ms       ]
             |                |                   |                  |
    namelookup:5ms            |                   |                  |
                        connect:51ms              |                  |
                                      starttransfer:387ms            |
                                                                 total:388ms


$ httpstat http://lgtm.in/g/rahulsom -H "Accept: application/json"
Connected to 216.239.38.21:80 from 192.168.0.101:60618

HTTP/1.1 302 Found
Content-Type: text/html; charset=utf-8
Location: http://lgtm.in/i/wYcwHPnws
X-Cloud-Trace-Context: bb65abe5e8d298ea7c05006507ad25fa
Date: Fri, 18 Aug 2017 05:42:58 GMT
Server: Google Frontend
Content-Length: 0

Body stored in: /var/folders/36/x8ynjcxx4533f_v44b6dxzmm0000gn/T/tmpJZMTK1

  DNS Lookup   TCP Connection   Server Processing   Content Transfer
[     4ms    |      45ms      |      7642ms       |        1ms       ]
             |                |                   |                  |
    namelookup:4ms            |                   |                  |
                        connect:49ms              |                  |
                                      starttransfer:7691ms           |
                                                                 total:7692ms

from lgtmin.

rahulsom avatar rahulsom commented on July 19, 2024

The user scoped random requests have been sped up by this commit - 5b9c6c7

Please let me know if this has improved performance for you.

$ httpstat http://lgtm.in/g/rahulsom -H "Accept: application/json"
Connected to 216.239.38.21:80 from 192.168.0.101:62176

HTTP/1.1 302 Found
Content-Type: text/html; charset=utf-8
Location: http://lgtm.in/i/UqJiuVcfq
X-Cloud-Trace-Context: 16ad0c4edf0e8c7575ee025211a99592;o=1
Date: Fri, 18 Aug 2017 07:12:03 GMT
Server: Google Frontend
Content-Length: 0

Body stored in: /var/folders/36/x8ynjcxx4533f_v44b6dxzmm0000gn/T/tmpvqBCBJ

  DNS Lookup   TCP Connection   Server Processing   Content Transfer
[     4ms    |      47ms      |       313ms       |        0ms       ]
             |                |                   |                  |
    namelookup:4ms            |                   |                  |
                        connect:51ms              |                  |
                                      starttransfer:364ms            |
                                                                 total:364ms

from lgtmin.

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.