Questions tagged [batching]

193 questions
3
votes
2 answers

Batching in ADO.NET without DataAdapters

Is it possible to implement batching of multiple stored procedure calls (doing updates/deletes) in ADO.NET without resorting to DataAdapters?
dbDude
3
votes
0 answers

Tensorflow Serving: Batching requests gets higher latency

I am experimenting with deploying TF Serving on GKE and trying to make a highly available online prediction system. I was trying to optimize latency by batching multiple requests together. However, the latency seems to suffer rather than improve.…
Robert Lacok
  • 4,176
  • 2
  • 26
  • 38
3
votes
1 answer

Batching Operations in Boltdb

Currently using db.Update() to update the key-value in boltdb. err := db.Update(func(tx *bolt.Tx) error { b, err := tx.CreateBucket([]byte("widgets")) if err != nil { return err } if err := b.Put([]byte("foo"),…
Raunak Dugar
  • 247
  • 3
  • 14
3
votes
3 answers

Google Calendar API v3 batch update in python

I'm having trouble using the new Google Calendar API v3 python library. The documentation seems a bit sparse. I can authenticate and get events on a specific calendar. However, I would like to perform batch update as was possible with the gdata…
3
votes
1 answer

Z-order with Alpha blending in a 3D world

I'm working on a game in a 3D world with 2D sprites only (like Don't Starve game). (OpenGL ES2 with C++) Currently, I'm ordering elements back to front before drawing them without batch (so 1 element = 1 drawcall). I would like to implement batching…
user41765
  • 41
  • 1
3
votes
1 answer

LibGDX Sprite Batching and adding in new sprites at runtime

I am a new programmer working with the libgdx engine and was wondering about the act of sprite batching. specifically how to add sprites to the batch for drawing during a programs lifecycle. so far all examples of sprites have used some code similar…
TypingTurtle
  • 103
  • 1
  • 8
3
votes
5 answers

How do I prevent RemoteObject from batching AMF messages together?

I am using Google AppEngine, in conjunction with PyAMF to provide RemoteObject support. In my Flex code I make several RemoteObject method calls at once which tends to batch the AMF Messages into a single HTTP request. Most of the time this is fine…
njoyce
  • 628
  • 4
  • 8
3
votes
1 answer

MSBuild batching iterator different within same iteration

I just started using batching in one of my MSBuild scripts in order to deploy a project one time for each customer in a list. Everything seemed to to go according to the plan, but then I discovered a strange issue: At the end of each iteration the…
Knut Marius
  • 1,588
  • 18
  • 40
2
votes
1 answer

Firebird and support for batched queries

Just wondering if any Firebird users can confirm that batched queries is not a supported feature in the current release (2.5) and if anyone knows if this is in the pipeline for a future version? We use NHibernate as an ORM in our C# application and…
paligap
  • 942
  • 1
  • 12
  • 28
2
votes
2 answers

MSBuild: Items + Batching + CreateItem + Transforms Question

I have this bit of an msbuild project that is making me wonder why it the outcome is the way it is. Not that it is causing an issue or anything of the sort, but I would like to try and better my understanding of it.
KeithCS
2
votes
1 answer

How to prevent batching with React-Redux

I am trying to explain the React-Redux batch() function on my website. In order to do so, I need a counterexample without using batch() so that the reader can see the difference. However, as you can see here on CodeSandbox, I couldn't get the…
Chong Lip Phang
  • 8,755
  • 5
  • 65
  • 100
2
votes
0 answers

SpriteKit draw calls not batched when using a texture atlas from data stored in the app bundle

It seems that SpriteKit doesn't batch the draw calls for textures in the same texture atlas. There are two different behaviors, based on how the SKTextureAtlas gets initialized: The draw calls are not batched when the texture atlas is initialized…
Calin
  • 2,110
  • 1
  • 21
  • 36
2
votes
0 answers

How should I watch and consider "batches" and "saved by batching" in Unity?

I am developing an android game and I have some lag under the "rendering" section of the profiler even if I have just a few objects (2k triangles) and simple shaders. I was looking at the batches section of the Unity Stats and I saw that once I…
Leoverload
  • 1,194
  • 3
  • 8
  • 21
2
votes
1 answer

How to call `catch` closure for every failed job in job batches Laravel 8

Laravel 8 introduced Job Batching, which allows to execute jobs in batches and perform actions on batch completion and failure. When a job within batch fails, the catch callback is executed and the whole batch is marked as "canceled" according to…
Yerke
  • 2,187
  • 3
  • 19
  • 33
2
votes
1 answer

irregular/varying batch size in tensorflow?

I have a tensorflow dataset and would like to batch it such that batches do not have the same size - something like examples being grouped in batches whose sizes are defined by a vector of values rather than a fixed value. Is there a way to do it…
roberta
  • 131
  • 1
  • 12
1 2
3
12 13