Comments (5)
I don't think so. As I understand it, all appengine/delay does is to create a task in the task queue to do the operation you delayed. Which means that instead of sending your put/get data to the datastore, you're sending it to the task queue (which then sends it to the datastore and masks/hides your errors).
Tasks Queues are good for longer running operations or operations that have to deal with an external API (which may not respond as quickly). The (correct) assumption that is made in the presentation is that sending an e-mail is a slower task than creating the task request to send the email.
from goon.
I was going to paste some stats showing that puts were ten times slower than a task add, then I realised the put stats in question were from 2009 ;)
from goon.
Hey, great site! I'm not sure I've seen that before.
So on a "simple" put, it looks like adding to the taskQueue would take ~12.5ms and a datastore put would be ~9ms. So I'm standing by my assertion ;)
from goon.
You are exactly right.
from goon.
Off-topic comment.
@mzimmerman That status site isn't as great as it may seem. It has a reputation for showing all green when a whole datacenter of GAE is down. The main issue seems to be that it generates its status reports from a single app on a single datacenter, which probably runs on a single machine, and thus is in no way representative of the aggregate performance of GAE. The site used to be the punchline to jokes during downtime in the early beta days, so take that data with a few grains of salt.
from goon.
Related Issues (20)
- Testing broken with Go SDK 1.9.3. HOT 6
- Expose Underlying Context in Goon type? HOT 4
- Consistency issue using aetest HOT 10
- Documentation appstats usage HOT 2
- Adding a Put to memory only call HOT 3
- Add support for google.golang.org/appengine packages HOT 18
- Can code depending on goon be unit tested without devserver? HOT 2
- Changes by PropertyLoadSaver.Load aren't cached. HOT 5
- Using context.Context in place of *http.Request HOT 5
- Use FromGoon in docs
- What's license? HOT 2
- TestEmbeddedStruct fails HOT 2
- GetMulti and Get don't ignore field mismatch in Tx HOT 2
- Failed to decode field config - extra data in buffer HOT 3
- Make compatible with cloud.google.com/go HOT 9
- Why the name `goon`? HOT 2
- Reusing entity cause slice values to be appended HOT 2
- Request: Add release tag for go modules HOT 3
- Surface a way to know the final cache key of entities. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goon.