#4 ✓resolved
Georg Ledermann

Optimization for updating "last_request_at"

Reported by Georg Ledermann | November 10th, 2008 @ 09:26 AM

Currently, the field "last_request_at" is updated on every single request. What do you think about some kind of optimization by adding a latency time?

Example: Update the "last_request_at" only if the last update is more than 2 minutes ago. The 2 minutes should be a config option.

This would prevent lots of updates to the database if a user produces a lot of requests in a short time.

Of course, with this feature the value "last_request_at" gets a little bit vague, but I don't think this matters. People who don't like this may set the config option to 0.minutes, which would be the current behaviour (means updating the timestamp on every single request).

Comments and changes to this ticket

  • jacknoname

    jacknoname March 26th, 2021 @ 01:46 AM

    เกมส์สล็อตที่กำลังเป็นที่นิยมที่สุดในขณะนี้เพราะการเล่นสล็อตนั้นเล่นง่ายและมีตัวเกมส์สล็อตให้เลือกเล่นมากมายหลายรูปแบบตามความชอบของผู้เล่น เราเป็นผู้ให้บริการที่สามารถตอบสนองความต้องการของผู้เล่นได้อย่างดีเยี่ยมการันตีเล่นได้จ่ายจริงไม่โกงผู้เล่นด้วยระบบทำรายการฝาก - ถอนอัตโนมัติตลอด 24 ชม. พร้อมระบบชวนเพื่อนที่จะได้รับเครดิตฟรีโดยไม่ต้องฝากและสามารถถอนได้จริงสนใจคลิ๊ก.. https://xosuperslot.com
    https://xopgth.com/
    https://xojoker.com/
    https://xoautobet.com/
    https://xogclubth.com/

  • hookerdown147

    hookerdown147 November 9th, 2021 @ 01:03 AM

    Prepaid debit cards are becoming more popular with credit companies and traditional banking. With PrepaidGiftBalance, users can shop anywhere in the USA to accept the Visa, MasterCard, American Express, or Discover logo, which is rated one of the best prepaid direct debit choices https://prepaidgift-balance.online/prepaidgiftbalance-features/

  • sweetdating01

    sweetdating01 February 25th, 2022 @ 02:39 AM

    Because many adults date with this objective, you'll likely discover that maximum adults need an amazing courting. Whether you want that as properly Dirty Chat Rooms is glaringly as much as you, however you want to remember that the majority are looking to this point entirely and each need that for yourself or understand if the man or woman you’re seeing wants to find out a person else who's willing to be special with them and assist them glide toward their endgame.

  • wichit44214

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket

Pages