[Tarantool-patches] [PATCH 1/2] box: make box.cfg idempotent function

Igor Munkin imun at tarantool.org
Thu Mar 19 13:26:39 MSK 2020


Kostja,

On 19.03.20, Konstantin Osipov wrote:
> * Igor Munkin <imun at tarantool.org> [20/03/19 12:17]:
> > > I mean, this is an obvious optimization, but it is only worth it
> > > if there is a measurable slowdown (which I suspect there is, at
> > > least a couple of %, but even a couple of % IMHO justify it).
> > 
> > I'm OK with your proposal (but I still don't see the box.cfg as a
> > performance bottleneck).
> > 
> > Sasha, any thoughts?
> 
> box.cfg{} is *not* the bottleneck.
> box.execute() is, it is having a call to ffi c function now.

I was misled, since you commented the patch with box.cfg related
changes. Now the performance issue is clear, thanks.

> 
> 
> -- 
> Konstantin Osipov, Moscow, Russia

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list