4 ms·
When you don't need transactions, don't have a cache invalidation problem, and are querying read-only data, then this architecture - or really any architecture
by barrkel 9y ago
When you don't need transactions, don't have a cache invalidation problem, and are querying read-only data, then this architecture - or really any architecture that takes advantage of what makes HTTP scalable, mostly idempotent, cacheable responses to GETs - makes sense.
- endorphone 9y agoI do think it is a bit disingenuous that the author compares this to a classic web application and its data needs, when the needs here are so trivial. It is very well designed for what it does (the security needs of such a checker almost dictates the design), but is a model usable by very few applications. As an aside, the article talks a bit about Brotli and it's worth noting that Brotli is nothing more than LZ77 with a dictionary pre-seeded with a 119KB static dictionary of commonly seen web text. It is of course going to be fantastic for compressing an HTML document, where much of the content is verbose and common, but would do nothing above gzip for the hash result data. I would be surprised if it yielded a single byte of savings in that case. Brotli is supported by most browsers as it was snuck into the WOFF 2.0 standard, so browsers that support the new web font standard automatically have to support Brotli. https://dennisforbes.ca/index.php/2016/01/28/eat-your-brotli-revisiting-why-you-should-use-nginx-in-your-solutions/ https://dennisforbes.ca/index.php/2016/01/28/eat-your-brotli...
- byefruit 9y agoNot to mention that the dataset is relatively small. A 16GB of ram server could basically serve responses sub-millisecond at line rate for like $25/month.
- Sevii 9y agoWhere are you getting 16GB ram for $25 a month? Would be pretty handy.
- byefruit 9y agohttps://www.hetzner.com/cloud https://www.hetzner.com/cloud has 16GB for $20 https://www.scaleway.com/pricing/ https://www.scaleway.com/pricing/ has 16GB just over $20
- jackweirdy 9y agoA Hetzner CX41 is 16GB RAM @ €15.90/mo (about 18 usd) https://www.hetzner.com/cloud https://www.hetzner.com/cloud
- moviuro 9y agoI currently have 2TB HDD, 16GB RAM, infinite bandwidth (100Mbps U/D) for 19.19€/month IIRC at Kimsufi [0] [0] https://www.kimsufi.com https://www.kimsufi.com
- eropple 9y agoAnd that pitches out the window fault tolerance or replicability unless nontrivial developer work is dumped into it. If the disk goes farming in your Kimsufi instance, you are looking at a bad day.