---
title: ratecounter.{NAME}.bucket.40s
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/rate-limiting/ratecounter-bucket-40s
---

**Type:** INTEGER  
**Access:** read-only

**Available in:** all subroutines

Estimated total value of increments to the most recently incremented entry in the named [`ratecounter`](https://www.fastly.com/documentation/reference/vcl/declarations/ratecounter/) within the [POP](https://www.fastly.com/documentation/guides/concepts/pop/) in the current 40-second window. This variable is computed asynchronously and may take up to a few seconds to reflect new increments across the POP.

Ratecounters can be incremented using the `ratelimit.check_rate`, `ratelimit.check_rates`, and `ratelimit.ratecounter_increment` functions.

For more information, see our [guide to rate limiting](https://www.fastly.com/documentation/guides/concepts/rate-limiting/).
