23rd & Crystal station

23rd & Crystal is a northbound-only bus rapid transit station in Arlington, Virginia, located near the intersection of 23rd Street South and Crystal Drive. The stop is on a mixed-traffic segment of the Metroway that is restricted to buses during certain hours. It provides northbound service to central Crystal City.

23rd & Crystal
Location23rd Street South and Crystal Drive
Crystal City, Virginia
Coordinates38.852822°N 77.049576°W / 38.852822; -77.049576
Owned byWMATA
Operated byMetrobus
Bus operatorsWMATA
Connections
History
OpenedAugust 24, 2014 (2014-08-24)
Services
Preceding station Metroway Following station
27th & Crystal
One-way operation
Potomac Yard 18th & Crystal
the station under construction in February 2016

History

23rd & Crystal opened to the public as one of the original Metroway stations; the station opened for service on August 24, 2014.[1] The sidewalk bus stop was upgraded on April 17, 2016.[2]

gollark: This is not ideal. How can we use more without boring things like cryptominers?
gollark: Okay, this might fix it, pushed.
gollark: If the issue is what I think it could be, then it's accidentally dropping? data on the threshold of the rolling counter region incorrectly.
gollark: ```nimproc pollTargets(ctx: Ctx) {.async.} = for row in ctx.db.all("SELECT * FROM sites"): var (id, url, rollingTotalPings, rollingSuccessfulPings, rollingLatency, rollingDataSince) = row.unpack((int64, string, int64, int64, int64, Option[Time])) let res = await ctx.pollTarget(url) let threshold = getTime() # drop old data from rolling counters if rollingDataSince.isSome: for row in ctx.db.iterate("SELECT status, latency FROM reqs WHERE timestamp >= ? AND timestamp <= ? AND site = ?", rollingDataSince.get, threshold, id): let (statusRaw, latency) = row.unpack((int, int)) rollingTotalPings -= 1 rollingLatency -= latency if statusRaw <= 0: rollingSuccessfulPings -= 1 # add new data rollingTotalPings += 1 rollingLatency += res.latency if int(res.rtype) <= 0: rollingSuccessfulPings += 1 ctx.db.transaction: ctx.db.exec("UPDATE sites SET rc_total = ?, rc_success = ?, rc_latency = ?, rc_data_since = ? WHERE sid = ?", rollingTotalPings, rollingSuccessfulPings, rollingLatency, threshold, id) ctx.db.exec("INSERT INTO reqs (site, timestamp, status, latency) VALUES (?, ?, ?, ?)", id, getTime(), int(res.rtype), res.latency)```This is the core algorithm.
gollark: Actually, æææææ who even knows.

References

  1. "Crystal City Potomac Yard Transitway". Crystal City/Pentagon City. Arlington County. Retrieved 25 December 2014.
  2. "Arlington's Crystal City Potomac Yard Transitway". Crystal City Potomac Yard Transitway. Arlington County. Retrieved 9 April 2016.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.